Skip to main content
Glama

Experiment Estimate

experiment_estimate
Read-onlyIdempotent

Dry-run cost estimate for an experiment BEFORE creating it, cell count and estimated billed cost range (at our 1.5x pricing) for prompts x models x reps. Free to call, no side effects, does not need credit balance. Same spec shape as experiment_create. Example: experiment_estimate({ prompts: ["Summarize: ..."], models: ["anthropic/claude-sonnet-4.5", "openai/gpt-5"], reps: 2 })

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "models": [
        "anthropic/claude-sonnet-4.5",
        "openai/gpt-4o-mini"
      ],
      "prompts": [
        "Summarize this article in one sentence."
      ]
    },
    "name": "experiment_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
repsNoRepetitions per promptxmodel, 1-5 (default 1)
modelsYesModel ids from experiment_models (max 12)
paramsNoOptional {system, temperature, max_tokens}
promptsYesPrompts to test (max 20)
summaryNoInclude the AI-written comparison summary stage (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / reps / description
      Previous value: -"Repetitions per prompt×model, 1-5 (default 1)"New value: +"Repetitions per promptxmodel, 1-5 (default 1)"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotent/non-destructive, so safety is partially pre-covered, but the description adds non-obvious context: it is free, requires no credit balance, and pricing is billed at 1.5x. Those are real behavioral facts an agent cannot get from the annotations or schema. Output content is described in general terms only (cell count, cost range), with no format detail.

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 purpose and key constraint (dry-run, before creating), followed by the behavioral notes. The worked example is somewhat long but earns its place by showing the exact call shape. Minor redundancy between 'free to call' and 'no side effects'.

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?

No output schema exists, and the description fills that gap by naming what comes back (cell count, estimated billed cost range). The nested 'params' object is documented in the schema. Missing only edge-case behavior (e.g., what errors occur for oversize specs), which is minor for a read-only estimator.

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% (including max 20 prompts, max 12 models, reps 1-5), so the schema already carries parameter meaning. The description only restates the prompts x models x reps multiplication and mirrors one example, adding marginal signal beyond the schema. Baseline 3 is appropriate.

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 ('Dry-run cost estimate for an experiment') with explicit scope ('cell count and estimated billed cost range... for prompts x models x reps'). It also positions itself against the sibling write path ('BEFORE creating it', 'Same spec shape as experiment_create'), so an agent can distinguish it from experiment_create without opening either schema.

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?

Clear context: use this before calling experiment_create, with the same spec shape, implying the spec is portable between the two calls. It does not state exclusions (e.g., don't use it after creation, or that experiment_status exists for live runs), so it falls short of explicit when-not guidance.

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.