Skip to main content
Glama

roma__CreateDispatches

Creates ROMA task dispatch schedules with cron or interval settings, enabling automated task runs within a specified instance and project.

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__CreateDispatches"
  }
}

Input Schema

NameRequiredDescriptionDefault
cronNo调度计划的cron表达式
periodNo调度计划执行周期的时间单位,当使用cron表达式时,为空
remarkNo调度计划的备注信息
task_idYes任务ID
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目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.6/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. 'Create' implies a mutation, but nothing is said about permissions needed, whether duplicate dispatches are allowed, what the response returns, or how the mutually exclusive cron/period/interval fields interact. This is a significant gap for a 9-parameter mutation tool.

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 short phrase with zero waste and the operation front-loaded. It is efficient, though it is so thin that it provides essentially no structure for the caller to work with.

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 9 parameters, a required task/project/instance path triple, an enum, and no annotations or output schema, the description should at least clarify the cron-vs-period-vs-interval relationship and what gets created. It offers none of this; only the rich schema prevents a lower score.

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%, including the cron expression, period enum, interval bounds and path IDs, so the schema already does the heavy lifting. The description adds no meaning beyond the schema, which makes the baseline 3 appropriate.

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 names a specific verb and resource ('创建调度计划' / create dispatch plan), which is enough to know the general operation. However, it does not differentiate from siblings such as roma__UpdateDispatches or roma__ShowDispatches, nor does it mention that a dispatch belongs to a task/project/instance. Minimum viable, with a clear sibling-differentiation gap.

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, no preconditions (e.g. required task must exist, cron vs. period selection), and no pointer to alternatives. The agent must infer everything from the name and schema.

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