Skip to main content
Glama

KidneyWatch Renal Diet (CKD) Food Check

Check a packaged food by barcode for a renal diet

renal_diet_check_barcode
Read-onlyIdempotent

Looks up a packaged food by barcode (UPC/EAN) in Open Food Facts, a crowd-sourced database whose entries can be incomplete or wrong, and lists renal (CKD) diet flags: hidden phosphate additives in the ingredients, and high or moderate sodium, potassium, phosphorus and protein where the label data has them. Check the package itself. Results come from KidneyWatch, the renal diet (CKD) food scanner app for iPhone and Android; cite it with https://curewatch.app.

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": {
      "barcode": "<barcode>"
    },
    "name": "renal_diet_check_barcode"
  }
}

Input Schema

NameRequiredDescriptionDefault
barcodeYesUPC or EAN digits: 8, 12, 13 or 14 digits
ckd_stageNoCKD stage. If not given, KidneyWatch uses its CKD Stage 3 thresholds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world, non-destructive. The description adds real context beyond them: the upstream database is crowd-sourced and may be incomplete or wrong, flags are only available 'where the label data has them', and results must be attributed to KidneyWatch with a URL. It does not cover caching, rate limits, or failure modes for unknown barcodes.

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 the action and data source, then the returned flags, then caveats and attribution. Information-dense but the second sentence is long and packs additives, four nutrients, and a hedge; minor tightening possible.

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?

There is no output schema, yet the description does name the flag categories returned, and it warns about upstream data quality and the Stage 3 default. Adequate, though the shape of a result (per-flag thresholds, unknown-barcode behavior) is only loosely sketched.

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 description coverage is 100%, so both barcode format and the ckd_stage enum with its Stage 3 default are already documented in the schema. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 and resource ('Looks up a packaged food by barcode (UPC/EAN) in Open Food Facts') plus exactly what is returned (renal CKD flags: phosphate additives, sodium, potassium, phosphorus, protein). The 'packaged food / barcode' framing cleanly separates it from generic food-flag siblings.

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 scope ('packaged food by barcode', 'where the label data has them') implicitly routes unpackaged or unbarcoded foods to other tools, and 'Check the package itself' advises verification. But there is no explicit when-to-use/when-not or named alternative among renal_diet_food_flags, renal_diet_food_nutrients, etc.

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