Skip to main content
Glama
MERURUXD

CODE V MCP

by MERURUXD

cancel_analysis

Request cancellation of the current analysis task and distinguish requested from confirmed stop. For async spot-diagram or native plot exports, cancelling a native plot also closes its open plot file.

Instructions

请求取消当前分析任务,并区分“已请求取消”与“确认停止”。

只对异步任务(点列图与原生绘图导出)有意义;取消原生绘图时还会关闭 CODE V 已经打开的绘图文件。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNo
notesNo
sourceYes
requestedYesTrue when a task existed and was asked to stop.
still_runningNoTrue when the backend could not confirm that it stopped.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does disclose real traits: the operation is a request whose completion is not immediate, and cancelling a native plot additionally closes the CODE V plot file already opened. It omits any note on permissions, idempotency, or behavior if no task is running.

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?

Two sentences, both load-bearing: the first states the action and its two-state semantics, the second scopes applicability and the side effect. Nothing is repeated or wasted, and the core action is front-loaded.

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?

An output schema exists, so return values need not be described, and with zero parameters the surface is small. The description covers applicability and the main side effect; only edge-case behavior (e.g. calling when nothing is running) is left unstated.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The description adds no parameter information, which is appropriate 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?

The description gives a specific verb+resource ('请求取消当前分析任务' / request cancellation of the current analysis task) and even distinguishes the two resulting states (requested vs. confirmed stopped). It does not name a sibling such as run_analysis or get_status to route against, so it falls short of a 5.

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 states an explicit applicability condition: only meaningful for asynchronous tasks (spot diagram and native plot export), which implicitly excludes synchronous analyses. No alternative tool is named for the cases where cancellation is not applicable, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.