Skip to main content
Glama

Get My Nutrition Profile

get_my_nutrition_profile
Read-only

The signed-in user's nutrition standard, country, diet and default unit, which their numbers depend on. customized_targets lists the nutrients whose target they set themselves. country is empty when unknown. Also returns today's date for the user, the timezone it's based on, and the latest day they logged food. With no timezone saved the date is UTC, and the user's own date can be a day either side of it.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

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 readOnlyHint, destructiveHint=false, and openWorldHint=false, so safety is covered. The description goes further with genuinely non-obvious behavior: country is empty when unknown, timezone falls back to UTC when unsaved, and the user's local date can differ by a day from UTC. These are the kind of edge-case facts an agent cannot get from structured fields.

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?

Three sentences, front-loaded with the core profile fields before the date/timezone extras. Nearly every clause carries information — the UTC fallback and day-boundary warning are actionable. The only mild inefficiency is that the date/timezone material is somewhat compressed into one dense sentence.

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?

With no output schema, the description must carry the return-value burden, and it covers the main fields, the customized_targets meaning, and the empty-country convention. Gaps remain — it never says what values 'nutrition standard' or 'default unit' can take, nor whether customized_targets is a list of names or records — but for a simple profile getter this is close to sufficient.

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?

The tool takes no parameters, so there is nothing to disambiguate and the baseline of 4 applies. The description instead spends its budget explaining output fields, which is the relevant semantics for a zero-arg getter.

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 description opens with a precise inventory of what the tool retrieves — the signed-in user's nutrition standard, country, diet, and default unit — plus supplemental fields like today's date and last logged day. The resource is unambiguous and the field list distinguishes it from siblings such as get_goals or get_target_details. It stops short of naming those siblings or stating a verb like 'returns', but the intent is clear.

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?

Usage is only implied: 'which their numbers depend on' hints that this is context you fetch before interpreting other nutrition values. There is no explicit when-to-use statement, no when-not-to-use, and no named alternative (get_goals, get_target_details, get_goal_sources) for cases where the agent actually wants targets. The agent must infer the placement in a call sequence.

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