Skip to main content
Glama

DosePrices Verified Medication Price & Legitimacy Ledger

Find Verified Switch Savings (Per-Pack & 13-Pack Annual)

find_switch_savings
Read-onlyIdempotent

Computes exact per-pack and 13-pack annual savings from switching away from current_provider_slug to the top 3 cheapest verified_fresh alternatives at the same market, drug, and dose (strictly price-first, zero commercial bias).

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": {
      "market": "<market>",
      "drug": "<drug>",
      "dose_mg": "<dose_mg>",
      "current_provider_slug": "<current_provider_slug>"
    },
    "name": "find_switch_savings"
  }
}

Input Schema

NameRequiredDescriptionDefault
drugYesCanonical lowercase medication slug.
marketYesJurisdiction code ('UK' or 'US').
dose_mgYesWeekly dose strength in mg (e.g. 2.5, 5, 10, 15).
current_provider_slugYesCurrent clinic slug or ID to benchmark switch savings against.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the bar is lower, and the description still adds real behavioral context: results are restricted to 'top 3 cheapest verified_fresh' options, matching is constrained to identical market/drug/dose, and selection is 'strictly price-first, zero commercial bias'. What it does not disclose is behavior when fewer than 3 verified alternatives exist, or how verified_fresh is determined.

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?

A single dense sentence with the verb and primary output front-loaded, followed by constraining qualifiers. The parenthetical about price-first and zero commercial bias earns its place as policy context, though the sentence is long enough that a reader must work through it in one pass.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 does enough to signal the return shape (savings for the top 3 alternatives, per-pack and 13-pack annual), which is the most important thing an agent needs. It leaves open units/currency, what happens with fewer than three qualifying alternatives, and failure behavior for an unrecognized provider slug.

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% with enum-constrained market and drug fields, so the schema already carries the parameter documentation burden. The description reinforces that current_provider_slug is the benchmark baseline and that drug/market/dose must match, but adds no syntax, format, or edge-case detail beyond the schema.

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 opens with a specific verb ('Computes') and a concrete resource ('per-pack and 13-pack annual savings'), plus the exact conditions of the computation (same market, drug, dose; top 3 verified_fresh alternatives). It is distinguishable from siblings like find_dose_prices and calculate_cost_per_mg by being a savings delta rather than a raw price or unit-cost lookup, though it never names those alternatives to make the contrast explicit.

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 implied by the framing 'switching away from current_provider_slug', which tells the agent this is a benchmarking/savings tool rather than a price-list tool. However, there is no explicit when-to-use or when-not guidance and no named alternative for the case where the agent wants raw prices instead of savings.

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