Skip to main content
Glama

Ny Fee Search

ny_fee_search
Read-onlyIdempotent

Search the New York Medicaid statewide fee schedules (New York State Department of Health, Medicaid provider manuals, eMedNY) by description and/or code prefix, e.g. "glucose", or code_prefix "7104" for chest imaging CPT codes, or prefix "D11" for dental cleanings. Every word of the query must appear in the description; results carry code, description (null for CPT and dental CDT codes: AMA/ADA-licensed text is not served, so word search reaches HCPCS Level II rows; find CPT and dental rows by code_prefix), fees, flags, manual, section and effective date. Physician descriptions are truncated by the publisher to 40 characters. Fee-for-service schedule per code, not clinic or FQHC rates. An unmatched query returns the rows that match some of its words and the valid manuals.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 5,
      "query": "glucose"
    },
    "name": "ny_fee_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (default 25, max 200).
queryNoDescription words, e.g. "glucose" or "wheelchair". All words must appear.
manualNoOptional: one schedule key, e.g. "physician-radiology", "laboratory", "dme", "dental".
code_prefixNoOptional code prefix as a string, e.g. "9921", "D11", "J1".

Output Schema

NameRequiredDescriptionDefault
rowsNo
queryNo
scopeNo
manualNo
sourceNo
matchedNo
returnedNo
truncatedNo
data_as_ofNo
captured_atNo
code_prefixNo
how_to_readNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, and the description adds substantial non-structured behavior: AMA/ADA licensing means CPT and CDT descriptions are null, physician descriptions are truncated to 40 characters, and unmatched queries degrade to partial matches rather than failing. It also discloses the row-level fields returned and the fee-service scope limit.

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?

It is front-loaded with purpose and examples, then layers caveats, which is the right order. The single dense paragraph with stacked parentheticals is harder to scan than it needs to be, and 'Every word of the query must appear in the description' partly restates the schema, but almost every clause carries real information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter, all-optional search tool with an output schema, this covers the remaining gaps: what the corpus is, what rows are excluded (clinic/FQHC), why some descriptions are null, truncation, and fallback behavior on no matches. Nothing an agent needs to call it correctly or interpret results is missing.

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, but the description earns more: it explains that query words are ANDed across the description, that this makes description search unusable for CPT/CDT rows, and it gives semantic examples for code_prefix ("7104" = chest imaging CPT, "D11" = dental cleanings) that go beyond the schema's bare examples.

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 opens with a specific verb and resource: 'Search the New York Medicaid statewide fee schedules ... by description and/or code prefix,' and reinforces it with three concrete query examples ("glucose", code_prefix "7104", "D11"). It clarifies the data source (DOH, provider manuals, eMedNY) and the rate scope, but never contrasts itself with the obvious sibling ny_fee_lookup or ny_fee_manuals, so sibling differentiation is only implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit routing rules: use query for word matching on HCPCS Level II rows, use code_prefix to reach CPT and dental CDT rows that have null descriptions, and expect an unmatched query to fall back to partial-word rows plus valid manuals. It also states a clear exclusion: 'Fee-for-service schedule per code, not clinic or FQHC rates.' An agent knows which parameter path to take and what result set to expect.

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.