Skip to main content
Glama

Report what happened after the letter

report_outcome

Record what happened after the patient sent the dispute letter: corrected, reduced, refused, ignored, still waiting, or not sent. Free. Every answer counts equally, and it is kept only as an aggregate count — nothing about it is stored against the case. This product can tell that two documents disagreed; only these reports show whether saying so to a billing office changes anything.

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": {
      "case_id": "<case_id>",
      "outcome": "<outcome>"
    },
    "name": "report_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
case_idYesThe case id returned by check_medical_bill (it starts with `case_`).
outcomeYes`corrected` the charge was removed in full; `reduced` some of it came off; `refused` they said no; `ignored` no reply at all; `waiting` sent but nothing back yet; `not_sent` the patient decided not to send it.
amount_written_offNoWhat the provider actually took off the bill, as printed — "$412.30". The one number that says whether any of this works. Omit if nothing came off or it is not known yet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / case_id / description
      Added value: +"The case id returned by check_medical_bill (it starts with `case_`)."
  2. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Adds real behavioral value beyond the annotations: the call is free, responses are kept only as aggregate counts, and nothing is tied back to the case — important privacy context for a mutation tool. However, idempotentHint is false and the description never says whether a second report adds another count or replaces the first, which is the single most consequential unknown for an agent calling this.

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?

Three sentences, front-loaded with the action and the outcome set, then the privacy guarantee. The closing sentence leans promotional but still conveys why the report matters, so it mostly earns its space though it could be trimmed.

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 three-parameter write tool with no output schema, this covers purpose, cost, and data handling well. The remaining gap is the non-idempotent behavior and what the call returns, neither of which the annotations or schema settle.

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 100%, so parameter meaning is largely carried by the schema, and the description reinforces that all outcome answers are weighted equally. It adds little on case_id or amount_written_off beyond what the schema already documents, so it stays near the baseline rather than above it.

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 ('Record what happened after the patient sent the dispute letter') and enumerates the possible outcomes, which clearly separates it from check_medical_bill, get_case, and the other siblings. An agent can identify the tool from the description alone.

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 context is clear: this is the follow-up step after a dispute letter, and the presence of the 'not_sent' outcome signals it is also valid when the patient never mailed anything. It does not name alternatives or state exclusions, but the usage moment is unambiguous.

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