Skip to main content
Glama

roma__ShowDeviceGroupTree

Retrieves all device groups for a specified ROMA Connect application and instance so you can inspect group structures and manage connected devices.

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>",
      "project_id": "<project_id>"
    },
    "name": "roma__ShowDeviceGroupTree"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_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.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and discloses almost nothing: it doesn't say whether the result is paginated, how deep the tree goes, whether access is scoped to the given project/instance, or what the response shape is. The only behavioral hint is the word "所有" (all), which implies an unpaginated bulk return but is not made explicit.

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 waste and the resource is front-loaded, but it is terse to the point of under-specification rather than genuinely efficient prose. There is no second sentence to carry scope or routing information.

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?

The tool is simple (3 required, fully documented identifiers) and has no output schema, so the description needn't narrate return values. Still, for a listing tool it omits any hint of result size, tree depth, or whether an empty group set is possible, leaving the agent unable to anticipate the response.

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 already carries a Chinese description, including where to obtain project_id, so the schema does the work. The description itself adds no parameter meaning beyond confirming the scope is "all groups," which is the baseline 3 case.

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?

"查询所有设备分组" gives a specific verb (query/list) and resource (device groups) plus scope (all), which separates it from the singular roma__ShowDeviceGroup. It does not name any sibling explicitly, so differentiation must be inferred from the noun forms.

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?

The description gives no when-to-use guidance, no prerequisites (e.g., that app_id, project_id and instance_id must already be known), and no indication of why an agent would pick this tree listing over roma__ShowDeviceGroup. Usage must be inferred entirely from the name.

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