Skip to main content
Glama

roma__UpdateProductTemplate

Updates an existing ROMA product template's name, description, and status for a specified project and instance.

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>",
      "name": "<name>",
      "product_template_id": "<product_template_id>",
      "project_id": "<project_id>",
      "status": "<status>"
    },
    "name": "roma__UpdateProductTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes产品模板名称,支持中文,英文大小写,数字,下划线和中划线,长度2-64
statusYes产品模板状态 0-启用 1-禁用
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。
descriptionNo产品模板描述,长度0-200
instance_idYes实例ID
product_template_idYes产品模板ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 disclosure burden, yet it only implies a mutation. It does not state whether the update is a full replace or partial merge, what happens to omitted fields, whether the operation is idempotent, or what permissions/instance state are required. This is a significant gap for a write tool with five required parameters.

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 single short phrase is front-loaded but is under-specified rather than concise; it is too terse to convey anything an agent could not already get from the tool name. No wasted words exist, but there is essentially no content to structure.

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?

Given six parameters, five of them required, a path-based instance/project/template identifier set, and no annotations or output schema, a bare four-character phrase is completely inadequate. An agent gets no help understanding mutation semantics, required resource state, or error conditions.

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 every parameter including name, status enum, project_id, instance_id, and product_template_id documented inline. The description adds nothing beyond the schema, so baseline 3 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?

"修改产品模板" states a verb (modify) and a resource (product template), so the basic intent is readable. However, it gives no indication of scope or which aspects of the template are modifiable, and it does nothing to separate this from siblings like roma__UpdateProduct, roma__CreateProductTemplate, or roma__DeleteProductTemplate beyond the generic verb.

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 statement that the template must already exist, no mention of alternatives such as creating a new template instead. An agent must infer everything about selection from the verb 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