Skip to main content
Glama

roma__ListApiVersionsV2

Retrieves historical versions for a specified ROMA API, optionally filtered by environment, with pagination to support version review or rollback decisions.

Instructions

[ROMA] 查询某个API的历史版本。每个API在一个环境上最多存在10个历史版本。

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__ListApiVersionsV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo每页显示的条目数量
api_idYesAPI的编号
env_idNo环境的编号
offsetNo偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
env_nameNo环境的名称
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/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. It does add real behavioral context the schema does not carry — the ten-version cap per API per environment — but omits read-only confirmation, pagination semantics despite limit/offset params, and any hint about the returned version records.

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 short sentences with the action stated first and the version-limit caveat second; nothing is redundant. The bracketed '[ROMA]' prefix is minor noise that carries no information for an agent.

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?

For a seven-parameter read tool with no annotations and no output schema, the description covers the core purpose and one useful limit but leaves the return shape and pagination behavior unexplained. Adequate to invoke, thin for interpreting results.

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 seven parameters are already documented in the schema. The description's mention of environment-scoped versions adds a small amount of meaning about what env_id/env_name select, but gives no format or filtering detail beyond the schema.

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: querying the historical versions of a given API. An agent can distinguish it from mutating siblings like ChangeApiVersionV2 or detail-lookup siblings like ListApiVersionDetailV2, though it never names an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the purpose ('query historical versions'), with no statement of when to prefer this over ListApiVersionDetailV2 or ListApiVersionsV2, and no prerequisites such as required permissions or the need to resolve env_id first.

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