Skip to main content
Glama

MedBillAnalyzer

Unlock a case

unlock_case

Begin payment to unlock the full findings, the dispute letter and the phone script. Returns a checkout URL; it never charges anything itself. A case with no findings is refused: there is nothing to buy, and the user pays nothing when nothing is found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planNo"one_bill" is $10 for this bill. "subscription" is a $10-a-month membership that unlocks up to 25 bills a calendar month for anyone in a household.
case_idYes
membership_tokenNoAn existing membership. If the user already subscribed, pass the token they were given and this bill unlocks immediately with nothing charged — a membership covers up to 25 bills a calendar month, including other people in the family. A membership that has used its 25 bills for the month answers membership_cap_reached; it is still valid, and a one-off unlock still works.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare it is a non-read-only, open-world, non-idempotent, non-destructive operation; the description adds genuinely new behavior: it only returns a checkout URL and never charges anything itself, and it refuses cases with no findings so no money is taken. This is exactly the kind of consequence-level context annotations cannot convey.

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, each earning its place: the action and return value first, then the no-charge clarification, then the refusal rule. No filler or repetition of the schema.

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?

With no output schema, the description correctly supplies the return value (checkout URL) and the refusal outcome. The membership path is only covered inside the parameter schema, so the prose alone is slightly incomplete for the full unlock flow, but nothing needed to invoke the tool is missing.

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 67% and the two optional parameters (plan, membership_token) already carry detailed inline descriptions covering pricing, the 25-bill cap, and immediate unlock behavior. The prose adds no further parameter meaning, so the schema-dominant baseline of 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 concrete verb (begin payment) and the concrete outcome (unlock findings, dispute letter, phone script), plus the returned artifact (checkout URL). This is clearly distinguishable from siblings like get_case, get_case_outputs, or check_medical_bill.

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 a clear precondition for use and a failure case: a case with no findings is refused and the user pays nothing. It does not explicitly name an alternative (e.g. when to read a case for free instead of unlocking it), so it stops short of full when/when-not routing.

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