Skip to main content
Glama

Cancel a drafted sighting report

cancel_sighting_report
DestructiveIdempotent

Cancel a draft that was not submitted and erase its personal data. Use it when the witness declines or changes their mind after draft_sighting_report; a submitted report cannot be cancelled here. Repeating the call is harmless.

Input Schema

NameRequiredDescriptionDefault
jetonYesSecret token returned by draft_sighting_report.
action_idYesDraft id returned by draft_sighting_report.

Output Schema

NameRequiredDescriptionDefault
erreurNo
statusNo
citationsYes
provenanceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Adds real context beyond annotations: it discloses that personal data is erased (the concrete meaning of destructiveHint) and that a submitted report is out of scope. 'Repeating the call is harmless' restates idempotentHint but in actionable language; nothing is said about irreversibility or error behavior for a missing draft id.

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?

Three short sentences, front-loaded with the core action and its consequence, then usage, then idempotency. No filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema and annotations already cover return values, destructiveness, and idempotency, and the description fills in scope and the data-erasure effect. Minor gaps remain on what happens with a stale or already-cancelled draft id.

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 100% and both parameters (jeton, action_id) are documented as coming from draft_sighting_report, so the description adds nothing param-specific. Baseline 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+resource (cancel a draft) plus the key side effect (erase personal data). It immediately distinguishes itself from submit_sighting_report by noting a submitted report cannot be cancelled here.

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?

Names the trigger condition (witness declines or changes their mind after draft_sighting_report) and an explicit exclusion (submitted reports). The alternative path is implied through the named sibling, so the agent knows when to route elsewhere.

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