Skip to main content
Glama

roma__ShowDeviceGroup

Retrieves details for a specified ROMA device group and its immediate child groups, helping you inspect group hierarchy and device organization.

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

Input Schema

NameRequiredDescriptionDefault
group_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

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 behavioral burden. It implies a read operation via '获取' but does not state that it is non-destructive, does not describe how deep '下一层' (next level) goes, whether results are paginated, or what permissions/project scoping are needed beyond the path parameters.

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 sentence that front-loads the resource and the scope. There is no wasted wording, though the brevity is partly the source of the missing guidance rather than a model of efficient specificity.

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

Completeness3/5

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

For a read tool with three required path parameters, no output schema, and no annotations, the description covers the basic purpose but omits return shape, hierarchy depth, pagination, and any error or permission context. Adequate at minimum-viable level, with clear gaps.

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?

All three parameters (group_id, project_id, instance_id) are fully documented in the schema with descriptions and constraints, so the schema does the heavy lifting. The description adds no meaning about how group_id relates to the returned subgroups or about the project/instance scoping, so the baseline of 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 ('获取' / get) and resource ('设备分组' / device group), plus a scope detail: it returns the group along with its immediate next-level subgroups. That is more specific than a bare name restatement, but it never distinguishes the tool from the closely named sibling ShowDeviceGroupTree, so an agent cannot tell from the text alone which one returns the full hierarchy versus a single level.

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 use this instead of ShowDeviceGroupTree, BatchAddDeviceToGroup, or the other group-related siblings. The description states only what the tool returns, leaving the agent to infer the selection context from the tool name and sibling names.

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