Skip to main content
Glama

Get experiments: today's assignment, progress, adherence

get_experiment
Read-only

Read local experiment summaries with status, today's assignment, progress, and adherence; pass an id to retrieve the full schedule and day log.

Instructions

Reads the experiments from ~/.suunto-mcp/experiments.json: for each one its status ('upcoming', 'running', 'finished' (past its last day) or 'stopped'), the outcome metric, the dates, and TODAY's assignment: { date, arm ('intervention' | 'control' | 'washout' | 'none', or null before the start / after the end), instruction (the text to follow today), followed (what was logged, or null) }, progress (days elapsed, planned intervention and control days) and adherence (trial days so far, how many are logged, followed, not followed, not logged, in total and per arm). With id, selected is the whole experiment: hypothesis, analysis plan, seed, the full schedule and the day log. Local file only: never contacts Suunto, needs no credentials, writes nothing. A damaged or other-version file is an error naming it. Output: { today, experiments: [summary], selected, note }. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
idNoAn experiment id, e.g. 'e1', to get its full schedule and log in `selected`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnly/closed-world annotations it discloses the backing file path, that it never contacts Suunto and needs no credentials, that it writes nothing, and that a damaged or other-version file surfaces as an error naming the file. It also spells out the returned object shape including null semantics for `arm` before start / after end and `followed` when nothing was logged.

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 definition is dense but front-loaded: file source first, then what each experiment contains, then the id behavior, then the output envelope. It is slightly over-packed, enumerating enum values and nested field lists that could live in a schema, and the trailing 'writes nothing ... Read-only.' partly repeats the annotations.

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?

There is no output schema, and the description compensates by giving the exact return envelope ({ today, experiments: [summary], selected, note }), the per-experiment fields, the enum values for status and arm, and the error behavior for corrupt files. For a one-parameter, local, read-only tool this covers everything an agent needs to call it and interpret the result.

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 the single `id` parameter is already described in the schema (including the maxLength/minLength and example 'e1'). The description's contribution is mainly about what `selected` contains once id is supplied, which is return-value semantics rather than added parameter meaning, so the high-coverage baseline of 3 applies.

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 opens with a specific verb and resource ('Reads the experiments from ~/.suunto-mcp/experiments.json') and enumerates exactly what is returned: status, outcome metric, dates, today's assignment, progress and adherence. That is far more precise than a restated title. It stops short of 5 because it never names a sibling (e.g. analyze_experiment, log_experiment_day) to contrast its read-only scope against.

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 way to see today's assignment and per-experiment status, and the id note tells it when `selected` is populated. There is no explicit 'use this instead of X' routing and no stated preconditions (e.g. what happens when no experiments exist or before start_experiment is called).

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