Skip to main content
Glama
SmartBear MCP server

SmartBear MCP server

Official
by SmartBear

BearQ: Stop Task

bearq_stop_task
Read-onlyIdempotent

Cancel a pending or running BearQ task by ID, returning a stopped flag. Stopping an already-finished task is a success no-op, so check its status separately if needed.

Instructions

Cancels a pending or running task, returning { taskId, stopped: true }. The public API accepts a stop of an already-finished task as a success no-op, so this does not guarantee the task was running — check the task's status separately if that matters.

Toolset: Tasks

Parameters:

  • taskId (number) required: BearQ task ID to cancel.

Input Schema

NameRequiredDescriptionDefault
taskIdYesBearQ task ID to cancel.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.40.0
  2. Removedv0.34.0
  3. First observedv0.27.1

TDQS

A3.6/5.0
Behavior2/5

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

The description discloses genuinely useful behavior beyond the schema: the return shape { taskId, stopped: true } and the no-op semantics for already-finished tasks, which spare the agent a false assumption. However, it also describes a state-changing cancellation, while the annotations declare readOnlyHint=true (and destructiveHint=false), a direct conflict that can mislead an agent about whether the call mutates anything.

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?

Three short sentences: action and return shape first, the important non-guarantee second, toolset/param metadata last. Nothing is redundant and the caveat is front-loaded before any caller would act on the result.

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?

There is no output schema, but the description supplies the return contract and the key edge case, and the single parameter is fully covered. Only minor gaps remain, such as whether cancellation is immediate or asynchronous and whether any permission is required.

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 sole parameter is already documented in the schema; the description's parameter line ('BearQ task ID to cancel') restates it almost verbatim. With one required numeric param, no additional semantics are needed, so this is baseline-adequate with no added value.

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 names a specific verb and resource with scope: it "Cancels a pending or running task." The resource (task) is distinguishable from the nearby bearq_stop_workflow_run and bearq_get_task_status siblings, so an agent can pick the right tool without opening a schema.

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?

It gives a conditional follow-up ('check the task's status separately if that matters'), which implicitly points at bearq_get_task_status, but it never names that alternative or says when to prefer waiting or checking status over stopping. Usage guidance 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.

Deploy Server

Other Tools