Skip to main content
Glama
yazio-mcp

yazio-mcp

by fliptheweb

Set Activity

set_user_activity
Idempotent

Set a day's total step count and/or activity energy burned (kcal), replacing specified values while keeping omitted values unchanged.

Instructions

Set the day's total step count and/or energy burned by activity (kcal), as a step counter would. It replaces the day's values; a value left out keeps its current value. For a workout use add_user_exercise.

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

Input Schema

NameRequiredDescriptionDefault
dateYesDay of the activity (YYYY-MM-DD)
stepsNoThe day's total step count; replaces the current value
energyNoThe day's total energy burned by activity, in kcal; replaces the current value

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.21

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the bar is lower, yet the description adds the important replacement/partial-update behavior and the kcal unit framing. It does not describe authentication needs or what a successful response contains, but nothing contradicts 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?

Three short sentences, front-loaded with the action and scope, followed by the replacement semantic and then the alternative routing. Every sentence carries distinct information with no filler.

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 three-parameter mutation tool with no output schema, the definition covers action, units, replacement semantics, and sibling routing, which is most of what an agent needs. Minor gaps remain around return behavior and validation/error expectations after a write.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds the crucial merge semantic: omitted values are preserved rather than zeroed, which prevents an agent from accidentally wiping the energy field. That is meaning beyond what the schema's per-field "replaces the current value" notes convey on their own.

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

Purpose5/5

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

The description gives a specific verb-plus-resource ("Set the day's total step count and/or energy burned by activity") and scopes it to a single day, plus the analogy "as a step counter would" clarifies intent. It also explicitly distinguishes itself from the workout sibling, so an agent can route correctly without opening the schema.

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 names the alternative for exercise logging ("For a workout use add_user_exercise"), which is the main routing ambiguity among siblings. It lacks explicit guidance on when to prefer this over reading and patching via other tools, but the daily-total framing implies the use case clearly.

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