Skip to main content
Glama

roma__PublishLiveDataApiV2

Deploys a backend API in a specified ROMA instance and can automatically publish it to the frontend, with options for path, method, protocol, authentication, and timeout.

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": {
      "instance_id": "<instance_id>",
      "ld_api_id": "<ld_api_id>",
      "project_id": "<project_id>"
    },
    "name": "roma__PublishLiveDataApiV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
corsNo是否支持跨域
pathNo请求路径
env_idNo部署的环境编号
methodNo请求方式
group_idNo部署的前端API分组编号
protocolNo请求协议HTTPS
auth_typeNo认证方式
ld_api_idYes后端API的编号
project_idYes项目ID,获取方式请参见API参考的“附录 > 获取项目ID”章节。
instance_idYes实例ID
retry_countNo服务集成请求后端服务的重试次数,默认为-1,范围[-1,10]-1
roma_app_idNo部署到前端的api归属的应用编号,与后端归属的应用编号保持一致
authorizer_idNo自定义认证编号。
backend_timeoutNo超时时间
deploy_front_apiNo是否自动发布API

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 disclosing behavior. It only says the tool deploys a backend API in an instance; it does not explain what side effects occur, whether deployment publishes or merely stages an API, how the default deploy_front_api=true behaves, what permissions are needed, or whether re-deployment is idempotent.

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 a single front-loaded sentence with no wasted wording, and the operation and scope are immediately visible. Its brevity is efficient, though it is arguably too terse for a 15-parameter mutation tool.

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 complex 15-parameter mutation tool with no annotations and no output schema, the description is far too thin. It omits deployment semantics, side effects, prerequisites, relationship to publish/unpublish siblings, and the meaning of default behaviors, leaving an agent with only the broad category of action.

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 15 parameters in detail. The description adds no additional meaning about any parameter, including required fields like instance_id, ld_api_id, and project_id or defaulted fields like deploy_front_api and retry_count; the baseline 3 applies because the schema does the heavy lifting.

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 specific verb and resource: deploying a backend API within an instance. It is clear what operation is performed, but it does not distinguish this tool from siblings such as BatchPublishOrOfflineApiV2, CreateOrDeletePublishRecordForApiV2, or UnpublishLiveDataApiV2, which likely cover adjacent deployment/publication operations.

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?

The description provides no when-to-use guidance, no exclusions, and no alternatives. An agent cannot tell from the definition whether this should be used instead of BatchPublishOrOfflineApiV2 or CreateOrDeletePublishRecordForApiV2, or what prerequisites such as the backend API already existing are required.

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