Skip to main content
Glama

Compare an amount of a vitamin or mineral with the adult RDA and upper limit

check_dose
Read-onlyIdempotent

Compare an amount of a vitamin or mineral with the adult RDA and upper limit. Needs nutrient and amount (unit optional), or the whole question in q, for example 5000 IU vitamin D. For requests like "is 5000 IU of vitamin D too much?", "is 500 mg of magnesium glycinate safe?", "is 10 mg of melatonin a lot?" or "is 300 mg of caffeine too much?". Handles IU, mcg, mg and g, including IU for vitamins A, D and E and DFE for folate. For vitamins and minerals, status is above, at, within or no_upper_limit; when the name is a compound (magnesium glycinate, ferrous sulfate, zinc gluconate) the compound field also gives how much of the mineral the compound holds, as US and UK labels list the mineral itself; when only one reading is over the limit, the say line gives both and compared_with.depends_on_label is true. Fish oil, cod liver oil and krill oil amounts are the oil weight, so EPA plus DHA is estimated (amount.epa_dha_estimate_mg). With country=GB the limit is the NHS guidance (compared_with.reference is UK (NHS), with us_upper_limit alongside). For other supplements the answer compares with an official ceiling where one exists (caffeine) or the amounts studies have used, with status above, at, within, above_studied_range, within_studied_range, below_studied_range or no_set_amount, plus cautions. Adult values only, with a note.

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": "check_dose"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoThe whole question instead, for example 5000 IU vitamin D.
unitNoIU, mcg, mg, g, mcg DFE, or billion (CFU) for probiotics. Defaults to IU for vitamin D amounts of 200 or more, otherwise the usual unit.
amountNoThe amount taken per day, in the unit given.
countryNoTwo-letter country code. GB compares with NHS guidance and gives UK amounts. Default from the request.
nutrientNoThe vitamin, mineral or supplement, for example vitamin D, magnesium or melatonin.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, yet the description adds substantial output-level context: the status vocabularies for vitamins/minerals versus other supplements, the compound-mineral breakdown, the depends_on_label flag, the EPA+DHA estimate for oils, and the UK/NHS vs US limit switching. These are non-obvious behaviors an agent could not derive from the schema or annotations.

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 purpose and input modes are front-loaded in the first two sentences, and the remaining detail is dense but each clause carries distinct value (units, statuses, compound handling, oils, country behavior). It is a long single paragraph with some run-on semicolon chains that could be broken into bullets for faster scanning.

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?

There is no output schema, so the description must carry the return-value burden, and it does: it names every status value, describes the compound and epa_dha_estimate_mg fields, the say line behavior, and compared_with.reference. For a five-parameter, multi-domain tool this is complete enough to call and interpret without further documentation.

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% and the schema already documents all five parameters, so the baseline is 3. The description adds real meaning on top: it explains that nutrient+amount can be replaced by a free-form q, enumerates the supported units including DFE and CFU, and clarifies what country=GB does to the compared reference.

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?

The description opens with a specific verb and resource: 'Compare an amount of a vitamin or mineral with the adult RDA and upper limit.' It also delimits scope ('Adult values only') and covers non-vitamin supplements, making clear what the tool answers that get_nutrient or get_supplement presumably do not.

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 is grounded in four concrete example questions ('is 5000 IU of vitamin D too much?', etc.) and the q-parameter alternative is explained. It does not explicitly contrast with the sibling tools check_stack, get_nutrient or get_supplement, so the agent must infer the boundary from names alone.

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.