Skip to main content
Glama

Compare Local Prices

compare_local_prices
Read-onlyIdempotent

U.S. care only, for users anywhere. For non-U.S. care, explain coverage without calling this tool or substituting U.S. prices. Compare hospitals near a ZIP by price or distance for a code from search_cpt_codes. Lead with answer: lowest cash, insurer comparison, verdict, follow-up, and search link. Its prices are single published prices; options use hospital medians. Without insurer, compare cash; with insurer, compare negotiated rates, not personal out-of-pocket costs. Preserve sources, dates, included fees, caveats, and each hospital’s city/state. Rank before limiting; missing matching prices are null and last. Do not send patient identifiers.

Input Schema

NameRequiredDescriptionDefault
sortNoOrder by price (default) or distance
limitNoMaximum hospitals to return (default 10, max 20)
insurerNoInsurance company name only, e.g. "Aetna" or "Blue Cross"; no member IDs
cpt_codeYesOne CPT or HCPCS code, e.g. "73721" for a knee MRI
zip_codeYes5-digit US ZIP code to search around
radius_milesNoSearch radius in miles (default 25, max 100)
deductible_metNoWhether the user has met this year's deductible; refines answer.verdict

Output Schema

NameRequiredDescriptionDefault
notesYes
queryYes
answerYes
optionsYes
provenanceYes
insurer_matchYes
price_summaryYes
hospitals_with_priceYes
hospitals_without_priceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedOutput schema / properties / answer / properties / lowest_cash / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "address": {
      -        "type": "string"
      -      },
      -      "as_of": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "caveats": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "city": {
      -        "type": "string"
      -      },
      -      "distance_miles": {
      -        "type": "number"
      -      },
      -      "hospital_id": {
      -        "type": "string"
      -      },
      -      "hospital_name": {
      -        "type": "string"
      -      },
      -      "includes": {
      -        "type": "string"
      -      },
      -      "loa_link": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "description": "Tracked Loa link. Share it when the user wants to book, contact, or learn more about this provider or hospital.",
      -            "properties": {
      -              "action": {
      -                "enum": [
      -                  "book",
      -                  "request",
      -                  "website",
      -                  "profile"
      -                ],
      -                "type": "string"
      -              },
      -              "label": {
      -                "type": "string"
      -              },
      -              "url": {
      -                "format": "uri",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "url",
      -              "action",
      -              "label"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "phone": {
      -        "type": "string"
      -      },
      -      "plan_name": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "price": {
      -        "type": "number"
      -      },
      -      "price_basis": {
      -        "enum": [
      -          "cash",
      -          "insurer_rate"
      -        ],
      -        "type": "string"
      -      },
      -      "price_type": {
      -        "type": "string"
      -      },
      -      "setting": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "source_label": {
      -        "type": "string"
      -      },
      -      "state": {
      -        "type": "string"
      -      },
      -      "zip_code": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "hospital_id",
      -      "hospital_name",
      -      "address",
      -      "city",
      -      "state",
      -      "zip_code",
      -      "phone",
      -      "distance_miles",
      -      "price_type",
      -      "includes",
      -      "setting",
      -      "as_of",
      -      "source_label",
      -      "caveats",
      -      "loa_link",
      -      "price",
      -      "price_basis",
      -      "plan_name"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "address": {
      +        "type": "string"
      +      },
      +      "as_of": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "caveats": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "city": {
      +        "type": "string"
      +      },
      +      "distance_miles": {
      +        "type": "number"
      +      },
      +      "hospital_id": {
      +        "type": "string"
      +      },
      +      "hospital_name": {
      +        "type": "string"
      +      },
      +      "includes": {
      +        "type": "string"
      +      },
      +      "loa_link": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "description": "Share this returned URL with its exact label. A website action redirects to the provider website; only a profile action opens a Loa listing. Do not infer the destination from the loacare.com domain.",
      +            "properties": {
      +              "action": {
      +                "enum": [
      +                  "book",
      +                  "request",
      +                  "website",
      +                  "profile"
      +                ],
      +                "type": "string"
      +              },
      +              "label": {
      +                "description": "Use this exact label as the link text; it identifies the destination.",
      +                "type": "string"
      +              },
      +              "url": {
      +                "format": "uri",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "url",
      +              "action",
      +              "label"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "phone": {
      +        "type": "string"
      +      },
      +      "plan_name": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "price": {
      +        "type": "number"
      +      },
      +      "price_basis": {
      +        "enum": [
      +          "cash",
      +          "insurer_rate"
      +        ],
      +        "type": "string"
      +      },
      +      "price_type": {
      +        "type": "string"
      +      },
      +      "setting": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "source_label": {
      +        "type": "string"
      +      },
      +      "state": {
      +        "type": "string"
      +      },
      +      "zip_code": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "hospital_id",
      +      "hospital_name",
      +      "address",
      +      "city",
      +      "state",
      +      "zip_code",
      +      "phone",
      +      "distance_miles",
      +      "price_type",
      +      "includes",
      +      "setting",
      +      "as_of",
      +      "source_label",
      +      "caveats",
      +      "loa_link",
      +      "price",
      +      "price_basis",
      +      "plan_name"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / answer / properties / lowest_insurer_rate / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "address": {
      -        "type": "string"
      -      },
      -      "as_of": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "caveats": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "city": {
      -        "type": "string"
      -      },
      -      "distance_miles": {
      -        "type": "number"
      -      },
      -      "hospital_id": {
      -        "type": "string"
      -      },
      -      "hospital_name": {
      -        "type": "string"
      -      },
      -      "includes": {
      -        "type": "string"
      -      },
      -      "loa_link": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "description": "Tracked Loa link. Share it when the user wants to book, contact, or learn more about this provider or hospital.",
      -            "properties": {
      -              "action": {
      -                "enum": [
      -                  "book",
      -                  "request",
      -                  "website",
      -                  "profile"
      -                ],
      -                "type": "string"
      -              },
      -              "label": {
      -                "type": "string"
      -              },
      -              "url": {
      -                "format": "uri",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "url",
      -              "action",
      -              "label"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "phone": {
      -        "type": "string"
      -      },
      -      "plan_name": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "price": {
      -        "type": "number"
      -      },
      -      "price_basis": {
      -        "enum": [
      -          "cash",
      -          "insurer_rate"
      -        ],
      -        "type": "string"
      -      },
      -      "price_type": {
      -        "type": "string"
      -      },
      -      "setting": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "source_label": {
      -        "type": "string"
      -      },
      -      "state": {
      -        "type": "string"
      -      },
      -      "zip_code": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "hospital_id",
      -      "hospital_name",
      -      "address",
      -      "city",
      -      "state",
      -      "zip_code",
      -      "phone",
      -      "distance_miles",
      -      "price_type",
      -      "includes",
      -      "setting",
      -      "as_of",
      -      "source_label",
      -      "caveats",
      -      "loa_link",
      -      "price",
      -      "price_basis",
      -      "plan_name"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "address": {
      +        "type": "string"
      +      },
      +      "as_of": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "caveats": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "city": {
      +        "type": "string"
      +      },
      +      "distance_miles": {
      +        "type": "number"
      +      },
      +      "hospital_id": {
      +        "type": "string"
      +      },
      +      "hospital_name": {
      +        "type": "string"
      +      },
      +      "includes": {
      +        "type": "string"
      +      },
      +      "loa_link": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "description": "Share this returned URL with its exact label. A website action redirects to the provider website; only a profile action opens a Loa listing. Do not infer the destination from the loacare.com domain.",
      +            "properties": {
      +              "action": {
      +                "enum": [
      +                  "book",
      +                  "request",
      +                  "website",
      +                  "profile"
      +                ],
      +                "type": "string"
      +              },
      +              "label": {
      +                "description": "Use this exact label as the link text; it identifies the destination.",
      +                "type": "string"
      +              },
      +              "url": {
      +                "format": "uri",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "url",
      +              "action",
      +              "label"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "phone": {
      +        "type": "string"
      +      },
      +      "plan_name": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "price": {
      +        "type": "number"
      +      },
      +      "price_basis": {
      +        "enum": [
      +          "cash",
      +          "insurer_rate"
      +        ],
      +        "type": "string"
      +      },
      +      "price_type": {
      +        "type": "string"
      +      },
      +      "setting": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "source_label": {
      +        "type": "string"
      +      },
      +      "state": {
      +        "type": "string"
      +      },
      +      "zip_code": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "hospital_id",
      +      "hospital_name",
      +      "address",
      +      "city",
      +      "state",
      +      "zip_code",
      +      "phone",
      +      "distance_miles",
      +      "price_type",
      +      "includes",
      +      "setting",
      +      "as_of",
      +      "source_label",
      +      "caveats",
      +      "loa_link",
      +      "price",
      +      "price_basis",
      +      "plan_name"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / options / items / properties / loa_link / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Tracked Loa link. Share it when the user wants to book, contact, or learn more about this provider or hospital.",
      -    "properties": {
      -      "action": {
      -        "enum": [
      -          "book",
      -          "request",
      -          "website",
      -          "profile"
      -        ],
      -        "type": "string"
      -      },
      -      "label": {
      -        "type": "string"
      -      },
      -      "url": {
      -        "format": "uri",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "url",
      -      "action",
      -      "label"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "Share this returned URL with its exact label. A website action redirects to the provider website; only a profile action opens a Loa listing. Do not infer the destination from the loacare.com domain.",
      +    "properties": {
      +      "action": {
      +        "enum": [
      +          "book",
      +          "request",
      +          "website",
      +          "profile"
      +        ],
      +        "type": "string"
      +      },
      +      "label": {
      +        "description": "Use this exact label as the link text; it identifies the destination.",
      +        "type": "string"
      +      },
      +      "url": {
      +        "format": "uri",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "url",
      +      "action",
      +      "label"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / provenance / properties / source_url / description
      Added value: +"Supporting source link. A CMS Hospital Price Transparency policy page is not the hospital source file; do not attribute hospital-published prices to CMS."
  2. Changed6 schema fields changed
    • addedInput schema / properties / deductible_met
      Added value: +{
      +  "description": "Whether the user has met this year's deductible; refines answer.verdict",
      +  "enum": [
      +    "yes",
      +    "no",
      +    "not_sure"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / answer
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "follow_up_question": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "loa_search_url": {
      +      "type": "string"
      +    },
      +    "lowest_cash": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "address": {
      +              "type": "string"
      +            },
      +            "as_of": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "caveats": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "city": {
      +              "type": "string"
      +            },
      +            "distance_miles": {
      +              "type": "number"
      +            },
      +            "hospital_id": {
      +              "type": "string"
      +            },
      +            "hospital_name": {
      +              "type": "string"
      +            },
      +            "includes": {
      +              "type": "string"
      +            },
      +            "loa_link": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "description": "Tracked Loa link. Share it when the user wants to book, contact, or learn more about this provider or hospital.",
      +                  "properties": {
      +                    "action": {
      +                      "enum": [
      +                        "book",
      +                        "request",
      +                        "website",
      +                        "profile"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "label": {
      +                      "type": "string"
      +                    },
      +                    "url": {
      +                      "format": "uri",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "url",
      +                    "action",
      +                    "label"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "phone": {
      +              "type": "string"
      +            },
      +            "plan_name": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "price": {
      +              "type": "number"
      +            },
      +            "price_basis": {
      +              "enum": [
      +                "cash",
      +                "insurer_rate"
      +              ],
      +              "type": "string"
      +            },
      +            "price_type": {
      +              "type": "string"
      +            },
      +            "setting": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "source_label": {
      +              "type": "string"
      +            },
      +            "state": {
      +              "type": "string"
      +            },
      +            "zip_code": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hospital_id",
      +            "hospital_name",
      +            "address",
      +            "city",
      +            "state",
      +            "zip_code",
      +            "phone",
      +            "distance_miles",
      +            "price_type",
      +            "includes",
      +            "setting",
      +            "as_of",
      +            "source_label",
      +            "caveats",
      +            "loa_link",
      +            "price",
      +            "price_basis",
      +            "plan_name"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "lowest_insurer_rate": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "address": {
      +              "type": "string"
      +            },
      +            "as_of": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "caveats": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "city": {
      +              "type": "string"
      +            },
      +            "distance_miles": {
      +              "type": "number"
      +            },
      +            "hospital_id": {
      +              "type": "string"
      +            },
      +            "hospital_name": {
      +              "type": "string"
      +            },
      +            "includes": {
      +              "type": "string"
      +            },
      +            "loa_link": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "description": "Tracked Loa link. Share it when the user wants to book, contact, or learn more about this provider or hospital.",
      +                  "properties": {
      +                    "action": {
      +                      "enum": [
      +                        "book",
      +                        "request",
      +                        "website",
      +                        "profile"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "label": {
      +                      "type": "string"
      +                    },
      +                    "url": {
      +                      "format": "uri",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "url",
      +                    "action",
      +                    "label"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "phone": {
      +              "type": "string"
      +            },
      +            "plan_name": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "price": {
      +              "type": "number"
      +            },
      +            "price_basis": {
      +              "enum": [
      +                "cash",
      +                "insurer_rate"
      +              ],
      +              "type": "string"
      +            },
      +            "price_type": {
      +              "type": "string"
      +            },
      +            "setting": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "source_label": {
      +              "type": "string"
      +            },
      +            "state": {
      +              "type": "string"
      +            },
      +            "zip_code": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hospital_id",
      +            "hospital_name",
      +            "address",
      +            "city",
      +            "state",
      +            "zip_code",
      +            "phone",
      +            "distance_miles",
      +            "price_type",
      +            "includes",
      +            "setting",
      +            "as_of",
      +            "source_label",
      +            "caveats",
      +            "loa_link",
      +            "price",
      +            "price_basis",
      +            "plan_name"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "verdict": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "detail": {
      +              "type": "string"
      +            },
      +            "headline": {
      +              "type": "string"
      +            },
      +            "recommendation": {
      +              "enum": [
      +                "cash",
      +                "insurance",
      +                "either",
      +                "conditional",
      +                "ask_insurer"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "recommendation",
      +            "headline",
      +            "detail"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "lowest_cash",
      +    "lowest_insurer_rate",
      +    "verdict",
      +    "follow_up_question",
      +    "loa_search_url"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / options / items / required
      Previous value: -[
      -  "rank",
      -  "hospital_id",
      -  "hospital_name",
      -  "address",
      -  "city",
      -  "state",
      -  "zip_code",
      -  "phone",
      -  "distance_miles",
      -  "price",
      -  "price_basis",
      -  "price_type",
      -  "cash_price",
      -  "cash_price_range",
      -  "insurer_rate",
      -  "insurer_plans",
      -  "list_price",
      -  "includes",
      -  "setting",
      -  "as_of",
      -  "source_label",
      -  "caveats",
      -  "loa_link"
      -]New value: +[
      +  "hospital_id",
      +  "hospital_name",
      +  "address",
      +  "city",
      +  "state",
      +  "zip_code",
      +  "phone",
      +  "distance_miles",
      +  "price",
      +  "price_basis",
      +  "price_type",
      +  "cash_price",
      +  "cash_price_range",
      +  "insurer_rate",
      +  "insurer_plans",
      +  "list_price",
      +  "includes",
      +  "setting",
      +  "as_of",
      +  "source_label",
      +  "caveats",
      +  "loa_link",
      +  "rank"
      +]
    • addedOutput schema / properties / query / properties / deductible_met
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "yes",
      +        "no",
      +        "not_sure"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / query / required
      Previous value: -[
      -  "cpt_code",
      -  "procedure_name",
      -  "zip_code",
      -  "radius_miles",
      -  "insurer",
      -  "sort"
      -]New value: +[
      +  "cpt_code",
      +  "procedure_name",
      +  "zip_code",
      +  "radius_miles",
      +  "insurer",
      +  "deductible_met",
      +  "sort"
      +]
    • changedOutput schema / required
      Previous value: -[
      -  "query",
      -  "insurer_match",
      -  "options",
      -  "price_summary",
      -  "hospitals_with_price",
      -  "hospitals_without_price",
      -  "notes",
      -  "provenance"
      -]New value: +[
      +  "query",
      +  "answer",
      +  "insurer_match",
      +  "options",
      +  "price_summary",
      +  "hospitals_with_price",
      +  "hospitals_without_price",
      +  "notes",
      +  "provenance"
      +]
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, and the description adds substantive context beyond that: cash versus negotiated-rate semantics, ranking-before-limiting behavior, null handling for missing prices, source/date/fee preservation, and a no-patient-identifiers constraint.

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?

The description is front-loaded with scope and the core comparison, and most sentences carry actionable guidance. It is dense and could be structured more cleanly, but it avoids obvious repetition.

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?

Given the tool's complexity, seven parameters, output schema, and read-only annotations, the description covers the key gaps: eligibility, code prerequisite, insurer semantics, output prioritization, caveat preservation, ranking behavior, and privacy. Nothing an agent needs in order to select and invoke it correctly appears to be missing.

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, but the description adds meaningful semantics for the insurer parameter by distinguishing cash prices from negotiated rates and warning against personal out-of-pocket interpretation. It does not explain deductible_met or the radius/limit defaults beyond what the schema already provides.

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: compare hospitals near a ZIP by price or distance for a CPT code. It also adds eligibility scope ('U.S. care only') and names the prerequisite sibling search_cpt_codes, which distinguishes it from generic pricing tools.

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?

Explicitly says not to call for non-U.S. care and not to substitute U.S. prices, giving a clear exclusion. It also gives the prerequisite that the code comes from search_cpt_codes and explains the insurer versus no-insurer comparison paths.

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.