Skip to main content
Glama

supersede

Mark a memory document as superseded by a replacement, recording the reason for retirement.

Instructions

Mark an existing memory document as superseded by a replacement document. Forward-only — the replacement doc is NOT touched; back-links are derived by the Phase 4 graph layer at query time. Atomic single OCC update on the OLD doc; sets status="superseded", superseded_by, and superseded_reason.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYesDocId of the document being superseded
replacement_doc_idYesDocId of the replacement document
reasonYesWhy the old document is being retired; written to superseded_reason
Behavior4/5

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

No annotations exist, so the description carries full burden. It discloses atomic OCC update, status field changes, and forward-only behavior. It does not cover authentication, rate limits, or idempotency, but the key behavioral traits are well covered.

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 informative sentences, front-loaded with main purpose. No wasted words; each sentence adds critical context.

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

Completeness3/5

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

The description lacks any mention of return values, which is a gap given no output schema. It explains the mutation but not what the agent should expect as a response. Otherwise, it is complete within its scope.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds meaning by explaining the effect: 'atomic single OCC update on the OLD doc; sets status="superseded", superseded_by, and superseded_reason.' This links parameters to the update behavior, adding value beyond schema.

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 clearly states the verb 'mark superseded' and the resource 'existing memory document'. It distinguishes from siblings by noting the forward-only nature and that back-links are derived later, making it distinct from linking tools.

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

Usage Guidelines4/5

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

The description provides context: 'Forward-only — the replacement doc is NOT touched' and mentions back-links are derived at query time, implying when to use this. However, it does not explicitly state when not to use it or name alternatives.

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

Install Server

Other Tools

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/owrede/vault-memory'

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