Skip to main content

Qdrant Cache Memory

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEqdrant.qdrant-cache-memory
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: qdrant-2026.07.12.2
  • Descriptor hash: 3f398d994626acaf462008f3819568011255e301c0dbd96054fff430161d61dd

Use this when you need to store one short-term memory with a bounded expiry. 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-cache-memory-example",
"method": "tools/call",
"params": {
"name": "qdrant.qdrant-cache-memory",
"arguments": {
"information": "information_example",
"metadata": "",
"ttl_days": "",
"dedupe_action": "",
"collection_name": ""
}
}
}

Arguments Schema

{
"type": "object",
"title": "Qdrant Cache Memory input",
"required": [
"information"
],
"properties": {
"metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Metadata",
"default": null,
"description": "Optional memory metadata overrides."
},
"ttl_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Ttl Days",
"default": null,
"description": "TTL in days for short-term memory (defaults to MCP_SHORT_TERM_TTL_DAYS)."
},
"information": {
"type": "string",
"title": "Information",
"description": "Short-term memory text to store."
},
"dedupe_action": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Dedupe Action",
"default": null,
"description": "How to handle duplicates: update or skip. Defaults to MCP_DEDUPE_ACTION."
},
"collection_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Collection Name",
"default": null,
"description": "Optional short-term collection override. Defaults to MCP_SHORT_TERM_COLLECTION."
}
},
"description": "Validated input contract for the qdrant-cache-memory 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-cache-memory: store one short-term memory with a bounded expiry.",
"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-cache-memory-example",
"method": "tools/call",
"params": {
"name": "qdrant.qdrant-cache-memory",
"arguments": {
"information": "information_example",
"metadata": "",
"ttl_days": "",
"dedupe_action": "",
"collection_name": ""
}
}
}'

Example Responses

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