Skip to main content
Glama

Polyrank AI Lab assistant: stop an answer

polyrank_lab_stop
Idempotent

Stop the AI Lab assistant answering in one of your chats: a question still queued is withdrawn; a running answer stops within about a second and keeps what it finished. A backtest it started keeps running. Needs a signed-in Polyrank account. Strategies, backtests, paper runs and chats exist only on a plan with the AI Lab (every paid plan, from Pro Trader: https://polyrank.app/pricing).

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": {
      "id": "<id>"
    },
    "name": "polyrank_lab_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that a queued question is withdrawn rather than answered, that a running answer halts in ~1s and retains partial output, and that a backtest already launched keeps running. It also states the auth requirement (signed-in account) and the plan prerequisite. These details are consistent with destructiveHint=false and idempotentHint=true — the operation aborts work without deleting completed content.

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 tight sentences, front-loaded with the action and its immediate side effects, with the access/plan boilerplate pushed to the end. The pricing URL and plan enumeration are the only slightly expendable weight.

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?

For a one-parameter mutation with no output schema, the description covers side effects, latency, and access constraints well. The gaps are the undefined parameter and the absence of any statement about what the call returns or how to confirm the stop succeeded.

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?

Schema description coverage is 0% and the single required parameter 'id' is never defined in the description. 'In one of your chats' weakly implies a chat identifier, but the agent cannot tell whether it is a chat id, a message/answer id, or a run id — a genuine risk of passing the wrong UUID.

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?

Specific verb+resource: 'Stop the AI Lab assistant answering in one of your chats,' which cannot be confused with polyrank_lab_ask or polyrank_lab_reply. It also scopes the operation to a single chat, so an agent knows it is not a global stop.

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 description makes the triggering conditions concrete by enumerating both applicable states — a question still queued (withdrawn) and a running answer (stopped within about a second). It stops short of naming alternatives or stating exclusions (e.g., nothing about what to call to inspect the chat afterwards), so it 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.