Skip to main content
Glama

Log activity

log_activity
DestructiveIdempotent

Record steps, active/workout calories, workout minutes or water for a date (default today). Only passed fields change.

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

Input Schema

NameRequiredDescriptionDefault
dateNoCalendar date YYYY-MM-DD in the user's timezone
notesNo
stepsNo
water_mlNo
active_caloriesNo
workout_minutesNo
workout_caloriesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare the write profile (readOnlyHint=false, destructiveHint=true, idempotentHint=true), so the description's real contribution is 'Only passed fields change' — valuable partial-update semantics that explain why repeated calls are safe. However, it never resolves whether a logged value replaces or accumulates onto an existing value for that date, which is exactly the ambiguity destructiveHint=true raises. For a mutation tool flagged destructive with no output schema, that gap keeps it at 3.

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?

Two sentences, no filler, with the resource list front-loaded and the date default plus the partial-update rule trailing as secondary constraints. Every clause carries information an agent would otherwise have to guess.

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 7-parameter, zero-required mutation tool with no output schema, the definition covers the field set, the default date, and partial-update behavior, which is most of what an agent needs. It is missing the add-vs-overwrite semantics and a note about the undocumented 'notes' field, both of which matter given destructiveHint=true and no return value to inspect.

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 only 14% (only 'date' is documented inline), so the description carries real weight and does map most parameters to plain-language concepts: steps, active/workout calories, workout minutes, water. It still omits the 'notes' parameter (maxLength 300), never states units (e.g. that water is in millilitres, calories vs minutes are distinct fields), and doesn't say whether values are per-day totals. Meaning is added, but not fully.

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 pairs the specific verb 'Record' with an explicit enumeration of the resources handled (steps, active/workout calories, workout minutes, water) plus the date scoping. That field list cleanly separates it from log_food, log_weight, and other log_* siblings without needing to name them. It stops short of an explicit sibling differentiation sentence, so a 4 rather than a 5.

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?

'Record ... for a date (default today)' implies the calling context and removes the need to supply a date for same-day logging. There is no statement of when not to use it, no prerequisite or permission note, and no pointer to update-style siblings that might be preferred for correcting historical entries. Usage is inferable but not guided.

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