Skip to main content
Glama

replace

Create an explicit successor record in agent memory, atomically supersede the old one, and report dependent items needing review.

Instructions

Create an explicit successor, supersede the old record atomically and report dependents needing review.

Input Schema

NameRequiredDescriptionDefault
oldYes
successorYes
initiativeYes
request_idNoOptional stable operation key supplied by the host/SDK; see replay contract.
expected_revisionNoOpaque revision of the primary target, as returned by reads.

Output Schema

NameRequiredDescriptionDefault
dataYes
stateYes
issuesYes
coverageNo
replayedYes
operationYes
request_idNo
api_versionYes
continuationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false; the description adds meaningful behavior by stating the operation is atomic and reports dependents needing review. It stops short of saying whether the old record is deleted or retained, what permissions are needed, or whether the replacement is reversible.

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 filler. Each clause earns its place by conveying successor creation, atomic supersession, and dependent reporting.

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 output schema exists, so return-format details are not required in the description. However, for a multi-parameter mutation tool with low schema coverage, the description omits concurrency semantics, parameter usage, and guidance versus alternatives, leaving gaps for correct invocation.

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?

Schema description coverage is only 40%, and the description does not explain the parameters beyond referring conceptually to an 'old record' and 'successor'. It leaves initiative, expected_revision, and request_id without added meaning, failing to compensate for the schema gaps.

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 uses specific verbs ('create', 'supersede') and resources ('old record', 'explicit successor'), making the replacement operation clear. It does not explicitly name sibling alternatives like revise, but the core purpose is distinguishable from an in-place edit.

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 description implies use when replacing a record with a new successor, but gives no explicit when-to-use/when-not guidance versus siblings such as revise, task_update, or review. No prerequisites or exclusions are stated.

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