Skip to main content
Glama

roma__ListTopics

Lists and filters Huawei Cloud ROMA device topics by name, type, permission, and custom status for a specified device, with pagination support.

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

Input Schema

NameRequiredDescriptionDefault
nameNotopic名称
limitNo每页显示条目数量,最大数量999,超过999后只返回999
offsetNo偏移量,表示从此偏移量开始查询, offset大于等于0
device_idYes设备ID
is_privateNotopic是否为自定义,0为基础topic,1为自定义topic
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。
topic_typeNotopic类型,0为设备类topic,1为产品类topic
instance_idYes实例ID
topic_permissionNotopic权限,0为发布,1为订阅

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it discloses nothing: not whether the call is read-only, not pagination behavior (relevant given limit/offset), not ordering, not failure modes for invalid instance_id/project_id. For a 9-parameter tool with zero annotation coverage this is a serious gap.

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 bracketed phrase with zero waste and the resource is front-loaded, so it passes on structure. But the brevity is under-specification rather than genuine conciseness — there is no second sentence earning any of the missing behavioral or routing information.

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

Completeness1/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, 3 required path parameters, no annotations and no output schema, the description is far too thin. It leaves pagination semantics, filter interactions, and the returned shape (nothing is stated about topic entries) entirely to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline would be 3, but nothing in the description adds meaning to any of the 9 parameters — the filters (name, is_private, topic_type, topic_permission, limit/offset) are only explained by the schema itself. The one hint, "设备", loosely reinforces device_id but is already obvious from the required path parameter.

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?

"查询设备主题" gives a recognizable verb (query/list) and resource (device topics), and the word "设备" does implicitly separate it from product-level siblings such as roma__ListProductTopics. However, it never names or contrasts with any sibling, and it does not clarify whether it returns topics owned by a device or topics to which a device is bound — a distinction the required device_id/instance_id parameters make relevant.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description contains no when-to-use guidance at all: no statement of context, no prerequisites, no exclusions, and no pointer to the many sibling list-topic tools (ListMqsInstanceTopics, ListProductTopics, kafka__ListInstanceTopics). An agent has nothing to route on except the phrase itself.

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