Skip to main content
Glama

Keep next week as planned

undo_review_change
DestructiveIdempotent

Use this when the person doesn't want one of the changes the Sunday review made to next week. Give the change's index from get_weekly_review. Next week goes back to the program's target for that change. Do not use for a change they made themselves; use undo.

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": {
      "week": "<week>",
      "index": "<index>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "undo_review_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
weekYesThe review's program week, from get_weekly_review.
indexYesThe change's index in that review, from get_weekly_review.
idempotencyKeyYesA new random id for this change (a UUID). Send the same one again only to retry this exact change.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / index / description
      Added value: +"The change's index in that review, from get_weekly_review."
    • addedInput schema / properties / week / description
      Added value: +"The review's program week, from get_weekly_review."
    • changedInput schema / properties / week / maximum
      Previous value: -26New value: +520
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the description only needs to add context. It does so by explaining the resulting state ('next week goes back to the program's target for that change'), which tells the agent what is actually overwritten. It stops short of saying whether the review's change can be restored afterwards, so not a 5.

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, front-loaded with the use case, followed by the required input and the resulting effect, then the exclusion. Every sentence earns its place with no filler.

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?

For a three-parameter mutation with full schema coverage, an output schema, and annotations covering safety and idempotency, the description supplies the missing pieces: trigger condition, exclusion, and the post-condition. Nothing an agent needs in order to call it correctly is absent.

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 coverage is 100% and the schema already documents 'index' as coming from get_weekly_review, so the description's matching instruction is largely redundant. It adds no syntax, range, or idempotency-key detail beyond the structured fields, which is the expected baseline when the schema does the work.

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 names a specific action (reverting a change the Sunday review made to next week) and its scope, and explicitly contrasts itself with the sibling 'undo'. An agent can distinguish it from 'undo' and 'get_weekly_review' without opening any schema.

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?

It states when to use ('when the person doesn't want one of the changes the Sunday review made'), when not to use ('a change they made themselves'), and names the alternative tool ('use undo'). Nothing about tool selection is left to inference.

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.