Skip to main content
Glama

supply_runout

Work out when an HRT or testosterone gel, spray or sachet pack runs out and when to reorder. Inputs: product (oestrogel, sandrena, lenzetto, testogel_pump, testogel_sachet, tostran), doses per day, optional containers, pack-opened date and reorder lead days. Returns doses left, days, run-out and order-by dates. Counts are estimates for metered packs.

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": {
      "product": "<product>",
      "per_day": "<per_day>"
    },
    "name": "supply_runout"
  }
}

Input Schema

NameRequiredDescriptionDefault
per_dayYesPumps, sprays or sachets used per day (the user's prescription)
productYes
lead_daysNoReorder lead time in days, default 7
opened_onNoDate the pack was first opened, YYYY-MM-DD; default today
containersNoUnits in the pack (canisters, or sachets); default the product's pack size

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose the return fields (doses left, days, run-out and order-by dates) plus a meaningful caveat that counts are estimates for metered packs. What it does not say is that the tool is a pure calculation with no side effects or persistence, which would fully settle the safety profile.

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?

Front-loaded with the purpose, then a compact 'Inputs:' summary and a 'Returns:' sentence, ending with the estimate caveat. No sentence is wasted and structure is easy to scan.

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 explains what is returned, and it covers the product/dose/container/date semantics needed to call the tool. The only gap is the incomplete product enumeration that disagrees with the schema's enum.

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 80%, so the schema already documents per_day, lead_days, opened_on and containers, including their defaults. The description restates the same roles without adding format detail, and its product list omits 'testavan' from the schema enum, so it adds no meaning and introduces a small inconsistency.

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+resource (work out when a gel, spray or sachet pack runs out and when to reorder) and names the exact product families covered. It also enumerates inputs and outputs, so an agent can distinguish it from siblings like pen_howto or storage_check without further inspection.

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?

The description makes the intended scenario clear (supply run-out and reorder timing for HRT/testosterone packs), which implies when to call it. However, it never states when NOT to use it or names a sibling alternative (e.g. pen_howto for device technique, storage_check for storage), leaving routing to inference.

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