Skip to main content
Glama

Read a denial letter

read_denial_letter
Read-onlyIdempotent

Use when someone pastes or uploads a health insurance denial, EOB or adverse benefit determination. Pass the letter text verbatim. Returns what was denied, the reason category, the plan type (employer/ERISA, Marketplace, Medicare Advantage, Medicaid), the appeal deadline computed from the regulation, the next step and a draft appeal letter. The optional fields correct something the person stated. Deadlines are computed in code from the cited regulation. The tool does not assess medical necessity.

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": {
      "letter_text": "<letter_text>"
    },
    "name": "read_denial_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
stageNopre_service = prior authorization, post_service = a claim for care already given, concurrent = ongoing care being cut
urgentNoTrue only if the person or their doctor says waiting could seriously harm their health. Never infer it.
member_idNo
plan_typeNoSet only if the letter or the person says so: erisa = Employer plan (private employer, covered by ERISA); gov_employer = Government employer plan (state, county, city or school district); aca_individual = Individual or Marketplace (ACA) plan; medicare_advantage = Medicare Advantage plan; medicaid_managed = Medicaid managed care plan; medicaid_ffs = Medicaid (state agency, no managed care plan); original_medicare = Original Medicare; fehb = Federal employee plan (FEHB)
letter_dateNoDate printed on the letter, if the reader missed it
letter_textYesThe full text of the denial letter, verbatim
part_b_drugNo
self_fundedNoEmployer plan paid by the employer itself (often 'self-funded', 'claims administrator')
claim_numberNo
insurer_nameNo
patient_nameNo
grandfatheredNo
provider_nameNo
received_dateNoDay the person actually received the letter, if they say
service_deniedNo
reason_categoryNo
two_level_appealsNoEmployer plan with two internal appeal levels
internal_appeal_levelNofinal = this letter denies an appeal already filed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish a safe, idempotent, closed-world read, so the description is correctly spending its words elsewhere: it discloses that deadlines are computed deterministically in code from the cited regulation rather than guessed, that a draft appeal letter is produced, and that it declines medical-necessity judgments. It adds nothing about behavior under poor or truncated letter text, which is the main residual risk for a text-analysis tool.

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?

It is front-loaded with the trigger, then the return payload, then behavioral caveats, and no sentence is filler. The style is telegraphic and a couple of fragments ("The optional fields correct something the person stated") read tersely, but nothing is wasted.

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 an 18-parameter tool with no output schema, the description compensates well by enumerating the returned artifacts and flagging the code-computed deadline, so an agent knows what to expect back. The residual gap is coverage of the more opaque optional inputs and any statement about error handling for unreadable letters, which keeps it short of a 5.

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?

With 18 parameters and only 50% schema description coverage, the description carries part of the burden: "Pass the letter text verbatim" clarifies the required field's expected form, and "The optional fields correct something the person stated" frames the role of the many optional correctors (e.g. letter_date, received_date, plan_type). The remaining undocumented fields (member_id, claim_number, insurer_name, patient_name, provider_name, service_denied, part_b_drug) get no mention at all, leaving the description at the minimum-viable level for this schema size.

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?

The description names a concrete input (a pasted or uploaded denial letter, EOB, or adverse benefit determination) and enumerates the outputs: what was denied, reason category, plan type, computed appeal deadline, next step, and draft appeal letter. "Pass the letter text verbatim" makes the core operation unambiguous and separates it from a pure deadline calculator like appeal_deadlines.

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?

The opening clause is an explicit activation trigger ("Use when someone pastes or uploads a health insurance denial, EOB or adverse benefit determination"), and "The tool does not assess medical necessity" is a clear out-of-scope boundary. What's missing is an explicit handoff, e.g. when to use the sibling appeal_deadlines instead, which is left 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.

Resources