Skip to main content
Glama

roma__ListPluginAttachableApis

Lists APIs that can be attached to a specified ROMA plugin using environment, instance, and project details, helping identify available APIs for plugin binding.

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": {
      "env_id": "<env_id>",
      "instance_id": "<instance_id>",
      "plugin_id": "<plugin_id>",
      "project_id": "<project_id>"
    },
    "name": "roma__ListPluginAttachableApis"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo每页显示的条目数量
api_idNoAPI编号
env_idYes发布的环境编号
offsetNo偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
req_uriNo请求路径
api_nameNoAPI名称
group_idNo分组编号
plugin_idYes插件编号
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
req_methodNo请求方法
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and delivers almost none of it. It does not say whether results are paginated, whether the list is scoped to the plugin-instance pair, what permissions are needed, or what the response contains. Only the read-only nature is weakly implied by '查询'.

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?

A single front-loaded sentence with zero redundancy, but it is terse to the point of under-specification for a tool with 11 parameters and four required identifiers. The brevity is efficient but not calibrated to the tool's complexity.

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?

With 11 parameters, no annotations, and no output schema, the description leaves the agent without enough context on return shape, pagination limits, or how the optional filters (api_name, req_uri, group_id, req_method) combine. The 100% schema coverage helps, but the definition as a whole is under-explained for a four-required-param list operation.

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 all 11 parameters including limit/offset, req_uri, req_method, and the four required path IDs are documented in the schema itself. The description adds no filtering semantics or interaction guidance beyond that, so the baseline 3 applies.

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 gives a clear verb+resource: query APIs that can be bound to the current plugin. The qualifier '可绑定' (attachable) implicitly separates it from the sibling that lists already-attached APIs, though no sibling is named explicitly to make the distinction unmistakable.

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?

It states what is retrieved but gives no when-to-use guidance, no prerequisites (e.g. plugin must exist, env must be released), and does not point to alternatives such as the attached-vs-attachable counterpart tools. The agent must infer routing from the name alone.

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