Skip to main content
Glama

Storiez

Delete post

delete-post
Destructive

Deletes one post. The status of its calendar item is recalculated. Irreversible (reject-post keeps the post instead). Two steps: the first call deletes nothing and returns needsConfirmation, a summary, and a confirmToken valid for 5 minutes; a second call with that confirmToken deletes.

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-post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe post ID to delete
confirmTokenNoToken from the first call of this delete. Omitted: nothing is deleted and a summary plus token is returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, and the description adds context beyond them: irreversibility, the side effect that the calendar item's status is recalculated, the two-step confirmation gate, the token's 5-minute lifetime, and the fields returned by the first call (needsConfirmation, summary, confirmToken). This is information an agent could not obtain from the annotations or schema alone.

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?

Four short sentences, front-loaded with the core action, then side effect, then irreversibility/alternative, then the two-step protocol. No filler; every clause carries operational weight, including the parenthetical routing hint.

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 an irreversible two-param mutation with no output schema, the description covers everything an agent needs: irreversibility, side effects, the confirmation handshake, token lifetime, and the shape of the first-call response. Nothing material is missing.

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%, so baseline is 3, but the description adds real meaning: confirmToken comes from the first call of this same operation, is valid for 5 minutes, and its omission returns a summary instead of deleting. That flow semantics goes beyond the schema's terse field note.

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 ('Deletes one post') with scope limited to a single post, and immediately distinguishes itself from reject-post by noting that reject-post keeps the post. An agent can tell exactly what this tool does without opening the schema.

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 names the alternative (reject-post) and the condition selecting it ('keeps the post instead'), and gives the full invocation protocol: first call deletes nothing, second call with confirmToken deletes. Both the when-to-use and the how-to-call are spelled out.

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