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.

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": {
      "tool": "<tool>",
      "arguments": "<arguments>"
    },
    "name": "preview_operation"
  }
}

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",
      -  "change_member_role",
      -  "suspend_member",
      -  "reactivate_member",
      -  "set_member_project_access",
      -  "request_growwer_media"
      -]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",
      +  "set_member_project_access",
      +  "request_growwer_media",
      +  "set_project_default_location_and_move_queries"
      +]
  2. 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",
      -  "change_member_role",
      -  "suspend_member",
      -  "reactivate_member",
      -  "set_member_project_access"
      -]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",
      +  "set_member_project_access",
      +  "request_growwer_media"
      +]
  3. 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",
      -  "change_member_role",
      -  "suspend_member",
      -  "reactivate_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",
      +  "set_member_project_access"
      +]
  4. 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"
      +]
  5. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations it discloses the token lifecycle: single-use, expires after a few minutes, and is refused if anything the plan describes has changed. Those facts are exactly what an agent needs to sequence and retry correctly, and they are consistent with readOnlyHint=true (the preview itself does not mutate) and idempotentHint=false (a token cannot be replayed).

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?

Four sentences, each load-bearing: purpose plus return value first, then argument construction, then the human-confirmation step, then token constraints. Nothing is redundant and the most important facts (what it does, what it returns) are front-loaded.

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?

An output schema exists, so the description need not explain the returned plan's shape; it instead covers the parts structured fields cannot: argument exclusion, the human-in-the-loop requirement, and token expiry/reuse semantics. Nothing an agent needs to invoke this correctly is missing.

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

Parameters5/5

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

With only 50% schema description coverage, the description compensates by explaining both parameters: pass the write tool's name as 'tool' and the exact call arguments as 'arguments', explicitly excluding confirmationToken and requestId. That exclusion rule is meaning the schema does not convey and directly prevents a malformed call.

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 opens with a specific verb and outcome: 'Describe exactly what a confirmable write tool would do and get the confirmationToken it requires.' This distinguishes it from the concrete write siblings (delete_competitor, archive_project, etc.) by framing it as the preview/gate step that precedes them, and the 'tool' parameter's enum makes the relationship explicit.

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?

It gives clear sequencing guidance: call this first, show the plan, wait for an explicit yes, then call the write tool with the same arguments plus the token. It does not state what to do if the requested operation is not confirmable or whether any writes bypass this gate, but the primary workflow path is unambiguous.

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.