Skip to main content
Glama

roma__CheckApisV2

Validates API definitions by checking whether the specified API path or name already exists, helping prevent duplicate APIs.

Instructions

[ROMA] 校验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__CheckApisV2"
  }
}

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

B3.2/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 disclose the actual check scope (path or name existence), which is real behavioral information and implies a non-mutating validation, but it says nothing about permissions, what a failed check returns, or whether a positive result raises an error versus returning a flag. Since no output schema exists, that outcome behavior is exactly what the agent is missing.

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, front-loaded with the verb and object, with no filler. The first clause ('validate API definition') is partially restated by the second, so there is a small amount of redundancy, but nothing extraneous.

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 simple two-parameter read-only check the description covers the what but not the outcome semantics, and there is no output schema or annotation set to fall back on. An agent knows what is being checked but not how to interpret or use a result, nor how to pass the definition under test.

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 the two path parameters (project_id, instance_id), so the baseline of 3 applies. The description adds nothing about parameters, and notably the path/name being validated do not appear among the declared parameters at all, leaving the agent to guess how the candidate definition is supplied.

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?

States a specific verb and object: validate an API definition, specifically whether the API path or name already exists. That is concrete enough to act on, but the description never distinguishes this tool from the near-identically named siblings apig__CheckApisV2 (same check, different service) or roma__CheckLivedataApisV2.

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 guidance, no mention of the natural workflow (e.g. call before creating an API to avoid a duplicate-name/path conflict), and no alternatives or exclusions. The agent must infer the calling context entirely from the tool name and the word 'check'.

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