Skip to main content
Glama

Mencoro

Preview an operation before running it

preview_operation
Read-only

Describe exactly what a confirmable write tool would do and get the confirmationToken it requires. Pass the name of the write tool as "tool" and the arguments you would pass it (without confirmationToken and requestId) as "arguments". Show the returned plan to the user and wait for an explicit yes before calling the tool with the same arguments and this confirmationToken. The token is single-use, expires after a few minutes, and is refused if anything the plan describes has changed.

Input Schema

NameRequiredDescriptionDefault
toolYes
argumentsYesThe arguments the write tool would be called with, without confirmationToken and requestId.

Output Schema

NameRequiredDescriptionDefault
planYes
toolYes
nextStepYes
expiresAtYes
expiresInSecondsYes
confirmationTokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / tool / enum
      Previous value: -[
      -  "delete_competitor",
      -  "archive_project",
      -  "delete_cluster",
      -  "create_tracked_queries",
      -  "delete_tracked_queries",
      -  "run_checks",
      -  "create_organization",
      -  "update_organization",
      -  "archive_organization",
      -  "restore_organization",
      -  "invite_member",
      -  "cancel_invitation",
      -  "update_member"
      -]New value: +[
      +  "delete_competitor",
      +  "archive_project",
      +  "delete_cluster",
      +  "create_tracked_queries",
      +  "delete_tracked_queries",
      +  "run_checks",
      +  "create_organization",
      +  "update_organization",
      +  "archive_organization",
      +  "restore_organization",
      +  "invite_member",
      +  "cancel_invitation",
      +  "change_member_role",
      +  "suspend_member",
      +  "reactivate_member"
      +]
  2. Added

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, correctly signalling that the preview itself mutates nothing, and the description is consistent with that. It adds real context beyond the annotations — token is single-use, expires in minutes, and is refused if the underlying state changed — but omits how the token/arguments are correlated or what the returned plan contains, so it is good rather than comprehensive.

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?

Five tight sentences, front-loaded with the tool's purpose, then the parameter contract, then the human-in-the-loop workflow, then the token lifecycle. Every sentence is load-bearing and no instruction is repeated.

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?

Given an output schema exists, return values need no explanation, and the description covers the two required parameters, the user-confirmation protocol, and token invalidation rules. An agent has everything needed to call this correctly and then safely invoke the target write tool.

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?

Schema description coverage is 50% (the 'tool' enum has no schema-level description), and the description compensates well: it names both parameters and specifies the exact argument set to pass, excluding confirmationToken and requestId. It stops short of explaining how 'arguments' shape is validated per selected tool.

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?

States a specific verb and resource — describe what a confirmable write tool would do and return its confirmationToken — which is unambiguous and unlike any sibling (get_* / list_* / the write tools themselves). An agent can immediately tell this is a pre-flight preview step, not the write itself.

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?

Gives an explicit workflow: pass the write tool name and its arguments, show the plan to the user, wait for an explicit yes, then call the tool with the same arguments plus the token. The condition for use (confirmable write tools) and the exact sequencing are both stated, leaving nothing 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.