Skip to main content
Glama

Minds: Synthetic Market Research

Validate an Audience Against Real Surveys

validate_audience
Destructive

Starts or cancels a validation of an Audience against real survey results: the best-fitting published surveys it finds, listed surveys named in surveys.benchmarkIds, your own survey files (questionnaire and results, asked as given), or your own aggregated results passed as benchmark. It keeps only the questions whose published answers are a fair target for this Audience, asks the Audience's Minds those questions in one hidden run, without retrieved documents or web search, and scores how close their answers are to the real ones. It returns at once with the validation batch and its batchId; the work runs in the background, usually 10 to 60 minutes. It needs at least 10 ready Minds; a score of the finished Audience needs every member fully trained and research finished. Found surveys need at least 8 fitting questions. A benchmark that does not fit the survey schema is refused with BENCHMARK_INVALID, listing every problem as path: problem, before anything is reserved. It uses one of the plan's included validations when one is left, otherwise one synthetic response per ready Mind per question asked (50 Minds × 29 questions = 1,450), checked up front; with too few left it returns PLAN_LIMIT before anything starts. The result reports responses left this month and included. cancel stops a validation before any of its surveys is asked.

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": "validate_audience"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNo`start` a validation (default) or `cancel` one that has not asked any survey yet.start
batchIdNoThe validation batch to cancel (action `cancel`).
surveysNoWhich surveys to validate against. Omit, with no benchmark or conversationFiles, to find and use the best-fitting published surveys.
audienceNoThe Audience to validate, by id (preferred) or name.
benchmarkNoYour own survey results as aggregated shares, to validate against your own numbers instead of files or published surveys. Pass it alone: not with benchmarkIds, files, conversationFiles or findSurveys. It is asked as given (no 8-question minimum, at most 60 questions asked), except questions that are distributions the Audience was built from. Every object is closed (an unknown field is an error), shares are fractions from 0 to 1, and option labels must match exactly between `response` and `targets`. A survey that does not fit is refused before anything is reserved, with every problem listed; fix those and send it again.
idempotencyKeyNoStable UUID for a retried start: the same key returns the same validation instead of starting another.
conversationFilesNoSurvey files shared in the chat, read together with files as one survey. Files shared in this conversation: uploaded or generated images, PDFs, documents. Each is copied into Minds storage on receipt; its file_id is its attachment id.

Output Schema

NameRequiredDescriptionDefault
codeNoRefusal code, such as BENCHMARK_INVALID.
batchNoValidation batch: id, status and the surveys it will ask, or the cancelled batch.
issuesNoEvery problem of a refused benchmark, as `path: problem`.
statusNo`benchmark_invalid` or `plan_limited` when nothing was started.
includedNoThe plan's included validations this month, and whether this run used one.
planLimitNoPresent when a plan limit refused, truncated or stopped Study work.
quotaUsedNoWhether anything was reserved or spent.
responsesNoSynthetic responses left this month.
audienceIdNoAudience being validated.
executionStartedNoWhether a validation was started.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / benchmark / properties / questions / items / properties / response / properties / minSelections
      Added value: +{
      +  "description": "Minimum choices a respondent must select (an exact count sets it equal to maxSelections); only valid for multiselect responses.",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / benchmark / properties / questions / items / properties / response / properties / scaleAnchors
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Worded meanings of the scaleRange's ends, as the scale itself words them: low (the minimum), high (the maximum) and, only when the range has an exact middle value and the scale names it, mid. Works for any range: 1-5 satisfaction (\"Very dissatisfied\" / \"Very satisfied\"), 1-7 agreement (\"Strongly disagree\" / \"Neither agree nor disagree\" / \"Strongly agree\"), 0-10 likelihood, 0-100, frequency. Set them here, never in the question text; respondents and Minds read them from here. Labels never restrict the allowed values. Omit when the ends have no wording.",
      +  "properties": {
      +    "high": {
      +      "maxLength": 200,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "low": {
      +      "maxLength": 200,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "mid": {
      +      "maxLength": 200,
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare a destructive, open-world, non-idempotent mutation, and the description adds substantive context beyond them: background execution of 10–60 minutes, reserved-cost accounting (one synthetic response per ready Mind per question, with a 50×29 example), up-front credit checks, and the specific error codes BENCHMARK_INVALID and PLAN_LIMIT with their reservation ordering. It does not disclose whether a started validation can be refunded or what the batch looks like mid-run, which are the remaining gaps for a destructive quota-consuming tool. It does not name the polling sibling, which is the one missing operational detail an agent needs to close the loop.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action is front-loaded, but the body is a single dense paragraph whose clauses chain reservations, error codes, and thresholds without visual separation. Nearly every clause carries information, yet the error codes and quota arithmetic could be broken out so an agent can scan the gating conditions first.

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?

For a 7-parameter nested tool with a destructive mutation and background execution, the description covers preconditions, failure modes, cost, cancellation limits, and timing. Return values are already covered by the output schema, and the description still notes the key fields (`batchId`, `responses`, `included`) an agent needs to act on the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description still earns credit for tying parameters to consequences the schema does not state, such as the per-parameter cost model, the 'asked as given' semantics of `benchmark` with its exemption from the 8-question minimum, and the mutual-exclusivity of `benchmark` with files, benchmarkIds and findSurveys. It stops short of clarifying the interaction between `action: cancel` and `batchId` beyond what the schema already says.

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 up front ('Starts or cancels a validation of an Audience against real survey results') and enumerates the four survey sources precisely. An agent can distinguish this from get_audience_validation (retrieval) and ask_audience without opening the 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?

Gives concrete preconditions — at least 10 ready Minds, 8 fitting questions for found surveys, a fully trained Audience for scoring — plus the cancel semantics ('stops a validation before any of its surveys is asked'). It does not name the sibling an agent should call to poll the returned batchId, so the follow-up path is implied rather than stated.

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.