Skip to main content
Glama

Apagar rotina

delete_routine
DestructiveIdempotent

Delete a routine for good. Two steps: with confirmed false it only returns which routine would be deleted and changes nothing; with confirmed true it deletes it, which cannot be undone. Pausing a routine is the reversible alternative.

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": {
      "routineId": "<routineId>",
      "confirmed": "<confirmed>"
    },
    "name": "delete_routine"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmedYesfalse to check; true only after the user said yes.
routineIdYesExact routine id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / routineId / description
      Previous value: -"Exact routine id from list_routines."New value: +"Exact routine id."
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds the non-obvious behavior the annotations cannot express: a dry-run mode that mutates nothing and reports what would be deleted. It also states irreversibility plainly, which is the key risk fact for an agent deciding to proceed.

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?

Three short sentences, front-loaded with purpose then the safety protocol, then the alternative. Every sentence carries decision-relevant information with no filler.

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 two-parameter destructive tool with no output schema, the description covers purpose, the dry-run preview behavior (standing in for missing return docs), irreversibility, and the safer alternative. An agent has everything needed to call it correctly and safely.

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% and the schema already documents both parameters, so the baseline is 3. The description earns extra credit by explaining the operational meaning of the confirmed flag as a gated two-step flow and by saying the false path returns which routine would be deleted — return semantics the schema does not convey.

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 ('Delete a routine') and immediately scopes the intent with 'for good', separating it from reversible status changes. The closing sentence names the reversible alternative (pausing) so an agent can distinguish routine deletion from set_routine_status-style siblings.

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?

Explicitly defines the two-step protocol: call with confirmed=false to preview, call with confirmed=true only after the user agrees. It also names the alternative path (pausing) for callers who do not want an irreversible deletion, 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.