Skip to main content
Glama

Delete decision

delete_decision
Destructive

Delete one of the caller's decision-journal entries by id, together with its pending review reminder. Only the caller's own decision is reachable. Use to take back a decision logged by mistake. Destructive — runs only after you confirm via confirm_action. 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": {
      "decision_id": "<decision_id>"
    },
    "name": "delete_decision"
  }
}

Input Schema

NameRequiredDescriptionDefault
decision_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the destructiveHint=true annotation, the description discloses what else is destroyed (the pending review reminder), the ownership boundary ('Only the caller's own decision is reachable'), and the full two-phase protocol including the returned status='confirmation_required', action_id and plan_token. That is exactly the kind of context annotations cannot carry, and nothing here contradicts them.

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

Conciseness3/5

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

The purpose and cascade effect are front-loaded and useful, but the confirmation requirement is stated twice in consecutive sentences ('runs only after you confirm via confirm_action' and then the full CONFIRMATION block), which is redundant bulk. The all-caps 'CONFIRMATION:' heading is reasonable for emphasis but the duplicated content does not earn its place twice.

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, two-phase tool with no output schema, the description covers everything an agent needs: what is deleted, what is deleted alongside it, whose records are in scope, and the exact return shape and next step for completing the write. Nothing material is left unspecified.

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

Parameters3/5

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

Schema description coverage is 0% for the single decision_id parameter, which accepts integer or string, so the description must compensate. 'By id' plus the ownership restriction ('only the caller's own') narrows the acceptable value somewhat, but it adds no format, source, or example for the identifier, leaving the agent to guess where the id comes from.

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 gives a specific verb and resource: 'Delete one of the caller's decision-journal entries by id', and adds the cascade scope ('together with its pending review reminder'). The resource name 'decision-journal entries' separates it cleanly from the many other delete_* siblings that operate on other object types.

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 intended occasion explicitly: 'Use to take back a decision logged by mistake.' It also implies the required follow-up path via confirm_action. It does not name a non-destructive alternative (e.g. review_decision or log_decision) for cases where the caller wants to amend rather than retract, so there is a small inference gap.

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