Skip to main content
Glama
Memory Bridge
by shuimo233

memory_revoke

Idempotent

Revoke a record so it stops appearing in future recall while keeping its version history and original evidence intact. Use it to retire outdated or incorrect memories without deleting them.

Instructions

Revoke a record from future recall; retain its history and original evidence.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "record_id": "<record_id>",
      "expected_version": "<expected_version>",
      "reason": "<reason>",
      "evidence_ids": "<evidence_ids>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "memory_revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYes
record_idYes
evidence_idsYes
idempotency_keyYes
expected_versionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare a non-destructive, idempotent mutation, and the description adds real value by explaining the soft-delete semantics: history and original evidence are preserved while the record is excluded from recall. It stops short of covering failure behavior such as a version mismatch or what the reason/evidence requirements are for.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no padding; the two clauses each state something distinct (effect and retention). Nothing is wasted or buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-required-parameter mutation with a version precondition and idempotency key, one sentence plus annotations is thin. The output schema covers return values, but the description leaves every parameter undocumented and omits conflict and validation behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All five parameters are required and schema description coverage is 0%, so the description carries the full burden. It only loosely gestures at evidence_ids ('original evidence') and says nothing about expected_version's optimistic-concurrency role, the idempotency_key, or the reason field's 8000-character free text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Revoke a record from future recall') and clarifies the operation's scope with 'retain its history and original evidence'. It does not differentiate the tool from siblings like memory_write or memory_append, so the agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'from future recall' signals that this is the tool to use when a memory should stop surfacing. There is no explicit when-to-use statement, no exclusions, and no named alternative for hard deletion versus archival.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.