Skip to main content
Glama

Log body weight

log_weight
DestructiveIdempotent

Record a weigh-in in kg (one manual entry per date; logging again the same day replaces it). Optional body fat % and muscle mass.

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": {
      "weight_kg": "<weight_kg>"
    },
    "name": "log_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoLocal date YYYY-MM-DD (or 'today'/'yesterday'). Defaults to today in the user's timezone.
notesNo
weight_kgYes
body_fat_pctNo
muscle_mass_kgNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare write semantics, idempotency, and destructiveness, so the bar is lower. The description still adds real value by explaining what is overwritten: re-logging on the same date replaces the prior entry, which concretizes both idempotentHint and destructiveHint. It does not cover permissions, validation failures (e.g. out-of-range kg), or confirmation behavior.

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 tight sentences, front-loaded with the primary action and unit, with the upsert rule immediately after. The parenthetical is dense but each clause carries information; nothing is redundant.

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?

Given five parameters, no output schema, and low schema description coverage, the definition covers the critical semantics (unit, upsert behavior, optional metrics) but leaves the notes field and the return value undocumented. Adequate for a simple logging tool, but not fully self-sufficient.

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 only 20% (only 'date' documented), so the description must compensate, and it does partially: it supplies the kg unit for weight_kg, which the schema omits entirely, and flags body fat % and muscle mass as optional. It says nothing about 'notes' or about date handling beyond what the schema already explains.

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 ('Record a weigh-in') plus the unit (kg) and the optional fields it accepts. It does not name the sibling read tool (get_weight_history) to differentiate, but the write-vs-read distinction is obvious from the wording.

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 implied rather than stated: the agent can infer this is the write path for body weight and that get_weight_history is the read path, but neither an alternative nor a when-not condition is named. The 'one manual entry per date' note gives a useful situational constraint without full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources