Skip to main content

Qdrant Backfill Memory Contract

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEqdrant.qdrant-backfill-memory-contract
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: qdrant-2026.07.12.2
  • Descriptor hash: 53e3cface1ae2a07f3fdd9c547d355ed7795a67a07259e4086aaf445de96641e

Use this when you need to preview or fill missing memory-contract and governance fields. It creates or extends Qdrant or MCP-managed state without deleting existing provider data by default. It contacts the configured Qdrant service or uses MCP-owned job/upload state. Returns normalized provider data in data plus safe request and trace metadata in meta. Requires an authenticated MAD MCP Portal request and any provider configuration named by the input schema.

Request Body

{
"jsonrpc": "2.0",
"id": "qdrant-qdrant-backfill-memory-contract-example",
"method": "tools/call",
"params": {
"name": "qdrant.qdrant-backfill-memory-contract",
"arguments": {
"confirm": false,
"dry_run": false,
"batch_size": 1,
"max_points": "",
"collection_name": "collection_name_example",
"origin_collection": "",
"include_governance_metadata": false
}
}
}

Arguments Schema

{
"type": "object",
"title": "Qdrant Backfill Memory Contract input",
"properties": {
"confirm": {
"type": "boolean",
"title": "Confirm",
"default": false,
"description": "Confirm writes when dry_run is false."
},
"dry_run": {
"type": "boolean",
"title": "Dry Run",
"default": true,
"description": "Report changes without writing."
},
"batch_size": {
"type": "integer",
"title": "Batch Size",
"default": 100,
"description": "Batch size for scanning."
},
"max_points": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Points",
"default": null,
"description": "Max points to scan (None for all)."
},
"collection_name": {
"type": "string",
"title": "Collection Name",
"default": "",
"description": "Collection to backfill."
},
"origin_collection": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Origin Collection",
"default": null,
"description": "Optional source collection label for imported memory governance."
},
"include_governance_metadata": {
"type": "boolean",
"title": "Include Governance Metadata",
"default": false,
"description": "Also backfill governance metadata such as knowledge_domain, trust_level, retrieval_tier, lifecycle_state, and review_status."
}
},
"description": "Validated input contract for the qdrant-backfill-memory-contract native Qdrant MCP tool."
}

Output Schema

{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"description": "Normalized result data for qdrant-backfill-memory-contract: preview or fill missing memory-contract and governance fields.",
"additionalProperties": true
},
"meta": {
"type": "object",
"properties": {
"bytes_in": {
"type": "integer",
"description": "Approximate serialized input byte count."
},
"warnings": {
"type": "array",
"items": {
"type": "string"
},
"description": "Safe recovery warnings."
},
"bytes_out": {
"type": "integer",
"description": "Approximate serialized output byte count."
},
"elapsed_ms": {
"type": "integer",
"description": "Tool execution time in milliseconds."
},
"request_id": {
"type": "string",
"description": "Stable request trace identifier."
},
"server_version": {
"type": "string",
"description": "Deployed source revision when available."
},
"serialization_ms": {
"type": "integer",
"description": "Response serialization time in milliseconds."
},
"server_uptime_ms": {
"type": "integer",
"description": "Server process uptime in milliseconds."
},
"server_instance_id": {
"type": "string",
"description": "Ephemeral server-process identifier."
}
},
"description": "Secret-safe request, trace, size, timing, and warning metadata.",
"additionalProperties": true
}
},
"description": "Qdrant MCP normalized response envelope.",
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "qdrant-qdrant-backfill-memory-contract-example",
"method": "tools/call",
"params": {
"name": "qdrant.qdrant-backfill-memory-contract",
"arguments": {
"confirm": false,
"dry_run": false,
"batch_size": 1,
"max_points": "",
"collection_name": "collection_name_example",
"origin_collection": "",
"include_governance_metadata": false
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool qdrant.qdrant-backfill-memory-contract executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}