Skip to main content
Glama
Loopback Training Server

Loopback Training Server

log_setback_status

Record an athlete's daily setback status—worse, same, better, or fine—with optional date and note. Replaces the same day's entry, tracking subjective recovery progress while a setback remains open.

Instructions

Record how the athlete felt on one day of a setback.

While a setback is open, ask how they are today when the conversation starts and record the answer here, unless today already has an entry. One entry per day; logging the same day again replaces it. These entries are the subjective side of the recovery curve, and for an injury they are most of it.

"fine" does not close the setback. When the athlete says "fine", ask whether they consider themselves recovered, and close it with update_setback if they do.

Args: setback_id: The setback's id. status: "worse", "same" or "better" compared with the day before, or "fine" when they feel normal again. date: The day it describes, YYYY-MM-DD. Defaults to today; pass it when the athlete is describing an earlier day. note: Their words, shortened ("fever gone, still coughing").

Returns: The setback with its check-ins.

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": {
      "setback_id": "<setback_id>",
      "status": "<status>"
    },
    "name": "log_setback_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
noteNo
statusYes
setback_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A4.7/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden. It discloses the key mutation semantic — one entry per day, re-logging the same day replaces it — plus the non-obvious trap that 'fine' is a status value and not a closure. It does not cover permissions, failure modes, or whether a closed setback can still be logged against.

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?

Front-loaded with the core action, then usage, then a structured Args/Returns block. Some sentences drift into conversational coaching instruction ('ask how they are today when the conversation starts') and the blank line plus quote formatting is slightly untidy, but nothing is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, yet the description states the return ('the setback with its check-ins'). Between purpose, per-day idempotency, parameter semantics, and the close-out routing, an agent has everything needed to call this correctly on a 4-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate and it does: setback_id, the status enum relative to the previous day, date format with default-today and backfill behavior, and note with a concrete shortening example. All four parameters gain meaning not present in the schema.

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?

States a specific verb and resource: 'Record how the athlete felt on one day of a setback.' The scope (one day, one entry) is explicit and the intended frame — subjective side of the recovery curve — instantly separates it from log_setback and update_setback.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete when-to-use ('while a setback is open, ask how they are today when the conversation starts'), a when-not ('unless today already has an entry'), and an explicit routing rule to the sibling: '"fine" does not close the setback … close it with update_setback if they do.' This is exactly the disambiguation an agent needs.

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