Skip to main content
Glama

roma__UpdateApiV2

Updates a specified ROMA API's configuration, including backend service information, using the API ID, instance ID, and project ID.

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

Input Schema

NameRequiredDescriptionDefault
api_idYesAPI的编号
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits, but it does not state permission requirements, whether updates are partial or full replacement, reversibility, effects on published APIs, or response behavior. It only says the tool modifies API information including backend service information, which is not enough for a mutation tool with no annotation coverage.

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?

The description is a single front-loaded sentence with no wasted wording. It is appropriately sized for the amount of information it conveys, even though that information is limited.

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 no annotations, no output schema, and only identifier parameters, the description omits critical context: what fields can be updated, whether the API must be unpublished first, permission requirements, and what the operation returns. It gives only a broad purpose and leaves major operational questions unanswered.

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 coverage is 100%, so the three identifier parameters are already documented in the input schema. The description adds no parameter-specific meaning and does not explain how 'backend service information' relates to the supplied identifiers, though the high schema coverage supports a baseline score of 3.

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 states a specific verb and resource: modifying the specified API's information, including backend service information. This distinguishes it from create/delete operations and from API-group tools, though it does not explicitly contrast with siblings such as roma__UpdateApiGroupV2.

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 explicit guidance on when to use this tool versus alternatives, nor any prerequisites, exclusions, or warnings. The phrase 'modify specified API' implies usage but leaves the agent to infer the appropriate context.

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