Skip to main content
Glama

Check doctors and drugs

check_coverage
Read-onlyIdempotent

Check whether plans cover specific medications (by RxCUI) and have specific doctors in network (by NPI). Use search_drugs and search_doctors first to get the ids. Each result has a status: covered, not_covered, generic_covered (the generic version is covered; confirm the brand with the insurer) or unknown. unknown means the plan gave CMS no coverage data for that item. It does NOT mean not covered: tell the person to confirm with the insurer.

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": {
      "plan_ids": "<plan_ids>"
    },
    "name": "check_coverage"
  }
}

Input Schema

NameRequiredDescriptionDefault
npisNo
rxcuisNo
plan_idsYesplan_id values from search_plans

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare this a read-only, idempotent, non-destructive lookup, so the safety profile is covered. The description adds genuinely non-obvious behavior: the meaning of each status value, that unknown reflects missing CMS data rather than a denial, and the required downstream action ('tell the person to confirm with the insurer'). It omits anything about how the two id arrays are cross-referenced or what happens when one is empty.

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?

Four sentences, front-loaded with what the tool does before the workflow hint and then the result interpretation. Every sentence carries information the agent cannot get from the structured fields, particularly the unknown-vs-not-covered warning.

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 3-parameter tool with no output schema, the description usefully explains the returned status field and its edge case, which is the main thing an agent needs to report results. It leaves one gap: npis and rxcuis both default to empty and there is no statement of whether at least one must be supplied or what an empty result means.

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

Parameters5/5

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

With only 33% schema coverage, the description carries the burden and does so: it explains that rxcuis are RxCUI medication identifiers and npis are NPI doctor identifiers, and it directs the agent to search_drugs/search_doctors for valid values. That is meaningful semantics beyond the bare 'type: string' arrays in the schema.

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 specific verb and two specific resources: checking plan coverage for medications (by RxCUI) and in-network doctors (by NPI). It is clearly separable from search_drugs, search_doctors, search_plans and get_plan, which only supply the ids this tool consumes.

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?

It states a concrete prerequisite workflow ('Use search_drugs and search_doctors first to get the ids') and the schema points plan_ids at search_plans, so the agent knows the correct call order. It does not state any exclusion, such as when to prefer get_plan for broader plan details, so usage is clear but not fully bounded.

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