Skip to main content
Glama
costkits

costkits-mcp

Official
by costkits

estimate_procedure_cost

Estimate medical procedure costs in a US state, including allowed-amount range, billing components, risk flags, and out-of-pocket expense based on insurance details.

Instructions

Estimate what a medical procedure costs in a US state: allowed-amount range (low/median/high), billing components, risk flags, and — if insurance details are given — the patient's expected out-of-pocket. Use resolve_procedure first if the user gave a free-text procedure name. Always present ranges, not single numbers, and cite the returned data_vintage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYes2-letter US state code, e.g. 'CT'
zip_codeNoOptional 5-digit ZIP for locality
plan_typeNoInsurance plan type (default commercial)
procedureYesProcedure slug or plain name, e.g. 'colonoscopy' or 'mri-knee'
oop_remainingNoDollars left to the member's out-of-pocket max
coinsurance_pctNoCoinsurance percentage, e.g. 20 for 20%
deductible_remainingNoDollars left on the member's deductible
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that outputs include ranges (not single numbers), conditional out-of-pocket calculation based on insurance details, and the need to resolve free-text procedures. It does not mention authorization requirements or side effects, but the behavioral description is sufficiently detailed for an estimation tool.

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?

The description is two sentences long, with the first sentence immediately stating the primary purpose and outputs. There is no redundancy or filler; every sentence is purposeful.

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?

Given the complexity (7 params, no output schema), the description covers key aspects: inputs, conditional logic, output format (ranges, data_vintage), and a cross-reference to resolve_procedure. It could be more explicit about return value structure, but it is complete enough for selection.

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 the baseline is 3. The description adds value by explaining that insurance parameters (oop_remaining, coinsurance_pct, deductible_remaining) trigger out-of-pocket estimation and clarifying acceptable inputs for 'procedure' (slug or plain name).

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 uses specific verbs ('Estimate') and identifies the resource ('medical procedure costs in a US state'). It enumerates distinct outputs (allowed-amount range, billing components, risk flags, out-of-pocket) and hints at the prerequisite use of resolve_procedure, distinguishing it from sibling tools.

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 description explicitly advises using resolve_procedure first for free-text procedure names, and instructs to present ranges and cite data_vintage. However, it does not provide guidance on when to choose this tool over other siblings like full_estimate or demo_estimate, though the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/costkits/costkits-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server