Skip to main content
Glama

roma__CheckLivedataApisV2

Validates custom backend API definitions by checking whether a specified API path or name already exists, helping prevent duplicate ROMA LiveData API configurations.

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>",
      "type": "<type>"
    },
    "name": "roma__CheckLivedataApisV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes校验类型:
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idYes实例ID
ld_api_nameNo自定义后端API名称。
ld_api_pathNo自定义后端API的访问地址。
roma_app_idNo集成应用ID。
ld_api_methodNo自定义后端API请求方式。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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 burden of behavioral disclosure. It states what is validated but does not clarify whether the operation is read-only, what it returns for existing versus non-existing values, permission requirements, or any side effects.

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?

The description is short and front-loaded, with the core validation purpose stated first. The second sentence partially repeats the same custom-backend-API framing, which is slight redundancy but not harmful.

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?

This is a seven-parameter validation tool with no annotations and no output schema, so return behavior and validation outcomes are important context. The description is too sparse: it does not explain result semantics, auth needs, or how the required type parameter interacts with optional path/name parameters.

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 the schema already documents all seven parameters, including enums for type and method. The description adds only a general reference to path/name existence and does not explain how type selects which optional fields matter.

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 (校验/validate), a specific resource (自定义后端API定义/custom backend API definition), and the exact validation target (path or name already exists). It is clear about what the tool does, but does not distinguish it from sibling check tools such as CheckApisV2.

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?

The existence-check phrasing implies the use case: checking for duplicate custom backend API paths or names. However, it does not explicitly say when to use this tool versus alternatives, nor does it give when-not guidance or prerequisites.

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