Skip to main content
Glama

Senior Legit CMS Care Provider Records

lookup_provider_by_ccn

Read-onlyIdempotent

Look up a Medicare-certified U.S. care provider by 6-character CMS Certification Number (CCN) and provider type (nh, hh, hospice, dialysis, irf, ltch). Returns official CMS ratings, citations, fines, staffing, and canonical URL, or "Not in the federal record."

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": {
      "ccn": "<ccn>"
    },
    "name": "lookup_provider_by_ccn"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccnYes6-character CMS Certification Number (CCN).
typeNoCMS provider type (nh, hh, hospice, dialysis, irf, ltch).nh

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. Beyond that, the description usefully discloses the payload shape (ratings, citations, fines, staffing, canonical URL) and, importantly, the not-found behavior ('Not in the federal record.'), which tells the agent how to interpret an empty result rather than treating it as an error. It does not mention whether a type/CCN mismatch yields the same not-found string.

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?

Two sentences with zero filler: the first states the lookup and its key, the second states what comes back including the miss case. The identification key is front-loaded and the return contract follows immediately, so an agent gets the essentials in a single pass.

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 two-parameter read tool with no output schema, the description covers input format, scope, returned data categories, and the not-found sentinel, which is essentially everything needed to invoke and interpret it. The only residual ambiguity is the interaction between the 'type' parameter and the CCN, but that is a minor edge for a tool this simple.

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 100% and both parameters are documented there, including the enum values and the CCN pattern, so the description's restatement of '6-character CCN' and the type list adds no new meaning. Baseline 3 applies when the schema does the heavy lifting. The one gap neither field addresses - whether CCN format encodes provider type, making 'type' redundant or authoritative - is left unexplored.

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 gives a specific verb ('Look up') plus the exact resource and key: a Medicare-certified U.S. care provider identified by a 6-character CCN. The enumeration of provider types and the returned data (ratings, citations, fines, staffing, URL) makes the scope concrete, and the CCN keying implicitly separates it from the zip-based sibling. It stops short of explicitly naming an alternative, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

Usage is only implied: the agent can infer it should call this when it holds a CCN, and the 6-character requirement is stated. There is no explicit 'use X instead when you only have a name or ZIP' routing to search_providers_by_zip, and no note about what to do if the provider type is unknown or mismatched. That leaves the when-to-use decision to inference.

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.