Skip to main content
Glama

roma__UpdateDispatches

Modify an existing ROMA dispatch schedule by task ID and dispatch ID, updating cron expressions, execution intervals, start time, or remarks.

Instructions

[ROMA] 通过任务ID和调度ID修改调度计划

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

Input Schema

NameRequiredDescriptionDefault
cronNo调度计划的cron表达式
periodNo调度计划执行周期的时间单位,当使用cron表达式时,为空
remarkNo调度计划的备注信息
task_idYes任务ID
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。
dispatch_idYes调度唯一标识,调度计划ID
instance_idYes实例ID
start_datetimeNo调度计划的执行开始时间
use_quartz_cronNo调度计划是否使用cron表达式,允许如下值:
dispatch_intervalNo调度计划的执行间隔时间周期

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 burden, yet it says nothing about update semantics: whether omitted fields are preserved or cleared, whether the target dispatch must already exist, what permissions are needed, or what is returned. For a 10-parameter mutation tool this is a substantial gap, and the one line adds only the identification method.

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?

One short, front-loaded sentence with no filler and no redundancy. It is efficient, though its brevity edges into under-specification rather than serving as a model of well-structured guidance.

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 tool with 10 parameters, no annotations, and no output schema, a single identification sentence is not enough. It never addresses how cron, period, dispatch_interval, and use_quartz_cron interact, which is exactly the kind of thing an agent needs to call this correctly.

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%, so every parameter including cron, period, dispatch_interval, and use_quartz_cron is already documented in the schema. The description restates dispatch_id and task_id but adds no meaning beyond the schema, so the baseline 3 applies.

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 (修改/modify) and resource (调度计划/dispatch schedule), plus the two identifiers used to address it. That separates it from CreateDispatches and ShowDispatches by operation type, though it never names those siblings or explicitly contrasts with them.

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 guidance on when to update versus create or show a dispatch, and no stated prerequisites beyond the identifiers being required. An agent must infer from the verb alone that this is the mutation path for an existing dispatch.

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