Skip to main content
Glama

Plan details

get_plan
Read-onlyIdempotent

Details of one Marketplace (ACA) or Medicare Advantage plan by plan ID: name, insurer or organization, state or service area, plan type, metal level, the plan years we hold, and whether we hold its directory listings, with their as_of date. Costs 1 call.

Input Schema

NameRequiredDescriptionDefault
yearNoPlan year, e.g. 2026. Optional; by default all plan years we hold are considered.
plan_idYesPlan ID. Marketplace (ACA) plans: 14 characters like "29276OH0970001" (a 16-character "-01" variant form is accepted). Medicare Advantage plans: "H1234-001-000" (the segment "-000" is optional).

Output Schema

NameRequiredDescriptionDefault
dataYesThe answer. Same shape as the matching InPlan API v1 endpoint.
notesNoHow to read the answer.
sourcesYesSource types behind the answer (insurer_directory, plan_directory, provider_registry, plan_catalog), each with its as_of date.
data_as_ofYesDate (YYYY-MM-DD) of the newest data behind this answer.
request_idYesRequest id; quote it when you contact support.

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 cover read-only, idempotent, closed-world and non-destructive, so the description earns credit for what it adds: 'Costs 1 call' discloses a quota/rate-limit consideration, and it states that directory listings carry an as_of date. It stops short of saying what happens when the plan ID is unknown (empty result vs. error), which is the one behavioral gap an agent would care about.

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?

Two sentences, front-loaded with the identifier and scope, with no filler. The long mid-sentence enumeration of returned fields is the weakest part, since an output schema already exists and makes that listing largely redundant.

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?

With only two parameters at full schema coverage, rich annotations, and an output schema carrying the return shape, the description supplies everything still missing: which plan families are supported and the per-call cost. Nothing an agent needs in order to invoke this correctly is absent.

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% and the schema itself carries the detailed ID formats (14-char ACA, H1234-001-000 MA) and the default-all-years behavior of 'year'. The description only restates that lookup is by plan ID and repeats the two plan families, adding no semantics beyond the schema. 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 states a specific verb and resource ('Details of one ... plan by plan ID') and scopes it to a single record, which is clearly distinct from batch/lookup siblings like check_network_batch or lookup_provider. It never explicitly contrasts itself with siblings such as coverage or plans_for_provider, so an agent must infer the boundary from the singular 'one plan by plan ID' framing.

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: 'by plan ID' signals this is the retrieval step once an ID is known, and the two plan families named tell the agent both are accepted. There is no explicit when-to-use, no when-not, and no pointer to which sibling to call first to obtain a plan ID.

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