Skip to main content
Glama

roma__UpdateApiGroupV2

Updates the name and remark of a Huawei Cloud ROMA API group using group, instance, and project IDs; use it to revise group metadata only.

Instructions

[ROMA] 修改API分组属性。其中name和remark可修改,其他属性不可修改。

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

Input Schema

NameRequiredDescriptionDefault
nameYesAPI分组的名称。
remarkNoAPI分组描述。
group_idYes分组的编号
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/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. It usefully discloses the key mutation constraint (only two attributes are changeable; the rest are immutable), but says nothing about authorization requirements, whether the operation is idempotent or reversible, whether unspecified fields are preserved, or what a successful response contains.

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

Conciseness4/5

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

Two short clauses, front-loaded with purpose followed immediately by the mutability constraint — no filler. Minor deduction for the bracketed '[ROMA]' service tag, which consumes space without aiding tool selection.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter mutation tool with no annotations and no output schema, the definition covers purpose and the modifiable-field boundary but leaves the agent without success/failure semantics, permission requirements, or conflict behavior. Adequate to invoke, thin on what to expect afterwards.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description earns above baseline by partitioning the five parameters semantically: name and remark are the payload to be modified, while group_id, project_id, and instance_id are identification/location inputs (the schema marks them 'in': 'path'). That mutability split is not stated anywhere in the schema itself.

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?

The description names a specific verb+resource (修改API分组属性, 'modify API group attributes') and immediately narrows scope to the two mutable fields, name and remark, which distinguishes it from CreateApiGroupV2/DeleteApiGroupV2/ShowDetailsOfApiGroupV2 without naming them. It falls short of 5 only because the sibling relationship is implied rather than stated.

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

Usage Guidelines3/5

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

It establishes the mutation boundary (only name and remark updatable, all other attributes fixed), which implicitly tells an agent when this tool is applicable. However, it gives no explicit when-to-use versus alternatives (e.g., UpdateApiV2 for APIs instead of groups), no prerequisites, and no statement about required permissions or pre-existence of the group.

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