Skip to main content
Glama

log_strength_sets

RECORD the sets of a gym session the athlete tells you they DID ("присед 100×5, 100×5"), between sets or after, into the gym log the card shows. That day's gym session gets them (iid if several); an exercise not on it is added. No gym session that day → a new one named title in their language. Pass ONLY sets not logged yet: they are appended; replace rewrites an exercise's sets. kg: val weight (0 = body weight) + reps; sec: val seconds; m: val metres, load kg, time seconds. Their exercise names. finished when they say they are done; srpe 1–10; note their words.

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

Input Schema

NameRequiredDescriptionDefault
iidNo
dateYes
noteNo
srpeNo
titleNo
finishedNo
exercisesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare the safety profile (mutating, non-destructive, closed-world); the description adds real behavioral detail beyond that: existing sessions absorb the sets via iid, unknown exercises are added, a brand-new session is created with title when the day is empty, and replace rewrites an exercise's sets. The remaining gap is that it never says what the call returns (no output schema exists), which matters for an append-style mutation.

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?

The action is front-loaded in caps and the rest is dense but organized by concern (session resolution, append/replace, per-mode fields, session-level fields). It is compact for the amount of semantics packed in, though the telegraphic phrasing ('srpe', mode shorthand) takes some parsing.

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 7-parameter mutating tool with nested exercise/set arrays and no output schema, the description covers creation-vs-append behavior and per-mode field meaning well. The notable omissions are the return value and an explicit statement of how date selects the day, but an agent has enough to call it correctly.

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 description coverage is 0%, so this description carries the full burden, and it mostly does: it explains iid, title, replace, finished, srpe, note, and the mode-dependent meaning of val/reps/load/time (kg, sec, m). It leaves date (the sole required param) implicit via 'That day's' and does not mention the lb unit const, so a couple of fields are only inferable.

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 opens with a specific verb and resource: 'RECORD the sets of a gym session the athlete tells you they DID'. It clearly separates this write path from the read siblings (get_strength_log, get_strength_progression) and even scopes the input shape ('присед 100×5, 100×5'), so an agent knows exactly what this tool does 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 states clear usage context ('between sets or after', 'sets the athlete tells you they DID') and an explicit exclusion ('Pass ONLY sets not logged yet: they are appended'), plus the replace escape hatch. It stops short of naming a competing sibling tool for the read/progression case, so it is strong context without full alternative routing.

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