Skip to main content
Glama

resources.deletion.prepare

Destructive

Prepare a restricted resource deletion, calculate impact, and return whether human approval is required. This never deletes the resource.

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

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
statusNo
messageNo
approval_requestNo
deletion_requestNo
external_cleanupNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and openWorldHint=false, so the behavioral baseline is partly set. The description adds important context beyond those hints: it calculates impact, returns whether human approval is required, and explicitly states that it never deletes the resource. It does not disclose whether preparing creates persistent state or locks the resource, but the safety clarification is meaningful.

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?

The description is two tightly written sentences with no wasted wording. The purpose and the key safety disclaimer are both front-loaded.

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 output schema exists, so the description need not explain return values in detail. It covers the core operation and the most important safety point, but it omits prerequisites, permission requirements, and whether preparation creates a persistent pending-deletion state. For a prepare step that gates a destructive action, those omissions leave meaningful gaps.

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?

The input schema has two parameters and only 50% description coverage. The description does not explain resource_id or add meaning beyond the parameter name, and it does not compensate for the undocumented organization_id beyond what the schema already says. Parameter semantics are therefore largely left to the schema.

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 uses a specific verb and resource: prepare a restricted resource deletion. It also clarifies key outputs (impact calculation and approval requirement) and explicitly differentiates the tool from an actual deletion by saying it never deletes. The only gap is that it does not name the execute sibling directly, so the sibling distinction is implicit rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The wording 'prepare a restricted resource deletion' and 'This never deletes the resource' imply that this is a pre-deletion step rather than the deletion itself. However, the description gives no explicit when-to-use guidance, prerequisites, or instruction to call this before resources.deletion.execute. Usage is therefore inferable but not clearly specified.

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