Skip to main content
Glama
yazio-mcp

yazio-mcp

by fliptheweb

Get Goals

get_user_goals
Read-onlyIdempotent

Retrieve a user's daily nutrition and fitness goals, including custom adjustments, for today or a specified date.

Instructions

Get the user's daily nutrition and fitness goals, including their own adjustments

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_user_goals"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate to get the goals for (defaults to today)

Output Schema

NameRequiredDescriptionDefault
waterNo
nutrient.fatNo
activity.stepNo
energy.energyNo
nutrient.carbNo
bodyvalue.weightNo
nutrient.proteinNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 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"
    • addedInput schema / properties / date
      Added value: +{
      +  "description": "Date to get the goals for (defaults to today)",
      +  "format": "date",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "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"
      +}
  2. First observedv0.0.12

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety and repeat-safety are covered. The description adds only the mild clarification that returned values reflect the user's own adjustments, without saying whether goals fall back to defaults, are per-day, or are computed versus user-set.

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 no filler or repetition. Nothing is buried, though there is also very little content beyond the purpose statement.

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?

With an output schema, full schema coverage on the one optional parameter, and read-only annotations, most structured burden is already carried. What remains missing is any explanation of what a 'goal' contains or how adjustments interact with defaults, which matters given many similarly named get_user_* siblings.

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% and the single optional date parameter is fully documented there, including its 'defaults to today' behavior. The description adds no date semantics of its own, so baseline 3 applies.

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?

States a specific verb and resource: 'daily nutrition and fitness goals' plus 'their own adjustments'. That distinguishes it from data-oriented siblings like get_user_daily_nutrients or get_user_daily_summary, though it doesn't explicitly name any sibling to sharpen the contrast.

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 by the purpose — a read-only getter for the user's goal targets. There is no statement of when to prefer this over get_user_settings, get_user_dietary_preferences, or a daily summary tool, and no mention of how the optional date is used.

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