Skip to main content
Glama

roma__CreateApiGroupV2

Create a ROMA API group to organize related APIs and obtain a subdomain as the service access entry.

Instructions

[ROMA] API分组是API的管理单元,一个API分组等同于一个服务入口,创建API分组时,返回一个子域名作为访问入口。建议一个API分组下的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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "roma__CreateApiGroupV2"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden, and it discloses exactly one useful trait: creation returns a subdomain as the service access entry. It says nothing about permissions, whether group names must be unique, idempotency on retry, or what else the response contains — significant gaps for a mutation tool.

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 sentences, no padding, and the [ROMA] tag plus domain context are compact. The weakness is ordering: it front-loads a conceptual definition of an API group rather than leading with the create action and its subdomain result.

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?

The description supplies domain framing (a group is the management unit and one service entry, subdomain returned) that genuinely helps an agent understand the resource. But for a create operation with no annotations and no output schema, it leaves the agent without the write-behavior and error-shape context needed to call and interpret it confidently.

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 both parameters (project_id, instance_id) are already documented, and the description adds no syntax or sourcing detail beyond that. Notably the schema exposes only two path parameters with no group name/remark field, and the description does not clarify this unusual shape — but the baseline of 3 applies when the schema does the work.

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 spends its main clause defining what an API group is ('API分组是API的管理单元...一个服务入口') rather than stating the action; the verb appears only obliquely in '创建API分组时,返回一个子域名作为访问入口'. An agent can infer this creates a group, but the definition is framed conceptually and does nothing to distinguish it from UpdateApiGroupV2/DeleteApiGroupV2.

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 create a group versus using an existing one, no prerequisites, and no exclusions. The only advisory line ('建议一个API分组下的API具有一定的相关性') is a data-modeling hint about grouping related APIs, not a routing rule between tools.

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