Skip to main content
Glama

MedBillAnalyzer

Delete a case

delete_case
DestructiveIdempotent

Delete everything held about a case, immediately and permanently. The record is removed, not flagged, and it cannot be recovered afterwards — not by us either. This is the promise the privacy policy makes, and it needs no account. It does need the delete token issued when the case was created: reading a case and destroying it are deliberately different capabilities.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
case_idYes
delete_tokenYesThe one-time token returned by check_medical_bill. Deleting is a separate capability from reading on purpose: a case link can end up in a browser history or a forwarded message, and whoever finds it should not be able to destroy the record.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds materially: irreversibility ('cannot be recovered afterwards — not by us either'), hard vs. flagged deletion, no-account authorization, and the elevated delete_token requirement. That is exactly the extra context annotations cannot carry.

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, each earning its place: permanence first, then the no-flag clarification, then the policy rationale, then the token requirement. The critical, irreversible consequence is front-loaded.

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?

For a two-param destructive tool with annotations covering the safety profile, the description is nearly complete: it explains irreversibility, authorization, and the read/delete capability split. The one gap is what a successful call returns or how failure surfaces (bad/expired token, already-deleted case), which is not covered by annotations or an output schema.

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 50% — case_id is undocumented in the schema, and the description supplies its meaning implicitly by anchoring both parameters to a case. For delete_token it reinforces why the token exists (separate capability from reads), which goes beyond the schema's syntax-level note, though it does not clarify token expiry or single-use behavior.

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 everything held about a case') plus the scope of the deletion ('immediately and permanently'). It also draws the boundary against the sibling read path ('reading a case and destroying it are deliberately different capabilities'), so an agent can distinguish it from get_case/unlock_case without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear conditions for use (the privacy-policy deletion, no account required) and rules out a soft-delete interpretation ('removed, not flagged'). It does not name or compare against the other case-mutating siblings such as export_case or unlock_case, so the alternative-selection guidance is incomplete.

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