Skip to main content
Glama

Memory Revoke

memory.revoke
Idempotent

Revoke a previously issued memory grant immediately. Returns JSON revocation receipt. Compliance: GDPR Art. 7, 17. Cost $0.01 per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
grant_idYesUUID of the grant to revoke.
grantor_walletYes0x-prefixed wallet of the original grantor.
wallet_signatureYesEIP-191 signature of the grantor over the revoke message.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNoTrue when the tool completed without a validation error.
noteNoPresent when the grant was already revoked.
toolNoTool name that produced this payload.
paymentNoSettlement receipt after x402 or sandbox payment.
grant_idNoUUID of the revoked grant.
revoked_atNoUTC timestamp of revocation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false. The description adds valuable behavioral context beyond annotations: it returns a JSON revocation receipt, cites GDPR Art. 7/17 compliance, and states the per-call cost. It does not contradict annotations.

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?

Three short sentences with the core action front-loaded. Each sentence adds distinct information: operation, return value, compliance, and cost. There is no fluff or repetition of schema details.

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

Completeness4/5

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

For a simple three-parameter mutation with an output schema and annotations, the description covers the operation, return format, compliance, and cost. It does not describe error behavior for already-revoked or invalid grants, but the output schema likely covers that, so the description is sufficiently complete.

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

Parameters3/5

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

Schema description coverage is 100%, and each parameter (grant_id, grantor_wallet, wallet_signature) already has a clear schema description. The tool description adds no parameter-specific meaning beyond what the schema provides, so baseline 3 applies.

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

Purpose5/5

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

The description uses a specific verb ('Revoke') with a precise resource ('previously issued memory grant') and adds the temporal qualifier 'immediately'. This clearly distinguishes it from sibling tools like memory.grant and memory.attest without requiring schema inspection.

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?

The phrase 'previously issued memory grant' implies this tool is for existing grants, but it does not explicitly state when to use it versus memory.grant or other memory tools. No when-not-to-use or alternative routing is provided, so usage guidance is only implicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources