Skip to main content
Glama

roma__ListProducts

Retrieve and filter ROMA Connect products by instance, project, name, model, app, type, protocol, manufacturer, or creation date to inspect available products and support device 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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "roma__ListProducts"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo产品ID
nameNo产品名称
limitNo每页显示条目数量,最大数量999,超过999后只返回999
modelNo型号
app_idNo应用ID
offsetNo偏移量,表示从此偏移量开始查询, offset大于等于0
app_nameNo应用名称
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。
device_typeNo产品的设备类型,默认Default
instance_idYes实例ID
product_typeNo产品类型,0-普通产品(不支持子设备) 1-网关产品
protocol_typeNo产品的协议类型 0-mqtt 2-modbus 4-opcua
product_serialNo产品唯一序列(系统唯一值,用于MQS的TOPIC中标记产品)
manufacturer_idNo厂商ID
created_date_endNo创建时间截止,格式timestamp(ms),使用UTC时区
created_user_nameNo创建用户
manufacturer_nameNo厂商名称
created_date_startNo创建时间起始,格式timestamp(ms),使用UTC时区

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/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 behavioral burden, and it discloses nothing. It does not state that this is a read-only paginated query, that pagination is capped (limit max 999), what permissions the instance_id/project_id imply, or what is returned. For an 18-parameter list operation with zero annotation coverage, this is a total gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is short, but that brevity is under-specification rather than economy. A bracketed service tag plus a two-word verb phrase earns almost no informational value.

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?

An 18-parameter query tool with no annotations and no output schema requires the description to explain behavior, return shape, and usage. The description provides none of these, so an agent going only by the description would have no idea how to call this correctly.

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 parameter, including limit/offset semantics, enum meanings for product_type and protocol_type, and timestamp format notes, is documented in the schema itself. The description adds nothing beyond that structured data, so the baseline of 3 applies.

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?

"查询产品" restates the tool name ListProducts almost verbatim and gives no scope, filters, or resource qualifier. It never distinguishes this listing from sibling listings such as workspace__ListProducts or apiexplorer__ListProductsV4, so an agent cannot tell what makes this one different.

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?

There is no when-to-use guidance, no exclusions, and no mention of alternatives. The agent must infer everything about which listing tool to choose from the name alone.

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