Skip to main content
Glama

Undo the last ICP change

undo_icp_change
Destructive

Put back the ideal customer profile as it was before its last save, and the lead verdicts that save changed. Only the last save can be undone. Confirm-gated: the first call names the save and how many verdicts come back. No AI re-judges the leads; keyword posts are re-checked in the background.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "undo_icp_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoWorkspace uuid or name. Omit if you have one; else see list_accounts.
confirmNotrue applies it. First call without it and relay what would happen.

Output Schema

NameRequiredDescriptionDefault
undoneNo
summaryNoThe restored ICP's summary.
leads_restoredNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior5/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 substantial context beyond them: a dry-run first call that names the save and counts affected verdicts, a confirm flag to apply, the fact that no AI re-judging occurs, and that keyword posts are re-checked in the background. That is exactly the kind of side-effect and two-phase-commit detail an agent needs for a destructive mutation.

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 short sentences, front-loaded with what gets restored, then the last-save limit, then the confirm gate, then the background re-check caveat. No sentence is filler; each adds a decision-relevant fact.

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?

For a destructive, non-idempotent mutation with an output schema present, the definition covers scope, the preview/confirm protocol, and downstream effects, while leaving return-value detail to the output schema. Nothing an agent needs before invoking it is missing.

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 coverage is 100%, so the baseline is 3, and the description goes beyond it by explaining the confirm parameter's two-phase behavior — first call previews and returns what would happen, second call with confirm applies it. Account is not discussed in the description, but the schema already handles it well.

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 states a specific verb and resource — restoring the ideal customer profile to its pre-last-save state — plus the collateral effect on the lead verdicts that save changed. That scope (undo one save) is clearly distinct from update_icp or preview_icp_update, so an agent can route without opening a schema.

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?

The constraint 'Only the last save can be undone' tells the agent when this tool is applicable and implicitly when it is not (older saves). The confirm-gated two-step procedure is spelled out. It stops short of naming an alternative for cases where more than one save must be reverted, so it is clear context without explicit sibling routing.

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