Skip to main content
Glama

Minds: Synthetic Market Research

Cancel Study Run

cancel_study_run
DestructiveIdempotent

Stop pending Study work; keep saved replies. Returns run/collection status.

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": {
      "runId": "<runId>"
    },
    "name": "cancel_study_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdYesThe durable Study run UUID returned when starting the Study or by get_study_status. This is runId, not the response collection executionId or an assistant messageId.

Output Schema

NameRequiredDescriptionDefault
dataNoThe actual durable run cancellation acknowledgement from the v1 API, including runId, run status, and progressive response-collection state when present. Already completed collections remain completed. Cancelled collections can contain saved replies while remaining incomplete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is supplied structurally. The description adds a genuinely useful blast-radius detail, "keep saved replies," which tells the agent what survives the destructive call, but it says nothing about whether the run can later be resumed or how long the stop takes to take effect.

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?

Two short clauses, effect front-loaded, zero filler. It is arguably over-compressed for a destructive mutation, but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter destructive mutation with an output schema present, the description covers what it does, what is preserved, and that status is returned. It omits two things an agent planning a cancel would want: whether the run is resumable via resume_study_run, and whether cancellation is immediate or eventual.

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

Parameters2/5

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

The description never mentions runId or how to identify the run, leaving that entirely to the schema. Schema coverage is 100% and the runId field description is unusually strong (explicitly excluding executionId and messageId), so the schema carries the burden, but the description itself contributes nothing here.

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?

"Stop pending Study work" names a specific verb and resource, and "keep saved replies" scopes the effect. It does not differentiate itself from the sibling cancel_study_question (single question) or resume_study_run, so an agent must infer the granularity distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the word "pending" signals the situation in which to call it, and the retention of saved replies hints at what it is not for. There is no explicit when-not guidance and no named alternative such as cancel_study_question for cancelling one question.

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.