Skip to main content
Glama

Create Experiment

create_experiment

Create a draft from generated probes (or copy this agent's frozen experiment).

    Does not run probes. Inspect get_experiment, review completion checks
    with save_experiment_case, and remove unwanted cases before baseline.
    Use a new experiment ID; after a lost response, get_experiment checks
    whether creation succeeded. Reusing the ID never replaces its evidence.
    

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": {
      "agent_id": "<agent_id>",
      "experiment_id": "<experiment_id>",
      "limit_usd": "<limit_usd>"
    },
    "name": "create_experiment"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesStable agent ID from list_agents or create_agent.
limit_usdYesMaximum proposal-model spend; remote agent costs are separate.
experiment_idYesExperiment ID within this agent; letters, digits, hyphens, underscores.
source_experimentNo
baseline_repetitionsNo
comparison_repetitionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare write/safety posture, and the description adds real behavior: no probe execution, uniqueness of experiment_id, and the fact that reusing an ID never replaces existing evidence. The lost-response recovery note is genuinely useful operational context. It stops short of describing what a successful response contains or what happens to the ID namespace.

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 key distinction (creates a draft, does not run) is front-loaded in the first sentence. Subsequent lines are terse but somewhat dense and clause-chained ("Inspect get_experiment, review completion checks with save_experiment_case, and remove unwanted cases"), which costs a little readability without padding.

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

Completeness3/5

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

This is a 6-parameter mutating creation tool with no output schema and only half the parameters described. The description covers the lifecycle and ID behavior well but leaves the repetition counts and source-experiment semantics undocumented, and never indicates what the created draft looks like when returned.

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 50%; agent_id, experiment_id, and limit_usd are documented in the schema, while source_experiment, baseline_repetitions, and comparison_repetitions are not. The description hints at source_experiment ("copy this agent's frozen experiment") but never names it or explains the source experiment ID semantics, and says nothing about the two repetition parameters.

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?

"Create a draft from generated probes (or copy this agent's frozen experiment)" names a specific verb (create) and resource (experiment draft) and states the two input paths. The immediate follow-up "Does not run probes" separates it from run_experiment and other execution siblings.

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?

It prescribes the next steps clearly (inspect with get_experiment, check completion via save_experiment_case, remove cases before baseline) and ties the lost-response case to get_experiment. It does not state explicit conditions for choosing create-from-probes versus create-by-copy beyond the parenthetical, so no exclusions are spelled out.

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.