Skip to main content
Glama

health_hcpcs_batch

Read-only

HCPCS Level II code check (batch) — Check up to 30 HCPCS Level II codes (DME, supplies, drugs, ambulance): ACTIVE vs TERMINATED vs NOT_FOUND, long and short descriptions, category, added/termination dates, NOC (not-otherwise-classified) flags that need a claim narrative; 5-digit CPT codes are recognized and flagged. codes = list separated by ,. For DME billing and claims agents. Price: $0.015 USDC (Base, via x402).

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": {
      "codes": "<codes>"
    },
    "name": "health_hcpcs_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
codesYese.g. E0601,J1100,A4253,E1399

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, and the description adds genuinely non-redundant behavior: a 30-code batch ceiling, the price ($0.015 USDC via x402 on Base), and the fact that NOC flags require a claim narrative. It does not describe error behavior when the batch exceeds 30 or when codes are malformed, which would complete the picture for a paid call.

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?

Purpose and the 30-code cap are front-loaded, and every clause carries information (coverage scope, return fields, NOC caveat, format, price, audience). The semicolon-chained middle section is dense and would scan better as short bullets, but there is no filler.

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 compensates by enumerating the returned fields (status class, long/short descriptions, category, dates, NOC flags), and it discloses batch limits, cost, and format. Remaining gaps are error/overflow behavior and explicit routing against the single-code sibling.

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 coverage is 100% and the single 'codes' property already carries an example (E0601,J1100,...), so the schema does most of the work. The description adds the comma-delimited format statement and the 30-item cap, which is helpful but modest value over the structured data — the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Check up to 30 HCPCS Level II codes') and enumerates the outcome classes (ACTIVE/TERMINATED/NOT_FOUND) plus returned fields, so the agent knows exactly what it gets. It implicitly distinguishes itself from the singular health_hcpcs via the batch size cap, but never names or contrasts with that sibling explicitly.

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 scopes usage to 'DME billing and claims agents' and, more usefully, states that HCPCS Level II covers DME, supplies, drugs, ambulance while 5-digit CPT codes are only 'recognized and flagged' — an implicit when-not for CPT lookups. Missing is an explicit statement of when to call this versus the single-code health_hcpcs variant or the sibling batch validators.

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