Skip to main content
Glama

roma__UpdateProduct

Updates ROMA product details such as name, model, manufacturer, device type, version, and description using the specified project, instance, and product IDs.

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_type": "<device_type>",
      "instance_id": "<instance_id>",
      "manufacturer_id": "<manufacturer_id>",
      "manufacturer_name": "<manufacturer_name>",
      "model": "<model>",
      "name": "<name>",
      "product_id": "<product_id>",
      "project_id": "<project_id>"
    },
    "name": "roma__UpdateProduct"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes产品名称,创建产品时租户内唯一,长度1-64,仅支持中文,英文字母,数字,下划线和中划线
modelYes产品型号,支持英文大小写,数字,下划线,中划线和空格(首尾空格会被忽略),长度2-50
versionNo模型版本
product_idYes产品ID
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。
descriptionNo产品描述,长度0-200
device_typeYes产品的设备类型(默认Default Type)
instance_idYes实例ID
manufacturer_idYes产品供应商ID,支持英文大小写,数字,下划线和中划线,长度2-50
manufacturer_nameYes厂商名称,支持长度2-64

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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, yet it only states that product information is modified. It does not disclose that 8 of 10 parameters are required (implying a near-full replacement rather than a partial patch), nor any permission requirements, side effects on related topics/templates, or reversibility.

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?

The single phrase is free of waste, but it is under-specified rather than concise — there is no front-loaded statement of scope, required context, or effect. Brevity here costs information rather than saving it.

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 mutation tool with 10 parameters, 8 of them required, and no annotations or output schema, a one-phrase description is well short of what an agent needs to invoke it safely. The rich input schema compensates somewhat for the parameter gaps, but the behavioral and usage picture remains empty.

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%, with each of the 10 parameters documented in-schema (length bounds, allowed characters, path vs body). The description adds nothing beyond the schema, so the baseline 3 for fully documented parameters applies.

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?

The description identifies a verb and resource (修改产品信息 = modify product information), so the general intent is recoverable, but it never says which product attributes are updatable or what scope the update covers. It also gives no way to distinguish it from siblings such as roma__UpdateProductTemplate or roma__UpdateProductTopic, which share the same 'update a product-related object' shape.

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 when-to-use guidance at all: no prerequisites, no mention of when to prefer roma__ShowProduct versus this tool, and no exclusions. The agent must infer from the name alone that this is the mutation counterpart to CreateProduct/ShowProduct.

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