Skip to main content
Glama

Stop an experiment (nothing is deleted, but it cannot be restarted)

stop_experiment
DestructiveIdempotent

Stops an experiment with a required reason, preserving its schedule, seed, and log for exploratory analysis while freeing the metric for a new experiment.

Instructions

Stops an experiment with a reason, e.g. when life got in the way. Nothing is deleted: the schedule, the seed and the log stay in the file, and analyze_experiment still analyzes what was logged up to the stop date, flagged exploratory. A stop cannot be undone (annotated destructive), and a stopped experiment accepts no more day logs; it no longer blocks a new one on the same metric. An experiment past its last day cannot be stopped (analyze it). Stopping twice changes nothing. Local file only (experiments.json): never contacts Suunto, needs no credentials. Output: { id, stopped: { at, date, reason }, alreadyStopped, note }. Not read-only, destructive, idempotent.

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": {
      "id": "<id>",
      "reason": "<reason>"
    },
    "name": "stop_experiment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe experiment id, e.g. 'e1'.
reasonYesWhy it is stopped.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations: it explains why destructiveHint=true despite nothing being deleted, that the stop is irreversible, which artifacts survive, that subsequent day logs are rejected, and that the operation is purely local to experiments.json with no credentials or network. It even declares the response shape, which no output schema provides.

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 verb and the key non-obvious fact (nothing is deleted), then constraints, then output and annotation restatement. Slightly dense with several parenthetical clauses, but every sentence carries actionable information and none 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 exists, yet the description enumerates the return fields and their meaning, covers idempotency, irreversibility, preconditions, and side effects. For a two-parameter mutation tool this leaves nothing an agent needs unresolved.

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 coverage is 100%, so both parameters are already documented, but the description adds intent for 'reason' ('e.g. when life got in the way') beyond the schema's terse 'Why it is stopped'. It adds little for 'id', so this is modest added meaning rather than full compensation.

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 ('Stops an experiment') and immediately qualifies the scope: nothing is deleted, the schedule/seed/log remain, and analyze_experiment still works on pre-stop data. That contrast with deletion and with analyze_experiment lets an agent separate it from get_experiment or delete-style siblings without opening any schema.

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 positive context ('e.g. when life got in the way'), an explicit exclusion with an alternative ('An experiment past its last day cannot be stopped (analyze it)'), and a repeat-call rule ('Stopping twice changes nothing'). It also tells the agent the downstream consequence that a stopped experiment no longer blocks a new one on the same metric.

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