Skip to main content
Glama

getnpidata

Find providers

find_providers
Read-onlyIdempotent

Find providers from a plain request, the way the site's search box reads it: a specialty and/or a place, optionally a health plan, e.g. "cardiologists in Albany, NY", "pediatric dentist near 12207", "oral surgeons in Suffolk County NY that take Aetna", "family doctors in Buffalo NY who accept Medicare". Returns what was understood, notes (for example when a plan can't be filtered by) and one page of matches with their profile URLs. For a person by name, or to compare named doctors, use search_providers with lastName and firstName for each, then lookup_npi. There are no patient ratings: "best" or "top rated" doesn't change the order.

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": {
      "query": "<query>"
    },
    "name": "find_providers"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, from 1.
queryYesWhat to look for, in plain words: a specialty, a place (city and state, county, state or 5-digit ZIP), or both, and optionally a health plan or Medicare/Medicaid.
pageSizeNoRows per page, 1 to 50 (default 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"What to look for, in plain words: a specialty, a place (city and state, county, state or 5-digit ZIP), or both."New value: +"What to look for, in plain words: a specialty, a place (city and state, county, state or 5-digit ZIP), or both, and optionally a health plan or Medicare/Medicaid."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld=false, so the safety profile is covered. Beyond that, the description discloses non-obvious behavior: it echoes 'what was understood', can emit notes (e.g. when a plan can't be filtered on), returns exactly one page of matches with profile URLs, and has no ratings-driven ranking. It doesn't discuss auth, rate limits, or error/no-match handling, so not a 5.

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?

Front-loaded with the core action, followed by examples, return shape, and the sibling routing note — a sensible order. It is a dense single paragraph and the four examples are slightly redundant with each other, but each demonstrates a distinct input dimension (place, ZIP, county, plan), so little is wasted.

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?

Despite having no output schema, the description explains what comes back (parsed understanding, notes, one page of matches with profile URLs), which is the key missing structured information. For a 3-parameter, read-only, idempotent search with full schema coverage and full annotations, nothing an agent needs in order to call it correctly is absent.

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 description coverage is 100%, so page/pageSize/query are already documented and baseline is 3. The description adds real interpretive value by enumerating acceptable query content (specialty, city+state, county, state, 5-digit ZIP, health plan, Medicare/Medicaid) and showing concrete phrasings, which helps an agent compose a valid free-text query rather than guess at syntax.

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

Purpose5/5

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

States a specific verb and resource ('Find providers') and immediately pins down the input form: a plain search-box-style request with a specialty and/or place plus optional plan. The four worked examples ('cardiologists in Albany, NY', 'pediatric dentist near 12207', etc.) make the scope concrete, and the explicit contrast with search_providers (by name) / lookup_npi separates it from siblings without needing to open any schema.

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?

Gives both a when-to-use and a when-not-to-use: this tool for specialty/place/plan discovery, and a named alternative path (search_providers with lastName and firstName per doctor, then lookup_npi) for finding a person by name or comparing named doctors. It also pre-empts a common misuse by stating that 'best'/'top rated' does not reorder results.

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