Skip to main content
Glama

getnpidata

Verify NPIs

verify_npis
Read-onlyIdempotent

Check a list of NPIs at once: each comes back once, in order, as found (with its summary), deactivated (with the date), notFound or invalid (wrong format or check digit), with exclusion and Medicare opt-out dates. With changedSince, also what changed for each since that date.

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": {
      "npis": "<npis>"
    },
    "name": "verify_npis"
  }
}

Input Schema

NameRequiredDescriptionDefault
npisYesThe NPIs, 10 digits each.
changedSinceNoOptional date, YYYY-MM-DD: list what changed for each NPI after it.

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/closed-world, so the bar is lower, and the description still contributes substantial behavior: exactly one result per input NPI, results returned in input order, the four possible statuses, and the reason invalid NPIs are invalid (format or check digit). It also discloses that exclusion and Medicare opt-out dates accompany results. Rate limits or maximum batch size are the only notable omissions.

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, both front-loaded with the highest-value information: batch/order/one-result-per-input first, then the status vocabulary, then the optional changedSince mode. No filler or repetition of the title.

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 correctly carries the return-value burden and enumerates every response category plus the accompanying dates, which is what an agent needs to interpret results. It falls short only on operational limits (batch size, handling of duplicates or mixed valid/invalid lists) for a tool that takes an arbitrary-length array.

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%, so both parameters are already documented in the schema. The description restates that changedSince surfaces per-NPI changes after that date but adds no format, boundary, or default detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb+resource (check a list of NPIs) and makes batch scope explicit with 'at once', which implicitly contrasts with single-record siblings like lookup_npi. It never names that alternative, so the differentiation is inferable rather than stated.

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?

The batch framing implies you should use this when you have many NPIs rather than one, and it explains what the optional changedSince mode adds. There is no explicit when-not, no stated batch-size limit, and no named alternative tool for single lookups.

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