Skip to main content
Glama

Supplement Check: A supplement's label, dose check and halal status

supplementcheck_get_supplement
Read-onlyIdempotent

Supplement Check. A supplement's label: amounts per serving, upper limit check, halal status and a buy link. Needs q (brand and product name) or barcode. For requests like "what's in Nature Made vitamin D3?", "is Centrum halal?", "how much melatonin is in OLLY Sleep?" or "is this supplement halal?" with a barcode. Give q (brand and product name) or barcode. Returns per-serving amounts, dose_check (each vitamin and mineral compared with the adult upper limit at the most the label suggests per day, with per_day_base amounts), other_checks (melatonin, caffeine, creatine, ashwagandha and similar, including when a blend hides the amount), halal (likely_halal, doubtful, not_halal or depends_on_school, with the ingredients that need a confirmed source), alternatives (other sizes or versions), an Amazon link, and halal_options (links to halal-certified or gelatine-free versions) when the halal answer is not likely_halal. For a general name like "creatine monohydrate" it reads one common label and says so. With country=GB, dose_check uses the NHS guidance where it sets one (upper_limit says NHS guidance). Salt forms such as magnesium glycinate are counted as the mineral they hold (estimated: true), and omega-3 is read from EPA and DHA, total omega-3, or estimated from the fish oil weight.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "supplementcheck_get_supplement"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoBrand and product name, for example Nature Made vitamin D3 2000 IU.
idNoA label id from the NIH database, for example from alternatives.
barcodeNoUPC or EAN barcode digits (8 to 14).
countryNoUS, GB, IE, CA, AU. GB uses NHS guidance for the dose checks; also picks the buy link site. Default from the request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only cover read-only/idempotent/open-world; the description adds real behavior: country=GB switches dose_check to NHS guidance, salt forms are counted as the parent mineral and flagged estimated: true, omega-3 is derived from EPA/DHA or fish-oil weight, and halal_options are attached only when the answer is not likely_halal. These are non-obvious data-interpretation behaviors an agent could not infer from the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The input requirement is stated three times ("Needs q ... or barcode", "Give q ... or barcode", and again in the first sentence's framing), which is wasted space. The long run-on enumeration of return fields is informative but dense and would read better as a list, and the front-loading is undercut by 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?

With no output schema, the description carries the return contract itself and does so: dose_check with per_day_base, other_checks including hidden blend amounts, halal verdict vocabulary, alternatives, Amazon link and conditional halal_options. Country and estimation edge cases are covered, so an agent has what it needs to call and interpret this tool.

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%, so q, id, barcode and country are already documented, and the description largely restates them ("Give q (brand and product name) or barcode"). It adds little new on the parameters themselves and never explains id's role as an NIH label id sourced from alternatives, so the baseline 3 applies.

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 opening states a concrete resource and scope: per-serving amounts, an upper-limit dose check, halal status and a buy link, with trigger examples like "is Centrum halal?". That is far more than a restatement of the name, but it never names the obvious siblings (supplementcheck_check_dose, supplementcheck_check_nutrient, halalornot_check_product_by_barcode) to route an agent away from this heavier tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is clear and concrete: four example phrasings plus the explicit input rule "Needs q (brand and product name) or barcode". It also carves out a case (a generic name like "creatine monohydrate" reads one common label and says so). What is missing is any when-not guidance or a named alternative for narrower questions.

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.