Skip to main content
Glama

resources.deletion.cancel

Cancel a prepared, approved, or scheduled deletion while its cancellation window is open.

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": {
      "deletion_request_id": "<deletion_request_id>"
    },
    "name": "resources.deletion.cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
organization_idNoorganization membership to use for this call; omit only when the account has one current membership
deletion_request_idYes

Output Schema

NameRequiredDescriptionDefault
statusNo
messageNo
approval_requestNo
deletion_requestNo
external_cleanupNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false and openWorldHint=false, and 'cancel a deletion' is consistent with that — it removes a pending action rather than data. The description adds the meaningful window constraint, but says nothing about error behavior when the window is closed, idempotency, or whether state is restored.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler or redundant restatement of the tool name. Its brevity is appropriate, though it leaves little room for the missing parameter and failure-mode detail.

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?

An output schema exists, so return values need not be described, and annotations cover the safety profile. However, for a stateful mutation gated on a time window, the description omits failure conditions and where the deletion_request_id comes from, leaving real gaps for a two-parameter tool.

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

Parameters2/5

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

Only organization_id carries a schema description (50% coverage); deletion_request_id is required but undocumented anywhere. The description implies a deletion request must be identified but adds no format, source (e.g., from resources.deletion.list or prepare), or scoping detail to compensate.

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 gives a specific verb ('Cancel') and a specific resource ('a prepared, approved, or scheduled deletion'), plus a state precondition. It is clearly distinguishable from siblings like resources.deletion.execute or prepare, though it doesn't name an alternative explicitly.

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 states the conditions under which the call is valid: the deletion must be prepared, approved, or scheduled, and its cancellation window must still be open. That is clear usage context, but no alternative action is named for the case when the window is closed.

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