Skip to main content
Glama
yazio-mcp

yazio-mcp

by fliptheweb

Update Body Value

update_user_body_value
DestructiveIdempotent

Update a weight or body value entry by its ID using metric units (kg, %, mg/dL, cm) to correct or adjust recorded health data.

Instructions

Change the value of a weight or other body value entry by its ID. Values are metric: kg, %, mg/dL or cm.

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": {
      "id": "<id>",
      "value": "<value>"
    },
    "name": "update_user_body_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEntry ID of a weight or body value, from get_user_weight, get_user_body_values or the add_* tools
valueYesNew value in the metric unit: kg, % (body fat, muscle), mg/dL (blood glucose) or cm (circumferences)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.21

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, so the agent knows this overwrites state and can be repeated safely. The description adds the unit convention (kg, %, mg/dL, cm), which matters at call time, but it does not say whether the new value must match the unit of the existing entry, whether the change is reversible, or what errors occur on mismatch.

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?

Two short sentences, front-loaded with the action and scope; nothing is padded. The second sentence largely restates the schema's value description, so it is slightly redundant but not harmful.

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?

For a simple two-parameter mutation with full schema documentation and safety annotations, the description covers the essentials. It still omits the unit-must-match-entry-type relationship and any indication of what a successful call yields (no output schema exists), which are meaningful gaps for a destructive update.

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 both the id provenance note and the unit list in the description are already repeated verbatim in the schema's property descriptions. The description therefore adds essentially no semantics beyond what the structured fields provide, so the baseline of 3 is appropriate.

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: change the value of a weight or body value entry, addressed by ID. That is enough to separate it from add_user_body_value and delete_user_body_value, which appear as siblings, but the description never names those alternatives explicitly.

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 guidance on when to reach for this tool versus add_ or delete_user_body_value, and no stated prerequisites beyond the fact that an ID is needed. The fact that the ID must be sourced from get_user_weight, get_user_body_values, or the add_* tools appears only in the schema, not in the description.

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