Skip to main content
Glama

getnpidata

Check licenses and exclusions

check_licenses_and_exclusions
Read-onlyIdempotent

Credentialing checks for one NPI: whether it is active in NPPES, the state license records matched to it (status, expiration, board actions) from the states that publish them, the license numbers the provider reported to NPPES, the OIG exclusion list (LEIE), Medicare opt-out, Medicare order and referring eligibility, and state Medicaid enrollment.

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": {
      "npi": "<npi>"
    },
    "name": "check_licenses_and_exclusions"
  }
}

Input Schema

NameRequiredDescriptionDefault
npiYesThe 10-digit NPI.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety is covered and the description is not required to restate it. The description earns credit for two things annotations cannot express: the qualifier 'from the states that publish them', which warns that license results are coverage-dependent and may be incomplete, and the enumeration of result content in the absence of an output schema. It does not address behavior on an unknown or malformed NPI, which is the main remaining gap.

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 one sentence, front-loaded with the scope and use case before the enumeration of checks. The long list is justified because with no output schema it is the only place an agent learns what the response contains. Minor deduction for a dense, comma-heavy run-on that lacks grouping between license-related checks and exclusion/enrollment checks.

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 single-parameter read-only lookup with no output schema, the description covers the essential burden: it tells the agent what categories of data come back and flags that state license coverage is not universal. Combined with annotations that cover safety and idempotency, an agent has enough to call it correctly. What is missing is failure behavior for invalid NPIs and any hint about response size or partial-result handling.

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?

There is a single parameter with 100% schema description coverage ('The 10-digit NPI'), so the schema already does the work and baseline 3 applies. The description adds only the scope constraint 'for one NPI', quietly implying single-provider rather than batch invocation, and adds nothing about formatting, validation, or how a non-NPI input is handled.

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+resource framing ('Credentialing checks for one NPI') and then enumerates exactly which checks are run: NPPES active status, state license records, self-reported license numbers, LEIE, Medicare opt-out, order/referring eligibility, and state Medicaid enrollment. That is concrete and unambiguous about what the tool returns. It stops short of a 5 because it never distinguishes itself from close siblings such as lookup_npi or verify_npis, so an agent must infer the boundary.

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

Usage Guidelines2/5

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

The phrase 'Credentialing checks' implies a credentialing/enrollment-verification context, which is a weak usage cue. There is no explicit when-to-use statement, no when-not-to-use, and no pointer to the alternative NPI tools in the sibling set (lookup_npi, verify_npis) that an agent would need in order to route correctly. Sibling disambiguation is left entirely 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.

Resources