Skip to main content
Glama
yazio-mcp

yazio-mcp

by fliptheweb

Get Daily Nutrients

get_user_daily_nutrients
Read-onlyIdempotent

Retrieve daily calorie, carb, protein, and fat totals plus energy goals for a date range to create weekly or monthly nutrition overviews.

Instructions

Get the energy (kcal), carb, protein and fat totals and the energy goal for each day of a date range, in one request. Use it for weekly or monthly overviews.

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": {
      "start": "<start>"
    },
    "name": "get_user_daily_nutrients"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoLast date, included (defaults to today)
startYesFirst date, included

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.21

TDQS

A4/5.0
Behavior4/5

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

The annotations already establish read-only and idempotent behavior, and the description adds useful return semantics: per-day totals plus the energy goal, delivered “in one request.” It does not cover edge cases such as missing days or timezone handling, but it adds meaningful context beyond the annotations.

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

Conciseness5/5

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

The description is two sentences, front-loaded with the tool’s purpose and return content, with no unnecessary wording.

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?

For a simple read-only aggregate tool with no output schema, the description is nearly complete: it states the date-range scope, daily granularity, returned nutrient fields, and intended overview use. Minor gaps around empty ranges or timezone assumptions remain, but the core calling context is covered.

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 date parameters are already documented in the input schema. The description reinforces the date-range concept but adds no syntax, inclusive-boundary, or default-behavior details beyond what the schema provides.

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 gives a specific verb (“Get”) and resource (“daily nutrients”), and lists the exact totals returned: energy, carbs, protein, fat, and energy goal. It is clear, but it does not explicitly distinguish this tool from the sibling get_user_daily_summary.

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?

It provides a clear usage context: “Use it for weekly or monthly overviews.” However, it does not name alternatives, exclusions, or when-not-to-use guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.