Skip to main content
Glama

PlanRefer

Search Marketplace plans and prices

search_plans
Read-only

Marketplace plans for a ZIP code, with prices after tax credits, for 2026 and 2027. It returns the first 25 plans unless limit asks for more, up to 100. When total is larger than shown, more plans exist, so call again with a larger limit. Use this when a person asks which Marketplace plans they can buy or what a plan would cost them. It takes the same household answers as check_eligibility.

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": {
      "zip": "<zip>",
      "maritalStatus": "<maritalStatus>",
      "grossAnnualIncome": "<grossAnnualIncome>",
      "applicant": "<applicant>"
    },
    "name": "search_plans"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipYesThe 5 digit US ZIP code.
aiAnNoTrue if the applicant is American Indian or Alaska Native.
limitNoHow many plans to return, from 1 to 100. 25 if left out. Plans come in the order PlanRefer lists them. When total is larger than shown, more plans exist: call again with a larger limit to see them.
jobOfferNoThe job offer, when hasJobOffer is true.
applicantYesThe person asking.
countyFipsNoThe 5 digit county code. Send it only after a tool listed the counties for a ZIP code that sits in more than one county.
hasJobOfferNoAsk only when this tool lists jobOffer in ask: can the applicant or someone at home get health insurance through a job? False means no. Leave it out if you did not ask. Never send yes or no for a question you did not ask.
otherPeopleNoEveryone else in the household: the spouse and the tax dependents. Leave it out for a household of one.
ssiRecipientNoAsk only when the applicant is disabled: do they get SSI? Leave it out if you did not ask. Never send yes or no for a question you did not ask.
maritalStatusYesThe applicant's marital status. If married, list the spouse in otherPeople.
medicallyFrailNoTrue if the applicant is medically frail.
taxFilingStatusNoHow the household files taxes. Leave it out to use single, or married filing jointly for a married applicant.
medicareEnrolledNoAsk a person who is disabled, or 65 or older: do they have Medicare now? Leave it out if you did not ask. Never send yes or no for a question you did not ask.
otherCoverageNowNoAsk only when this tool lists it in ask. Leave it out if you did not ask. Never send yes or no for a question you did not ask.
pretaxDeductionsNoYearly deductions taken before tax, in dollars.
grossAnnualIncomeYesThe household's gross income for a year, in dollars, before any deductions. Leave out income you give for a person in otherPeople.
parentsLivingWithNoNeeded when taxFilingStatus is not_filing and the applicant is under 19, or a full-time student under 21 where the state counts students: how many of their parents live with them.
snapWorkCompliantNoTrue if the applicant meets the work rules of SNAP.
tanfWorkCompliantNoTrue if the applicant meets the work rules of TANF.
siblingsLivingWithNoNeeded in the same case: how many brothers and sisters under 19 live with them, plus full-time students under 21 where the state counts students.
childHealthInsuranceNoAsk only when this tool lists it in ask.
formerFosterCareYouthNoTrue if the applicant was in foster care.
domesticViolenceReliefNoTrue if the applicant is married and qualifies for relief from filing jointly because of domestic violence or abandonment.
inDrugOrAlcoholTreatmentNoTrue if the applicant is in drug or alcohol treatment.
caretakerOfChild13OrUnderNoTrue if the applicant cares for a child 13 or under.
inmateOfPublicInstitutionNoAsk only when this tool lists it in ask: is the applicant in jail or prison right now? Leave it out if you did not ask. Never send yes or no for a question you did not ask.
awaitingChargesDispositionNoAsk only when this tool lists it in ask. Leave it out if you did not ask. Never send yes or no for a question you did not ask.
caretakerOfDisabledIndividualNoTrue if the applicant cares for a person with a disability.
hadBabyInLast12MonthsOnMedicaidNoAsk only when this tool lists it in ask. Leave it out if you did not ask. Never send yes or no for a question you did not ask.
communityEngagementHoursPerMonthNoHours a month of work, study or community service.
veteranWithTotalDisabilityRatingNoTrue if the applicant is a veteran with a total disability rating.

Output Schema

NameRequiredDescriptionDefault
askNoQuestions to put to the person. Send each answer in the field named, with every earlier answer, in the next call.
yearNoThe plan year of the prices. 2027 prices that are not final say so in year2027.kind.
plansNo
shownNoHow many plans are in plans. When total is larger than shown, more plans exist.
stateNo
totalNoHow many plans PlanRefer found for this household.
countyNo
statusYes
handoffNo
messageNoWhat to do next, in plain words.
missingNo
countiesNo
context2027No

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely new behavior: default page size of 25, a hard cap of 100, and the rule that a total larger than what is shown means re-calling with a larger limit. It does not disclose the 'ask' follow-up mechanism that its own parameters reference, which is the notable gap.

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?

Five short sentences, front-loaded with what is returned and its scope, then pagination, then the usage trigger, then the cross-tool hint. Every sentence carries information an agent would otherwise have to infer.

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 31-parameter nested mutation-free search with an output schema, the description covers purpose, cost semantics, pagination and cross-tool input reuse, which is most of what is needed. The remaining gap is the response-side 'ask' list that several parameter descriptions defer to, which the description never mentions.

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 coverage is 100%, so the baseline is 3; the description earns above that by telling the agent these are the same household answers used by check_eligibility, which frames how to assemble a 31-parameter nested payload consistently across tools. It still adds no per-parameter detail beyond what the schema already says.

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 (Marketplace plans and prices) with scope qualifiers: ZIP code, prices after tax credits, years 2026 and 2027. An agent can distinguish it from siblings like get_plan_details or check_eligibility without opening a schema.

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?

Gives explicit user-intent triggers ('when a person asks which Marketplace plans they can buy or what a plan would cost them') and points to check_eligibility as the source of the same household answers. It stops short of naming when NOT to use it, e.g. versus get_plan_details for a single plan's specifics, so it is clear but not fully exclusionary.

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