Skip to main content
Glama
yazio-mcp

yazio-mcp

by fliptheweb

Get Daily Summary

get_user_daily_summary
Read-onlyIdempotent

Fetch a Yazio nutrition summary for a given date in YYYY-MM-DD format to review calories and macro totals.

Instructions

Get daily nutrition summary for a specific date

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": {
      "date": "<date>"
    },
    "name": "get_user_daily_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDate in YYYY-MM-DD format

Output Schema

NameRequiredDescriptionDefault
userNo
goalsNo
mealsNo
stepsNo
unitsNo
water_intakeNo
activity_energyNo
consume_activity_energyNo
active_fasting_countdown_template_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.0.21
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "properties": {
      +    "active_fasting_countdown_template_key": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "activity_energy": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "consume_activity_energy": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "goals": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "activity.step": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "bodyvalue.weight": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "energy.energy": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "nutrient.carb": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "nutrient.fat": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "nutrient.protein": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "water": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "meals": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "breakfast": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": {},
      +                  "properties": {
      +                    "energy_goal": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "nutrients": {
      +                      "anyOf": [
      +                        {
      +                          "additionalProperties": {},
      +                          "properties": {
      +                            "energy.energy": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "nutrient.carb": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "nutrient.fat": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "nutrient.protein": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            }
      +                          },
      +                          "type": "object"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "dinner": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": {},
      +                  "properties": {
      +                    "energy_goal": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "nutrients": {
      +                      "anyOf": [
      +                        {
      +                          "additionalProperties": {},
      +                          "properties": {
      +                            "energy.energy": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "nutrient.carb": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "nutrient.fat": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "nutrient.protein": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            }
      +                          },
      +                          "type": "object"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "lunch": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": {},
      +                  "properties": {
      +                    "energy_goal": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "nutrients": {
      +                      "anyOf": [
      +                        {
      +                          "additionalProperties": {},
      +                          "properties": {
      +                            "energy.energy": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "nutrient.carb": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "nutrient.fat": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "nutrient.protein": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            }
      +                          },
      +                          "type": "object"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "snack": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": {},
      +                  "properties": {
      +                    "energy_goal": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "nutrients": {
      +                      "anyOf": [
      +                        {
      +                          "additionalProperties": {},
      +                          "properties": {
      +                            "energy.energy": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "nutrient.carb": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "nutrient.fat": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "nutrient.protein": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            }
      +                          },
      +                          "type": "object"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "steps": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "units": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "unit_energy": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "unit_length": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "unit_mass": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "unit_serving": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "user": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {},
      +          "properties": {
      +            "current_weight": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "goal": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "sex": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "start_weight": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "water_intake": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observedv0.0.12

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile and repeat-call behavior are fully covered by structured data and the description need not repeat them. The description adds only that the read is scoped to a single date, and says nothing about whether missing days return empty totals or an error — a gap that annotations cannot fill.

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?

A single front-loaded sentence with zero filler, appropriately sized for a one-parameter read tool. It is efficient but borders on under-specified given the nearby similarly named sibling.

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?

An output schema exists, so the description is not obliged to explain return values, and the parameter story is complete. What is missing is contextual disambiguation from get_user_daily_nutrients, which is the main risk for a mis-selected call.

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 coverage is 100% and the single required date parameter already carries format and pattern constraints, so the schema does the heavy lifting. The description adds 'for a specific date' but no meaning beyond the schema, which matches the baseline of 3.

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 states a specific verb and resource ('Get daily nutrition summary') scoped to one date, so the agent knows exactly what it retrieves. It does not, however, distinguish this 'summary' from the sibling get_user_daily_nutrients, leaving the boundary between the two aggregate views unstated.

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, no statement of prerequisites, and no mention of the obvious alternative get_user_daily_nutrients. The agent must guess which nutrition-level tool applies to a given request.

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