Skip to main content
Glama

Minds: Synthetic Market Research

Stop Standalone Study Question

cancel_study_question
DestructiveIdempotent

Stops one standalone Study question by runId, or studyId and questionId: queued or preparing stops at once, being answered stops at its next step. Answers given are kept. A delivered forecast keeps its completed run history while remaining replies and Reactions can still be stopped. An answered question with no pending work, or a failed question with no work stopped, errors unchanged. Not for multi-question runs.

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

Input Schema

NameRequiredDescriptionDefault
runIdNorunId that ask_study or ask_audience returned for the question to stop. Without it, pass studyId and questionId.
studyIdNoStudy of the question to stop, with questionId, when the runId is not known.
questionIdNoquestionId that ask_study or ask_audience returned for the question to stop, with studyId.

Output Schema

NameRequiredDescriptionDefault
runIdNoThe question run the cancellation was requested for.
statusNoThe original run status, including completed when Stop applies to remaining replies or Reactions while preserving the delivered forecast. cancelled means the run was stopped before starting; cancelling means its worker stops at the next step. preparing means no run exists yet; planning_required waits for a confirmed plan. An already settled question with no remaining work stopped returns an error.
stoppedNoTrue when the run is cancelled or stopping, its progressive replies are cancelled, or reactions.stopped is positive. A repeated cancelled acknowledgement remains true. False when nothing was asked yet.
studyIdNoStudy of the question; read its state with get_study_status and questionId.
reactionsNostopped counts Reaction artifacts whose remaining analysis or explanations were durably fenced. Completed findings and saved replies remain available; remote cancellation recovery can still be pending.
questionIdNoThe question's request id, the questionId get_study_status takes.
progressiveNoThe exact executionId and progressive reply status acknowledged by the canonical run cancellation API. A cancelled reply collection can coexist with a completed original run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / progressive
      Added value: +{
      +  "description": "The exact executionId and progressive reply status acknowledged by the canonical run cancellation API. A cancelled reply collection can coexist with a completed original run."
      +}
    • addedOutput schema / properties / reactions
      Added value: +{
      +  "description": "stopped counts Reaction artifacts whose remaining analysis or explanations were durably fenced. Completed findings and saved replies remain available; remote cancellation recovery can still be pending."
      +}
    • changedOutput schema / properties / status / description
      Previous value: -"cancelled (no further answers are generated), cancelling (the Minds answering it stop at their next step), preparing (not submitted yet; call again to stop it) or planning_required (waits for a confirmed plan, nothing is being asked). An already answered or failed question returns an error instead."New value: +"The original run status, including completed when Stop applies to remaining replies or Reactions while preserving the delivered forecast. cancelled means the run was stopped before starting; cancelling means its worker stops at the next step. preparing means no run exists yet; planning_required waits for a confirmed plan. An already settled question with no remaining work stopped returns an error."
    • changedOutput schema / properties / stopped / description
      Previous value: -"True while the question is cancelled or stopping, also on a repeated call; false when nothing was asked yet."New value: +"True when the run is cancelled or stopping, its progressive replies are cancelled, or reactions.stopped is positive. A repeated cancelled acknowledgement remains true. False when nothing was asked yet."
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the destructive and idempotent annotations, the description discloses state-specific behavior: queued/preparing stops immediately, being answered stops at the next step, answers are kept, delivered forecast history is preserved, remaining replies and Reactions can still be stopped, and error conditions are defined. This gives the agent operational context that annotations alone cannot provide.

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

Conciseness5/5

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

The description is dense but front-loaded: it first states what the tool does, then the parameter routing, then lifecycle and error behavior. Every sentence carries distinct operational meaning with no redundant filler.

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 destructive, idempotent mutation with an output schema, the definition covers scope, state transitions, data retention, error cases, and exclusions. Nothing an agent needs in order to invoke it correctly appears to be missing.

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%, and the input schema already explains the runId versus studyId+questionId alternative. The description reinforces this choice but adds no new format, constraint, or example beyond what the schema provides.

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 uses a specific verb ('Stops') and resource ('one standalone Study question'), and explicitly distinguishes it from multi-question runs. An agent can identify the exact action and scope 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?

It clearly states when to use the tool via runId or studyId+questionId, and includes a when-not condition ('Not for multi-question runs'). It does not explicitly name the alternative sibling for multi-question runs, so the guidance is clear but not fully routing.

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.