Skip to main content
Glama

retract

Remove a fact that is wrong or no longer applies, stopping it from being live while keeping history intact. A reason is required; use revise instead if the fact merely changed.

Instructions

Code lane: removes an item that is simply WRONG or no longer applies - it stops being live everywhere (session start, the moment of action, lookup), but nothing is deleted, and history still walks it. Use revise instead when the item merely changed. A reason is required; a blank one is refused. On a replica this queues instead of writing ('queued for the main machine' is not an error). Bringing the fact back later is a fresh remember, never a revise of the tombstone. Replies 'retracted ()', or the refusal text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe id to retract.
reasonYesWhy it is wrong or no longer applies. Required, and a blank one is refused: without it nobody can later tell a decision from an accident.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations at all, the description carries full weight and does so thoroughly. It discloses the non-destructive nature ('nothing is deleted, and history still walks it'), replica queueing behavior, the required non-blank reason, the exact reply format, and the tombstone rule. Nothing about the operation's side effects is hidden.

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?

Every sentence carries distinct information: purpose, scope, alternative, constraint, replica behavior, future recovery, and reply format. Despite density, it is well-organized and front-loaded with the core semantics before the edge cases. There is no filler or repetition.

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

Completeness5/5

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

The tool has subtle semantics (tombstone, live-everywhere removal, replica queueing), and the description addresses all of them. It also covers the required reason, refusal behavior, response format, and post-retraction workflow. With no output schema, this level of detail is sufficient for an agent to invoke it correctly.

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 the description does not add meaning beyond the schema for parameters. It reinforces the reason requirement and the refusal of blank reasons, but those are already stated in the schema's property description. Baseline 3 is appropriate since the schema already documents both parameters fully.

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 states a specific verb and resource: 'removes an item that is simply WRONG or no longer applies', and immediately distinguishes it from the sibling 'revise'. It also clarifies the nuanced effect (stops being live everywhere, but nothing is deleted), so an agent can tell exactly what retract does versus other mutations.

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

Usage Guidelines5/5

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

Explicitly names the alternative: 'Use revise instead when the item merely changed', giving a clear decision rule. It also explains what to do after retraction ('Bringing the fact back later is a fresh remember, never a revise of the tombstone'), and covers replica behavior without treating it as an error. This is complete routing guidance.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nworks3d/THOR-memory-bible-for-AI'

If you have feedback or need assistance with the MCP directory API, please join our Discord server