Skip to main content
Glama

update_mutation

Destructive

Retracts a change this caller proposed (action=cancel; pending or needs_revision only; approved, declined, or executed rows stay closed) or posts a reviewer reply (action=comment).

Input Schema

NameRequiredDescriptionDefault
bodyNocomment: text, max 4000 chars.
actionYes
reasonNocancel: optional, max 2000 chars.
profileIdNoAmazon advertising profile ID.
mutationIdYes
expectedVersionNocancel: the version you last read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / businessProfileId
      Removed value: -{
      -  "description": "Business profile ID.",
      -  "type": [
      -    "integer",
      -    "string"
      -  ]
      -}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description adds real value on top: ownership scoping ('this caller proposed') and terminal-state protection so the agent knows which rows will silently refuse. It omits whether a cancel is reversible, what happens on expectedVersion mismatch, and whether commenting requires a reviewer role.

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?

One sentence, front-loaded with the primary mutating operation, with the two action modes and their gates compressed into parentheticals. No filler and no repetition of annotation fields.

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 cancel path is fully specified for correct invocation, but the comment path has no state constraints, no role/permission requirement, and no indication of what a reviewer reply attaches to. For a destructive mutation tool with six parameters and no output schema, that asymmetry leaves a real invocation gap.

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

Parameters4/5

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

With schema coverage at 67%, the description carries the decisive semantics by binding each action value to its intent, which the schema's enum does not explain. It still leaves mutationId unexplained and doesn't tie reason/expectedVersion/body to their actions beyond what the schema descriptions already say.

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?

Names both operations precisely (cancel a proposed change, post a reviewer comment) with the `action` enum values inline, so the agent knows exactly what the tool does. The phrase 'this caller proposed' and the mutation vocabulary separate it cleanly from submit_mutation and get_mutations.

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?

States explicit preconditions for cancel (pending or needs_revision only; approved, declined, executed stay closed), which is strong when-to/when-not guidance. It stops short of naming alternatives such as get_mutations for reading or submit_mutation for proposing, and gives no conditions for the comment path.

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