Skip to main content
Glama

Take a step back

revert_step

Take a whole step back as one change. step_id: a step or a change's id; none: the newest.

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": {
      "house": "<house>"
    },
    "name": "revert_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
houseYes
step_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare this is not read-only, not idempotent, and not destructive, so the safety profile is partially covered. The description adds only the fact that the revert is bundled "as one change," which is genuinely useful context, but it says nothing about permissions, whether the change must be approved (siblings include approve_change/get_pending), or what happens to steps after the reverted one.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The two-clause form is compact with no filler, and the semantics of step_id are front-loaded. But the compression goes too far: the core action is expressed as a metaphor, forcing the reader to decode "step back" and "as one change" instead of stating plainly what is reverted and what is produced.

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

Completeness2/5

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

For a mutating tool with no output schema and 0% schema description coverage, the description omits too much: the required `house` parameter, the effect on later steps, and whether the revert is immediately applied or staged as a pending change. Only one of two parameters and one behavioral nuance are covered.

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 0%, so the description must carry parameter meaning. It does explain step_id well: it accepts either a step id or a change id, and omission means the newest. However, the required `house` parameter is never mentioned at all, leaving a required input completely undocumented.

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

Purpose3/5

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

"Take a whole step back as one change" conveys an undo-like operation on a step and hints that the result is recorded as a single change, but the phrasing is metaphorical rather than a specific verb+resource. It never clarifies how this differs from the sibling revert_change, so an agent cannot confidently pick between them from the description alone.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no exclusions, and no mention of when revert_change would be the better choice despite that sibling existing. The only routing hint is the parameter note that omitting step_id targets the newest step, which is invocation detail rather than usage guidance.

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