Skip to main content
Glama

Minds: Synthetic Market Research

Check Study Start Allowance

check_study_start_allowance
Read-onlyIdempotent

Read-only: whether the account's plan can pay for a planned Study before it starts. Counts one synthetic response per intended Mind per question, the Free plan's Study answers and the started-Study cap, as a start does. Returns fits, startRefused, the shortfall and how many Minds or questions would fit. Nothing is created, reserved or charged.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_study_start_allowance"
  }
}

Input Schema

NameRequiredDescriptionDefault
studyIdNoA saved Study draft's Study to check, by ID. Its attached Audiences count when audienceIds is omitted.
questionsNoHow many questions every Mind will answer. Omit or 0 while the questions are not known yet: the check then covers one question.
audienceIdsNoExisting Audiences the Study will ask, by ID.
segmentSelectionsNoOptional list of {audienceId, segments}, where segments contains up to three {formationId, subgroupId} pairs from that Audience's segment catalogue (use list_formations to obtain their IDs). Choose at most one segment per dimension. Different dimensions intersect; only the matching Minds participate. The accepted participant set is retained for later questions and retries. Omit an Audience to use all its Minds.
plannedAudienceMindsNoSizes (Minds) of Audiences that will be created when the Study starts, one number per new Audience.

Output Schema

NameRequiredDescriptionDefault
fitsNoTrue when every planned question runs for every intended Mind within the plan.
planLimitNoThe plan-limit refusal the start would give (`statusMessage` and the PLAN_LIMIT envelope in `data`), or null when the Study fits.
responsesNoThe response allowance (`unlimited`, `limit`, `used`, `remaining`, `periodEnd`; -1 when unlimited).
startRefusedNoTrue when starting the Study as planned would be refused (not just run fewer questions).
responsesNeededNoSynthetic responses the start needs: one per intended Mind per question that runs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, but the description adds real context: it explains the accounting model (one synthetic response per Mind per question, Free-plan answer limits, the started-Study cap) and states that nothing is created, reserved or charged. It does not describe failure modes such as an invalid studyId or a draft with no Audiences, which keeps it below 5.

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?

Three dense sentences, with the read-only verdict and purpose front-loaded and the counting model following. The middle clause ('the Free plan's Study answers and the started-Study cap') is compact to the point of being slightly cryptic, which costs a point but not readability overall.

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?

With an output schema present and full schema coverage, the description only needed to frame the semantics, which it does by disclosing the simulation model and the no-side-effect guarantee. Naming the return fields is mildly redundant against the output schema, and no error or authorization behavior is covered, so it lands at a 4.

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 each of the five parameters (studyId, questions, audienceIds, segmentSelections, plannedAudienceMinds) is already documented in detail, including defaults and limits. The description reinforces how question and Mind counts drive the estimate but adds no syntax or edge-case detail beyond the schema, so the baseline of 3 applies.

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-plus-resource ('check whether the account's plan can pay for a planned Study') and pins the timing ('before it starts'), which separates it from the start_study_run/start_study_heatmap siblings without needing to name them. The closing 'Nothing is created, reserved or charged' confirms it is a preflight simulation, not a launch.

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 phrase 'before it starts' plus 'as a start does' makes the intended call context clear: run this prior to a Study start to predict the outcome. There is no explicit when-not guidance or named alternative (e.g. 'do not call start_study_run without this'), so it stops short of a 5.

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.