Skip to main content
Glama

roma__AssociateDomainV2

Associates a custom domain with a ROMA API group and CNAME mapping to the group subdomain so the domain takes effect.

Instructions

[ROMA] 用户自定义的域名,需要CNAME到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": {
      "group_id": "<group_id>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "roma__AssociateDomainV2"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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, and it discloses only one behavioral fact: the domain takes effect only after a CNAME record is pointed at the API group's subdomain. It does not state that this is a mutation, whether it is idempotent or reversible, what permissions are needed, or what happens on conflict with an already-bound domain.

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 short and has no wasted wording, but it is concise about the wrong thing — the sentence spends its only clause on a CNAME prerequisite instead of front-loading the operation. Length is fine; the information ordering serves an agent poorly.

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 mutating association tool with zero annotations, no output schema, and three required identifiers, the definition is far too thin — an agent cannot tell what is bound to what, what a successful result looks like, or how failure modes manifest. The CNAME note is a helpful constraint but nowhere near sufficient context.

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% for all three required path parameters (group_id, project_id, instance_id), so the schema already documents their meaning and examples. The description's mention of API group loosely corresponds to group_id but adds no syntax, format, or constraint detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The single sentence reads like a field note ("[ROMA] user-defined domain, must be CNAMEd to the API group's subdomain to take effect") rather than a statement of what the tool does. No verb such as "associate/bind" appears, and nothing distinguishes this from siblings like roma__DisassociateDomainV2 or roma__UpdateDomainV2 — the agent must infer the action from the tool name alone.

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 when-to-use or when-not-to-use guidance, no mention of prerequisites in terms of permissions or group state, and no routing to an alternative tool. The CNAME requirement is a domain-level fact, not guidance on selecting this tool.

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