Skip to main content
Glama

Delete tracked document

delete_tracked_document
Destructive

Delete one of the caller's tracked documents by id and CANCEL its pending reminders (none fire afterwards). Only the caller's own document is reachable. Destructive — runs only after you confirm via confirm_action; the result names the cancelled-reminder count. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.

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": {
      "id": "<id>"
    },
    "name": "delete_tracked_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the destructiveHint annotation: it discloses that pending reminders are cancelled and none fire afterwards, that the two-phase confirmation returns status='confirmation_required' with action_id and plan_token, and that the result reports the cancelled-reminder count. This is exactly the behavioral context an agent needs before invoking a destructive tool.

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?

Front-loads the action and its destructive side effect, then explains the confirmation protocol. The final 'CONFIRMATION:' sentence partially repeats the earlier 'runs only after you confirm via confirm_action' clause, a small redundancy that keeps it short of a 5.

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?

Covers everything needed for a one-parameter destructive tool with no output schema: ownership constraints, reminder cancellation, the confirmation handshake and identifiers returned, and what the final result reports. No output schema is required given the described return values.

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 0% and the single parameter is undocumented in the schema, but the description supplies the key semantics: 'by id' and that the id must refer to the caller's own document. Minor gap is that the accepted integer-or-string form is not mentioned.

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 ... tracked documents by id') plus the crucial side effect ('CANCEL its pending reminders'), and scopes ownership to 'the caller's own document'. An agent can distinguish this from add/get/update/list_tracked_document siblings immediately.

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?

Makes clear this is the deletion path for tracked documents and that only the caller's own document is reachable, so no cross-owner deletes are attempted. It also routes the agent into the confirm_action workflow, but it does not explicitly contrast the case where the user only wants to stop reminders without deleting.

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