Skip to main content
Glama

Pinpal Receipts

Delete a rule

delete_rule
Destructive

Only when the person asks. The lines keep the label it gave them, unless undo: true: then its label comes off the lines it put it on, and a line it made not needed needs its receipt again.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe rule's id, from list_rules.
undoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/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 genuine consequence detail: lines keep their label by default, and undo:true strips the label from the lines the rule applied it to. That said, the wording is obscure ('a line it made not needed needs its receipt again') and it says nothing about whether deletion is reversible, whether rule history survives, or whether future scheduled applications stop.

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

Conciseness2/5

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

It is a single convoluted sentence built around a nested colon clause, and the most important information (that this deletes a rule, and its side effects) is buried mid-sentence. Nothing is front-loaded, and phrases like 'needs its receipt again' cost reading effort without adding precision.

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?

For a two-parameter destructive tool with no output schema, the description covers the undo semantics and the consent gate, which is the essential core. It is still missing the permanence of the deletion, the response shape, and any effect on the rule's historical or future application, which matter for a destructive operation.

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 only 50%: 'id' is documented in the schema ('The rule's id, from list_rules') while 'undo' has no schema description at all. The description compensates by explaining what undo changes about label application, which is the key semantic an agent needs beyond a bare boolean.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states the operation or its resource; the reader has to supply 'delete' and 'rule' from the name and title. What it does offer ('the lines keep the label it gave them') is a consequence of deletion rather than a statement of purpose, and the referents ('it', 'them') are ambiguous.

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?

'Only when the person asks' is a real gating condition that rules out proactive deletion, which is useful for a destructive tool. However, no alternatives are named (e.g. update_rule, or a non-destructive unlabeling path) and no prerequisites are given, so the agent must infer what to do instead when deletion is inappropriate.

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