Skip to main content
Glama

PlanRefer

Find doctors and hospitals

find_providers
Read-only

Find doctors and hospitals near a ZIP code. It does not say whether one is in a plan's network. Use this when a person asks for a doctor or a hospital by name near a ZIP code.

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

Input Schema

NameRequiredDescriptionDefault
zipYesThe 5 digit US ZIP code.
kindYesdoctor to look up a doctor by name, hospital to look up a hospital or facility by name.
queryYesThe name, or part of the name, of the doctor or hospital.

Output Schema

NameRequiredDescriptionDefault
totalYes
statusYes
doctorsNo
hospitalsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, and closed-world, so safety is covered. The description adds genuinely non-structured information: results do not tell you whether a provider is in a plan's network — a caveat that prevents a common downstream error. It does not cover result volume, ranking, or what happens when the name is ambiguous, which holds it at 4.

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 short sentences: the first states the capability, the second the usage trigger, with the most consequential limitation (no network status) placed early. No filler, no restatement of the title, and nothing an agent must read twice.

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 an output schema present and rich annotations, the description only needs to carry purpose, trigger, and the non-obvious output limitation, all of which it does. The remaining gap is minor: nothing about how many providers come back or how partial-name matches behave, which matters for a lookup tool an agent may call repeatedly.

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%, including enum meanings for kind and length/pattern constraints for zip and query, so the schema carries the parameter burden. The description only restates the ZIP and name-based lookup dimensions already documented there. 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?

The description names a specific verb and two specific resources ("Find doctors and hospitals") plus the scoping dimension ("near a ZIP code"), so the operation is unambiguous. It also draws a hard boundary on what is not returned (in-plan network status), which differentiates it from plan-oriented siblings. It stops short of naming any sibling tool by name, which keeps it from a 5.

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

Usage Guidelines4/5

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

"Use this when a person asks for a doctor or a hospital by name near a ZIP code" is an explicit positive trigger, and the network-status caveat implicitly rules out provider-network questions. However, it never names the alternative an agent should use for in-network lookups, so the agent must infer the fallback from sibling names.

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