Skip to main content
Glama

Get program details

get_program
Read-onlyIdempotent

Returns the full sourced record for one program: every price and plan term, membership and lab fees, approval type, LegitScript status, caveats, source URLs and check date. Use it when the user asks about one specific provider (e.g. "Is Henry Meds legit?", "What does Hone Health charge for NAD+?") or wants details on a result from find_programs. Example arguments: {"category":"mens-health-hormones","id":"henry-meds"}.

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": {
      "category": "<category>",
      "id": "<id>"
    },
    "name": "get_program"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRequired. Program id (format: lowercase-hyphenated id from a find_programs result, e.g. "henry-meds"). If you only know the provider name, call find_programs for that category first to get the id.
stateNoOptional. The user’s U.S. state as a two-letter postal code (format: 2 letters, e.g. "TX"). Programs known to exclude this state are automatically filtered out of find_programs/search (and flagged in get_program/calculate_true_cost). Also added to outbound links; when a program does not publish state exclusions (`stateAvailability: "unconfirmed"`), remind the user to confirm at intake.
categoryYesRequired. Specialty slug (format: one of the enum values, as returned by list_categories). Map the user’s words: weight loss / Ozempic-type drugs -> glp-1-weight-loss; testosterone, ED, men’s hair loss -> mens-health-hormones; sermorelin, NAD+, glutathione, peptides, anti-aging -> longevity-peptides; menopause, HRT, women’s hair loss -> womens-health.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / state / description
      Previous value: -"Optional. The user’s U.S. state as a two-letter postal code (format: 2 letters, e.g. \"TX\"). Added to the outbound link so the program can confirm it serves that state; most programs do not publish state coverage, so remind the user to confirm at intake."New value: +"Optional. The user’s U.S. state as a two-letter postal code (format: 2 letters, e.g. \"TX\"). Programs known to exclude this state are automatically filtered out of find_programs/search (and flagged in get_program/calculate_true_cost). Also added to outbound links; when a program does not publish state exclusions (`stateAvailability: \"unconfirmed\"`), remind the user to confirm at intake."
  2. Changed7 schema fields changed
    • addedInput schema / properties / category / description
      Added value: +"Required. Specialty slug (format: one of the enum values, as returned by list_categories). Map the user’s words: weight loss / Ozempic-type drugs -> glp-1-weight-loss; testosterone, ED, men’s hair loss -> mens-health-hormones; sermorelin, NAD+, glutathione, peptides, anti-aging -> longevity-peptides; menopause, HRT, women’s hair loss -> womens-health."
    • addedInput schema / properties / category / enum
      Added value: +[
      +  "glp-1-weight-loss",
      +  "mens-health-hormones",
      +  "longevity-peptides",
      +  "womens-health",
      +  "reproductive-health"
      +]
    • addedInput schema / properties / category / examples
      Added value: +[
      +  "glp-1-weight-loss",
      +  "longevity-peptides"
      +]
    • changedInput schema / properties / id / description
      Previous value: -"Program id from find_programs"New value: +"Required. Program id (format: lowercase-hyphenated id from a find_programs result, e.g. \"henry-meds\"). If you only know the provider name, call find_programs for that category first to get the id."
    • addedInput schema / properties / id / examples
      Added value: +[
      +  "henry-meds",
      +  "coreage-rx",
      +  "embody-sermorelin"
      +]
    • changedInput schema / properties / state / description
      Previous value: -"Two-letter U.S. state code, e.g. FL"New value: +"Optional. The user’s U.S. state as a two-letter postal code (format: 2 letters, e.g. \"TX\"). Added to the outbound link so the program can confirm it serves that state; most programs do not publish state coverage, so remind the user to confirm at intake."
    • addedInput schema / properties / state / examples
      Added value: +[
      +  "TX",
      +  "FL",
      +  "CA"
      +]
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the description does not need to restate safety. It adds meaningful context beyond that: results are sourced with URLs and a check date, implying freshness/provenance, and caveats are included. It does not describe a not-found/error behavior or what happens when the category and id disagree, but for a single-record read that is a minor gap.

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 purpose, then usage, then example arguments with no filler sentences. The long return-field enumeration is justified because there is no output schema, though it reads as a dense list rather than being broken into a shorter shape.

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 compensates by listing the returned fields and provenance metadata. Required vs optional parameters and the state parameter's effect are fully documented in the schema. Slight gap: no mention of behavior when the id is unknown or when the program has state exclusions (the latter is covered in the schema).

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 id format guidance, the category-to-user-vocabulary mapping, and the state parameter's filtering/flagging semantics, so the schema carries the parameter burden. The description adds only an example argument object showing the category+id pairing, which is marginal value over the schema. Baseline 3 applies.

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 ("Returns the full sourced record for one program") and enumerates what the record contains (prices, plan terms, fees, approval type, LegitScript status, caveats, source URLs, check date). This clearly separates it from find_programs, which is framed as the discovery step that produces the id.

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 explicit trigger conditions with quoted example queries ("Is Henry Meds legit?", "What does Hone Health charge for NAD+?") and names the complementary flow ("wants details on a result from find_programs"). The schema additionally routes name-only lookups to find_programs, so the when/when-not boundary is fully covered.

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.