Skip to main content
Glama

roma__BatchStartOrStopTasks

Batch start or stop multiple ROMA tasks using task IDs and a start/stop action, enabling coordinated task control for a specified project and instance.

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

Input Schema

NameRequiredDescriptionDefault
listNo需要启动或者停止的任务ID列表
action_idYes操作类型
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 and does not meet it. It does not say whether the operation is synchronous or asynchronous, what happens if a listed task is already started/stopped, whether partial success is possible, or whether the action is reversible — all critical for a bulk mutation over up to 9999 items.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short phrase with zero wasted words, but that brevity reflects under-specification rather than tight writing. There is no front-loaded statement of scope, side effects, or expected input shape to anchor the agent.

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 bulk mutation tool with four parameters, a nested array of task objects, an action enum, no annotations, and no output schema, the description is far too thin. An agent has no idea what the call returns, how many tasks can fail before the call errors, or what preconditions exist.

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 coverage is 100% and every parameter carries a description plus an enum for action_id (start/stop), so the schema already does the semantic work. The description adds nothing beyond that — no explanation of the list item structure or the interaction between action_id and the task list — so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the operation type (batch start/stop) and the resource (tasks), so the verb+resource pair is discernible, but it merely restates the tool name in Chinese and adds no scope detail. It never clarifies what kind of 'tasks' these are (integration tasks, scheduled tasks, host tasks) or how it differs from sibling tools like roma__StopTask or roma__CreateMultiTasks.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: nothing about choosing batch over the single-task siblings, no prerequisites such as required project/instance state, and no note on partial-failure behavior. The word '批量' only faintly implies batch suitability, which is insufficient for routing among the many start/stop siblings.

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