Skip to main content
Glama

experiments_set_status

Destructive

Move an experiment through draft, running, paused, and ended states, then return the updated experiment. Only call after the user approves launching, pausing, or ending the experiment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYesTarget lifecycle status. running starts the experiment; paused stops assignment without ending; ended records an end time.
projectIdNoOptional project ID. Omit only when the API key is project-scoped or the account has a clear default project.
experimentIdYesExperiment ID returned by experiments_create or experiments_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / experimentId / description
      Added value: +"Experiment ID returned by experiments_create or experiments_list."
    • addedInput schema / properties / status / description
      Added value: +"Target lifecycle status. running starts the experiment; paused stops assignment without ending; ended records an end time."
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already indicate destructive behavior (destructiveHint=true), so the description's addition of returning the updated experiment adds modest context. No contradictions with annotations are present.

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 efficiently cover purpose, return value, and usage condition without redundancy. The description is front-loaded with the main action.

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 state-transition tool with three parameters and no output schema, the description covers the core behavior and precondition. It could expand on allowed transitions or error scenarios, but the schema's enum descriptions partially compensate.

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?

The input schema has 100% coverage with detailed descriptions for all three parameters, including enum semantics for status. The description does not add any parameter-specific information beyond the schema.

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 clearly states the tool's purpose as moving an experiment through lifecycle states (draft, running, paused, ended) and returning the updated experiment. It effectively distinguishes from sibling tools like experiments_update, which handles other modifications, though it does not explicitly differentiate.

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?

The description provides clear usage guidance: 'Only call after the user approves launching, pausing, or ending the experiment.' This sets a precondition but does not mention when not to use or list alternatives, leaving room for improvement.

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