Skip to main content
Glama

Apply a planned follow-up change (after a form)

apply_sequence_change
Destructive

Write the exact change returned by plan_sequence_change. Backs up the current steps first. Tokens are single-use.

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": {
      "change_token": "<change_token>"
    },
    "name": "apply_sequence_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
change_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds two traits annotations cannot express: an automatic backup of current steps before writing, and single-use tokens, which tells the agent it cannot retry the same token. It does not say what state is left behind if the write fails midway or whether the backup must be restored manually.

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, zero padding, and the primary instruction is front-loaded before the safety note and the token constraint. Every sentence contributes a fact an agent needs.

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

Completeness4/5

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

For a one-parameter destructive write with no output schema, the description covers the essentials: what to pass, where it comes from, the backup safeguard, and the no-retry constraint. It falls short only on failure semantics and return behavior, which matter more here because no output schema exists to describe results.

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 0% on the single change_token parameter, so the description must carry the meaning, and it does explain provenance (exact change returned by plan_sequence_change) and lifecycle (single-use). It still omits any hint about the token's form (opaque string), expiry, or what error surfaces when a consumed token is reused.

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 pairs a specific verb ("Write the exact change") with the resource returned by plan_sequence_change, making clear this executes a previously planned edit rather than authoring one. It is distinguishable from the plan_* siblings by the phrase "returned by plan_sequence_change", though it never uses the words "sequence change" itself, relying on the tool name and title to carry that.

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 prerequisite is explicit: the input must be the change produced by plan_sequence_change, so an agent knows to plan first and apply second. However, there is no guidance on when NOT to use it (e.g., versus restore_sequence or re-running plan), and no mention that a rejected or failed apply may require replanning.

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