Skip to main content
Glama

Draft a custom supplement

draft_supplement_formula
Read-onlyIdempotent

Turn a list of supplements into one custom supplement and a link to review and buy it on picardo.health. Pass each item as the person named it, with its amount and unit, and the ingredient_id from search_supplement_ingredients. Give the amount in the ingredient’s own unit from search; grams, milligrams and micrograms convert automatically, anything else, IU included, does not. Nothing is bought or saved here. Returns what the supplement contains, items that could not be included and why, amounts above or below what one daily serving can hold, capsules a day, the one-time price for a 60-day supply before shipping and tax, and the link. Takes ingredient names and amounts only, no health information. Purchases are for adults 18 and over, shipped within the United States. If the person says they are under 18 or live outside the United States, do not call this tool; explain that Picardo cannot sell to them.

Input Schema

NameRequiredDescriptionDefault
formNocapsules
itemsYes

Output Schema

NameRequiredDescriptionDefault
urlYesNull when nothing could be included.
formYes
formulaYesWhat the link contains.
priceUsdYesOne-time price in US dollars for the whole supply, before shipping and tax. Null when no price is available here; the review page shows it.
nextStepsYes
unmatchedYesItems left out of the link, and why.
daysSupplyYes
outOfRangeYesItems left out because the amount is above or below what one daily serving can hold.
capsulesPerDayYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, and the description reinforces rather than contradicts them by stating nothing is bought or saved. It adds real behavioral detail beyond the annotations: automatic conversion only for grams/milligrams/micrograms (IU and other units do not convert), flagging of amounts outside a daily serving, items that could not be included and why, and the fact that price is pre-shipping and pre-tax.

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 rules in a logical order: input format, unit conversion, non-effects, outputs, eligibility. It is dense but mostly earns its sentences; the enumerated return contents partially duplicate the opening 'link to review and buy' phrase and the existing output schema.

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?

Covers the hard parts an agent could get wrong — unit conversion limits, no-save semantics, age and geography restrictions — and an output schema already exists so the return-value list is supporting detail. The one material omission is any mention of the form parameter that controls capsule vs powder output.

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?

With schema description coverage at 0% for the top-level parameters, the description compensates well for items by explaining that each entry is the person's own naming, its amount/unit, and the ingredient_id from search. However, the form parameter (capsules vs powder) is never mentioned anywhere in the description or the schema, leaving a real semantic gap.

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?

Opens with a concrete verb and output: turn a list of supplements into one custom supplement plus a review/purchase link on picardo.health. It also names its sibling search_supplement_ingredients as the source of ingredient_id, so an agent can separate the two tools without opening either schema.

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 preconditions and an explicit exclusion: purchases are for adults 18+ shipped in the US, and if the person is under 18 or outside the US the tool must not be called, with instructions on what to say instead. It also directs the agent to search_supplement_ingredients for the ingredient_id before calling.

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