Skip to main content
Glama

Tinplate Edge AI Safety, Security & EU Compliance

tinplate_nutrition_macros_targets

Read-onlyIdempotent

Offline Natural-Language Nutrition, Macros & Calories Burned API (targets): Extract 11 USDA nutrients, caffeine, glycemic load, satiety, allergens, TDEE/macro targets, and MET calories burned in <1 ms offline. (Endpoint: POST /v1/nutrition/targets)

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

Input Schema

NameRequiredDescriptionDefault
sexNoBiological sex used for the Mifflin-St Jeor BMR offset ('male' or 'female').
goalNoTarget macro split preset ('cut', 'maintain', 'bulk', 'keto', 'high_protein').maintain
age_yearsNoAge in years (12–110) for Mifflin-St Jeor BMR/TDEE computation.
height_cmNoHeight in centimeters (105–250) for Mifflin-St Jeor BMR/TDEE computation.
weight_kgNoBodyweight in kilograms (25–300). Required unless target_calories is supplied.
activity_levelNoDaily physical activity multiplier tier (default 'moderate').
target_caloriesNoOptional direct daily calorie override (1000–8000 kcal) bypassing TDEE scaling.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety and offline behavior are covered structurally; the description's '<1 ms offline' adds only a performance claim on top. It does not disclose the response shape, what the target_calories override does to the TDEE path, or how goal presets interact with computed targets — useful context for a stateless calculator with no output schema.

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

Conciseness2/5

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

The description is a single dense sentence front-loaded with product branding and a long feature enumeration, most of which is irrelevant to this endpoint's actual inputs. The one useful element, the endpoint path, is buried in trailing parentheses.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter, zero-required tool with no output schema, the description should state that all inputs are optional, that weight_kg is needed unless target_calories is supplied, and what the response contains. It does none of this, and its capability list overlaps the sibling tool, leaving an agent without enough information to select or invoke it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all 7 parameters in detail (ranges, enums, Mifflin-St Jeor usage), meaning the description adds no parameter meaning. Worse, the 'Natural-Language' framing implies a free-text input that does not exist in the schema, which can mislead an agent into passing a string instead of the structured anthropometrics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a resource ('TDEE/macro targets', endpoint POST /v1/nutrition/targets), so the general area is identifiable, but the bulk of the sentence ('Extract 11 USDA nutrients, caffeine, glycemic load, satiety, allergens... calories burned') describes extraction capabilities that the structured parameters do not support. It never distinguishes this endpoint from the sibling tinplate_nutrition_macros, which the feature list arguably describes better than this one.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: nothing says to pick this tool when you need calorie/macro targets from body stats rather than when you need nutrient extraction (tinplate_nutrition_macros) or burn estimates (tinplate_nutrition_macros_calories_burned). The only routing hint is the '(targets)' tag and endpoint path, which the agent must decode itself.

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