Skip to main content
Glama

Delete a long-term record

delete_record
DestructiveIdempotent

Delete one long-term record for good, when the owner asks or it was saved by mistake.

    Requires records:write. Records linked to it (its premiums or claims) are kept and unlinked; their ids
    are returned. To stop reminders for something paid, save status done instead.
    

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": {
      "record_id": "<record_id>"
    },
    "name": "delete_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
record_idYesThe record's id (rec_…) from list_records.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the bar is lower, yet the description adds real context: the required scope (records:write) and the crucial referential side effect (linked premiums/claims are kept and unlinked, with their ids returned). That linkage behavior is not derivable from any structured field and is exactly what an agent needs before a destructive call.

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?

Front-loads the destructive action and permanence, then stacks permission, side effects, and the alternative in short, waste-free clauses. Every sentence carries an operational fact.

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 single-parameter destructive mutation with no output schema, it covers the full picture an agent needs: permanence, required permission, what happens to related records, what is returned, and which alternative to prefer. No meaningful gap remains.

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?

Only one parameter and schema description coverage is 100%, with the schema already stating the id format (rec_…) and its source (list_records). The description adds no meaning beyond that, so the baseline of 3 applies.

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 one long-term record") plus permanence ("for good"), and implicitly routes the alternative case to save_record with "save status done instead". An agent can tell this apart from save_record and list_records without opening either 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?

Gives explicit when-to-use conditions ("when the owner asks or it was saved by mistake") and an explicit when-not with the alternative action ("To stop reminders for something paid, save status done instead"). Both the trigger and the exclusion are named, 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.