Skip to main content
Glama

roma__DetachApiFromPlugin

Detaches specified APIs from a ROMA plugin in a given environment, enabling you to remove unwanted plugin bindings by API 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_ids": "<api_ids>",
      "env_id": "<env_id>",
      "instance_id": "<instance_id>",
      "plugin_id": "<plugin_id>",
      "project_id": "<project_id>"
    },
    "name": "roma__DetachApiFromPlugin"
  }
}

Input Schema

NameRequiredDescriptionDefault
env_idYes绑定API的环境编码。
api_idsYes绑定的API编码列表。
plugin_idYes插件编号
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?

With no annotations supplied, the description carries the full behavioral burden. It conveys only that a binding is removed; it does not disclose whether the unbind is reversible, whether it fails when some API IDs are not bound, whether operations are transactional, or any permission/rate-limit constraints for a mutation affecting up to 500 APIs.

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?

A single short, front-loaded sentence with no filler. It is efficient, though extremely terse for a five-parameter mutation.

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 schema fully documents all five required parameters, so the basics are covered, but for a batch mutation tool with no annotations and no output schema, the description omits failure behavior, result reporting, and any differentiation from the many sibling attach/detach tools.

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 parameter including project_id and instance_id is documented in the schema, which sets the baseline at 3. The description adds no semantics beyond the schema, such as what happens if an entry in api_ids is already unbound.

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+resource pair in Chinese: unbinding (解除绑定) APIs from a plugin (插件上的API). It is clear what the tool does, though it does not distinguish itself from the near-identical siblings roma__DetachPluginFromApi and apig__DetachApiFromPlugin, which an agent would need to resolve by 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 guidance on when to use this tool versus the sibling detach variants, nor any stated prerequisites such as whether the plugin and APIs must currently be bound or whether the instance/environment must be in a particular state. Usage must be inferred entirely from the name and description.

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