Skip to main content
Glama

MedBillAnalyzer

Get the dispute letter and phone script

get_case_outputs
Read-onlyIdempotent

Get the dispute letter and the phone script for an unlocked case. The letter is a template the patient sends in their own name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
case_idYes
include_pdfNoAlso return the letter as a print-ready PDF (base64). One page where it fits, addressed for a #10 window envelope, with fold marks.
letter_dateNoThe date to print on the letter, as MM/DD/YYYY. Send the USER's local date: the server runs in UTC, so without this a patient in a western timezone can be handed a letter dated tomorrow, and it is the date the 30-day response window is counted from. Omit it to use the server's date.
patient_nameYesAs it should appear on the letter.
account_numberNo
reply_to_linesNoWhere the provider should write back.
provider_address_linesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds only that the letter is a template the patient sends in their own name; it says nothing about the return format, whether outputs are generated on demand, or any failure modes (e.g. locked case).

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

Conciseness4/5

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

Two short sentences, front-loaded with the action and scope, with no filler. The second sentence adds genuinely new context about the letter's nature rather than restating the name.

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 read-only retrieval tool with no output schema, the description should at least sketch what comes back (letter text plus phone script, optionally a base64 PDF per the schema). Annotations cover safety, but the response shape and the locked-case failure mode remain unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 7 parameters and only 57% schema description coverage, the description needs to compensate and does not — it mentions no parameter at all. account_number and provider_address_lines are undocumented in both schema and description, so the agent is left guessing about a meaningful share of the input surface.

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

Purpose4/5

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

States a specific verb (get) and two concrete resources (the dispute letter and the phone script), plus a scoping condition ('for an unlocked case'). It does not explicitly distinguish itself from the sibling get_case, so an agent still has to infer which tool surfaces which artifact.

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?

The phrase 'for an unlocked case' implicitly signals the unlock_case prerequisite, which is useful context. However there is no explicit when-to-use guidance and no named alternative (e.g. get_case) for retrieving case data without the generated documents.

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