Skip to main content
Glama

roma__CreateLiveDataApiV2

Creates a backend API in a specified ROMA instance, letting you define its request path, HTTP method, version, parameters, and response type for API integration.

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": {
      "content_type": "<content_type>",
      "instance_id": "<instance_id>",
      "method": "<method>",
      "name": "<name>",
      "path": "<path>",
      "project_id": "<project_id>",
      "roma_app_id": "<roma_app_id>",
      "version": "<version>"
    },
    "name": "roma__CreateLiveDataApiV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes后端API名称。
pathYes后端API请求路径。
methodYes后端API请求方法。
versionYes后端API版本
parametersNo后端API的请求参数列表
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
descriptionNo后端API描述。
instance_idYes实例ID
roma_app_idYes后端API归属的集成应用编号
content_typeYes后端API返回类型json
return_formatNoAPI响应信息是否格式化
api_signature_idNo后端API为签名认证时绑定的签名密钥编号

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 supplied, so the description bears the full burden. It only says 'create in an instance' and omits everything an agent needs: that this is a mutating operation, permission requirements, whether the API is immediately callable or must be published/deployed separately, and how duplicate paths/versions are handled.

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?

It is a single short sentence with zero waste and is front-loaded, but brevity here is under-specification rather than disciplined concision. The [ROMA] tag is the only structuring element.

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?

For a 12-parameter, 8-required mutation tool with no annotations and no output schema, one line is far from complete. Nothing explains the creation lifecycle, the significance of roma_app_id or api_signature_id, or what the response contains.

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% and every one of the 12 parameters (name, path, method, version, content_type, roma_app_id, parameters list, etc.) is documented in the schema. The description adds no meaning beyond it, so the baseline of 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 states a specific verb (创建/create) and resource (后端API/backend API) plus a scope (在某个实例中/in a given instance), so an agent knows the basic operation. It does not name or contrast with siblings such as CreateLiveDataApiScriptV2 or CreateApiV2, leaving ambiguity about which API-creation tool applies.

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 gives no when-to-use guidance, no prerequisites, and no mention of alternatives among the many sibling create/list/publish tools. The agent must infer from the name alone whether this is the right creation tool.

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