Skip to main content
Glama

roma__StopTask

Manually stops a currently executing ROMA task using the specified instance, project, and task IDs.

Instructions

[ROMA] 手工停止当前执行的任务

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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "task_id": "<task_id>"
    },
    "name": "roma__StopTask"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes任务ID
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only says "stop". It does not state whether the stop is graceful or forced, whether the task state or progress is preserved, whether the task can later be resumed via roma__RunTask, or what permissions/state preconditions apply. For a destructive-style mutation this is a significant gap.

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?

A single front-loaded phrase with zero filler, and the ROMA prefix and the action are stated first. It is efficient, though its brevity borders on under-specification rather than tight writing.

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

Completeness2/5

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

For a mutation tool with three required identifiers, no annotations and no output schema, the description says too little: no effect of stopping, no success/failure semantics, no preconditions, and no guidance on choosing it over the batch stop sibling. An agent could invoke it, but not confidently or safely.

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 all three path parameters (task_id, project_id, instance_id) are documented in the schema, so the baseline of 3 applies. The description adds no meaning beyond the schema and does not clarify that all three identifiers are required to address a specific task.

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?

"手工停止当前执行的任务" gives a concrete verb (停止/stop) and resource (任务/task), scoped to ROMA by the bracketed prefix, so an agent can tell it acts on a task rather than an instance or pipeline. It stops short of differentiating from the sibling roma__BatchStartOrStopTasks, which is the nearest ambiguity.

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?

"手工" (manual) hints that this is the single-task, human-initiated stop as opposed to a batch operation, which is implied usage guidance. There is no explicit when-to-use/when-not statement, no mention of prerequisites (e.g. the task must be running), and no named alternative for batch scenarios.

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