Skip to main content
Glama

Delete report

delete-report
DestructiveIdempotent

Delete a report that has not been filed, with its generated facts.

WHEN TO USE:

  • To remove a draft or under-review report that is wrong or no longer needed

  • To clear an abandoned draft before creating a new report for the same period

NOTES:

  • Refused for a filed or archived report: filing makes it a record, and a record is archived, not deleted. Archiving and unarchiving are done by a person

  • A generated draft can be deleted; generation does not lock a report, filing does

  • A report's open columns follow the ledger on their own; to change its periods, use regenerate-report instead

  • Refused while the report is shared to other graphs; revoke the shares first

  • Only the report's author can delete it

RETURNS: deleted: true and the report id.

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": {
      "report_id": "<report_id>"
    },
    "name": "delete-report"
  }
}

Input Schema

NameRequiredDescriptionDefault
report_idYesThe report to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the risk profile is supplied structurally. The description goes well beyond that by describing exactly what is destroyed (report plus its generated facts), the refused states, the sharing and authorship prerequisites, and the return shape. The one soft spot is that idempotency semantics are not reinforced in prose, but the surrounding disclosure is rich.

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?

Well front-loaded with labeled WHEN TO USE / NOTES / RETURNS sections that scan quickly. However, the note "A generated draft can be deleted; generation does not lock a report, filing does" largely restates the first refusal bullet, and the second WHEN TO USE bullet overlaps with the first, so a few lines do not fully earn their place.

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 tool with no output schema, the definition covers everything an agent needs: what is removed, preconditions, refusal cases, required permissions, the sibling to use for a different intent, and the return value. Nothing material is missing.

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 coverage is 100% for the single report_id parameter, so the schema already carries the baseline. The description adds value by constraining which ids are acceptable (unfiled, unshared, author-owned), which is meaning beyond the schema's "The report to delete".

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 a report") plus a crucial scope qualifier ("that has not been filed") and what else goes with it ("its generated facts"). An agent can immediately distinguish this from regenerate-report or the delete-document family.

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?

Has an explicit WHEN TO USE section with two concrete scenarios (wrong/obsolete draft, abandoned draft before recreating), and NOTES enumerate the conditions where the call is refused (filed/archived, shared to other graphs, non-author). It also names the alternative for a different need: regenerate-report to change periods.

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.