Skip to main content
Glama

roma__ExportLiveDataApiDefinitionsV2

Export custom backend API definitions as Swagger-compliant JSON or YAML files for Huawei Cloud ROMA, so you can reuse or share API specifications.

Instructions

[ROMA] 导出自定义后端API,导出文件内容符合swagger标准规范。

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__ExportLiveDataApiDefinitionsV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
apisNo导出的自定义后端API ID列表
app_idNoAPI所属的应用ID
formatNo导出的API定义的格式json
statusNo导出的后端API状态: - 1:待开发 - 3:开发中 - 4:已部署
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full behavioral burden. It usefully discloses that the exported payload conforms to the swagger specification, which tells the agent what to expect back. However, it says nothing about permissions required, whether the call is read-only in effect, whether export is synchronous or produces a downloadable file/link, or how filtering by the optional parameters affects the result.

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 the action and resource, with zero filler. It is arguably too terse for a six-parameter tool, but there is no wasted wording to cut.

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 six-parameter export tool with no annotations and no output schema, the description covers the core purpose and the output format but leaves the return shape (file bytes vs. download URL vs. JSON body) and the interaction among the optional filters unexplained. Just adequate, with clear gaps an agent would notice when actually invoking it.

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 the six parameters (apis, app_id, format, status, project_id, instance_id) are already fully documented with examples and an enum for format. The description adds no additional meaning beyond the schema, which is the expected baseline of 3 when the schema does the heavy lifting.

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 uses a clear verb+resource pair ("导出自定义后端API") and the qualifier "自定义后端" distinguishes this from the generic export sibling roma__ExportApiDefinitionsV2. It also states the output format follows the swagger standard. It stops short of naming which sibling to use for the non-live-data variant, so it is clear but not fully differentiated.

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 instead of roma__ExportApiDefinitionsV2, roma__ExportApiDefinitionsAsync, or the import counterparts. No prerequisites, no mention of whether an export must be published/deployed first. The agent must infer usage entirely from the name.

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