Skip to main content
Glama

get_experiment

Read-only

Fetch one experiment by id: state, unit type, schedule, base configuration, targeting (as readable conditions), and per group its allocation, enrolled-unit count, and the exact configuration changes (set / add / delete, with the base value each replaced). Use list_experiments to find ids. An assignedUnitCount of null means counts could not be read, not that nobody is enrolled. For performance, use get_experiment_results. Load the understand-experiments skill (load_skill("understand-experiments")) first.

Input Schema

NameRequiredDescriptionDefault
projectIdYesThe project (application) id to scope this call to. Use list_projects to discover valid ids.
environmentYesThe environment name to scope this call to (e.g. 'production'). Use list_projects to discover the names available to this token.
experimentIdYesThe numeric id of the experiment to fetch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds meaningful behavioral context beyond that: it details the returned fields, explains that assignedUnitCount null means counts could not be read rather than zero enrollment, and points to get_experiment_results for performance.

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?

The description is front-loaded with the core action and then enumerates the returned data in a dense but useful first sentence. Every subsequent sentence adds distinct value: id discovery, null-count semantics, the performance alternative, and the skill prerequisite.

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, so the description carries the burden of explaining return content, and it does so by listing the major fields and group-level configuration changes. It also covers the important null-count caveat and performance alternative, making the definition complete for a read-only single-experiment fetch.

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 description coverage is 100%, so the schema already documents projectId, environment, and experimentId. The description only indirectly helps by saying to use list_experiments to find ids; it does not add further meaning about how projectId or environment scoping works.

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 gives a specific verb and resource: 'Fetch one experiment by id'. It enumerates exactly what the result contains, including state, unit type, schedule, base configuration, targeting, group allocations, and configuration changes, which clearly distinguishes it from list_experiments and get_experiment_results.

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?

It explicitly names list_experiments as the way to find ids and get_experiment_results as the better performing alternative when appropriate. It also states a required prerequisite to load the understand-experiments skill first, leaving little ambiguity about when and how to use the tool.

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