Skip to main content
Glama

experiment_plans_create

An experiment plan sizes ONE campaign tested against a target reply rate by the Signal Check: the hypothesis (segment × persona × offer → reply rate ≥ target), the operating assumptions and the segment's discovery criteria. The server recomputes estimate on every save. Plans compare nothing: there are no arms or variants. Planning is free and unlimited on every account.

Required: name, expected_rate. target_rate defaults to the workspace target. Use experiment_plans_estimate first to iterate without saving, then experiment_plans_count_segment to check the segment is big enough.

Read estimate.feasible and estimate.problems first. "Not feasible" is a valid, useful answer: each blocking problem's message says why (segment too small, rates too close to separate, sample above the cap, too slow) and what to change. Non-blocking problems are warnings. All rates are proportions (0.05 == 5%), never percentages.

Method: POST /api/v1/workspaces/{workspace_sqid}/experiment-plans/

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": {
      "expected_rate": "<expected_rate>",
      "name": "<name>"
    },
    "name": "experiment_plans_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
offerNoWhat you offer them.
stepsNoEmails per lead (first email + follow-ups), 1-10. Default 2.
personaNoThe person you write to at each company.
mailboxesNoSending mailboxes used by the campaign. Default 3.
target_rateNoProportion, not percent: 0.05 means 5%. Must be strictly between 0 and 1. Defaults to the workspace target reply rate.
segment_sizeNoCompanies available for the experiment. Set by experiment_plans_count_segment, or supply your own count (e.g. an imported list).
expected_rateYesProportion, not percent: 0.05 means 5%. Must be strictly between 0 and 1. Your own assumption for this segment and offer; the sample is sized for it.
question_typeNoicp (does this ICP respond?), offer (does this offer work?), feature (does our ICP need this feature?). * `icp` - Does this ICP respond? * `offer` - Does this offer work? * `feature` - Does our ICP need this feature?
search_paramsNoDiscovery criteria for the segment, the same object as a saved search's params_json / the companies_search query (e.g. {"about": "payroll software", "countries": [{"value": 3, "label": "Germany"}]}). Changing it clears segment_size unless you send segment_size too.
qualification_yieldNoShare of researched companies that qualify and yield a lead, as a proportion (0.5 means 50%). Default 0.5.
segment_descriptionNoWho you are testing, in words: the segment of companies.
last_step_delay_daysNoDays after the last email before the verdict is read. Default 14.
daily_sends_per_mailboxNoEmails per mailbox per workday. null uses the mailbox default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does a lot: it discloses that the server recomputes `estimate` on every save, that `estimate.feasible` and `estimate.problems` should be read first, that non-blocking problems are warnings, and that rates are proportions. The notable gap is whether an infeasible plan still gets persisted on save — the description calls 'not feasible' a valid answer but never says whether creation succeeds in that case.

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?

It is front-loaded with the resource definition, then requirements, then the iteration workflow, then the feasibility caveat, and closes with the HTTP method. Most sentences earn their place, though the proportion-not-percent rule is duplicated between description and schema, and the trailing 'Method: POST ...' line is marginal.

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 14-parameter create tool with no annotations and no output schema, the description supplies the conceptual model, the defaults, the pre-flight workflow, and enough of the return shape (estimate.feasible, estimate.problems, message text, warnings vs. blockers) to call it correctly. The main omission is what a save does with an infeasible plan.

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 93%, so the schema already documents all 14 parameters, including the proportion-not-percent rule and the segment_size clearing behavior. The description restates the required fields and the target_rate default, both of which the schema already states, adding essentially no new parameter meaning 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 defines the resource precisely: a plan sizes ONE campaign tested against a target reply rate, with the hypothesis (segment × persona × offer → reply rate ≥ target) and explicitly notes 'there are no arms or variants', which rules out a common misreading. It doesn't literally say 'creates and persists a plan', but 'the server recomputes estimate on every save' makes the creation semantics clear.

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 names the workflow order explicitly: use experiment_plans_estimate first to iterate without saving, then experiment_plans_count_segment to check the segment is big enough. It also states the cost model ('planning is free and unlimited on every account'), which removes any hesitation about creating plans.

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.