Skip to main content
Glama

roma__CreateDeviceGroup

Creates a device group under a specified parent group in a ROMA instance, using the application and project IDs to organize devices for management.

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": {
      "app_id": "<app_id>",
      "instance_id": "<instance_id>",
      "name": "<name>",
      "parent_id": "<parent_id>",
      "project_id": "<project_id>"
    },
    "name": "roma__CreateDeviceGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes分组名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
app_idYes分组归属应用ID
parent_idYes父分组ID,自动向下取整
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。
descriptionNo分组描述
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are supplied, so the description must carry the full behavioral burden, and it discloses nothing. For a create/mutation operation it omits whether permissions or an existing parent are required, what happens on duplicate names, whether the call is idempotent, and what the response contains.

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?

A single short phrase with zero waste, but the brevity reflects under-specification rather than disciplined editing. It is front-loaded only in the trivial sense that there is nothing else to place.

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 six parameters, five of them required, no annotations, and no output schema, a one-phrase description is inadequate. An agent cannot learn from the description why parent_id and app_id are mandatory or what a successful creation returns.

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 every one of the six parameters carries a Chinese description including format constraints (name 2-64 chars, parent_id integer flooring, project_id lookup reference). The description adds nothing, but the baseline of 3 applies when the schema fully documents the inputs.

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

Purpose2/5

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

"[ROMA] 创建设备分组" is a literal restatement of the tool name CreateDeviceGroup with a service tag prepended. It does confirm the verb+resource pairing, but adds no distinguishing information beyond what the name already conveys and does not position it relative to siblings such as roma__UpdateDeviceGroup or roma__ShowDeviceGroup.

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?

No guidance at all about when to use this instead of alternatives. It does not say whether the group must not already exist, whether a parent group must be created first, or which sibling to use for querying or modifying groups.

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