Skip to main content
Glama

roma__UpdateLiveDataApiV2

Updates parameters of an existing ROMA backend API in a Huawei Cloud instance, letting you modify its request settings without recreating the API.

Instructions

[ROMA] 在某个实例中更新后端API的参数。

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": {
      "content_type": "<content_type>",
      "instance_id": "<instance_id>",
      "ld_api_id": "<ld_api_id>",
      "method": "<method>",
      "name": "<name>",
      "path": "<path>",
      "project_id": "<project_id>",
      "roma_app_id": "<roma_app_id>",
      "version": "<version>"
    },
    "name": "roma__UpdateLiveDataApiV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes后端API名称。
pathYes后端API请求路径。
methodYes后端API请求方法。
versionYes后端API版本
ld_api_idYes后端API的编号
parametersNo后端API的请求参数列表
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
descriptionNo后端API描述。
instance_idYes实例ID
roma_app_idYes后端API归属的集成应用编号
content_typeYes后端API返回类型json
return_formatNoAPI响应信息是否格式化
api_signature_idNo后端API为签名认证时绑定的签名密钥编号

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 burden. Beyond implying a mutation inside a specific instance, it discloses nothing about permission requirements, whether omitted fields are cleared or preserved, or what happens to an in-service API when it is updated.

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 short sentence with the resource scope front-loaded and no filler. However, for a 13-parameter mutation tool, this terseness means it is under-specified rather than genuinely concise, and the narrow wording about "parameters" is actively imprecise.

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?

This is a 13-parameter, 9-required mutation with no annotations and no output schema, so the description should explain update semantics, required identifiers and failure modes. Instead, it is one sentence, leaving an agent without what it needs to call the tool safely.

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%, so every one of the 13 parameters is already documented in the schema, including enums for method and content_type. The description adds no extra meaning, such as how the nested parameters array behaves or the significance of api_signature_id, so the baseline of 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?

The description names a verb and resource (update a backend API in an instance), which distinguishes it from sibling verbs such as Create/Delete/ShowLiveDataApiV2. However, it says it updates "the parameters" of the API, while the schema shows it also sets name, path, method, version, description, return_format and signature binding, so the stated scope is narrower than the actual operation.

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 guidance on when to use this tool versus alternatives such as roma__CreateLiveDataApiV2 or roma__UpdateApiV2, no prerequisites, and no statement about whether the API must already be published or unpublished before updating.

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