Skip to main content
Glama

dataartsstudio__PublishApiToInstance

Publishes a DataArts Studio API to a specified gateway instance so it becomes callable. Supply the API, project, and instance IDs to complete publication.

Instructions

[DATAARTSSTUDIO] 发布API。API只有发布后,才能够被调用。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": {
      "api_id": "<api_id>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "dataartsstudio__PublishApiToInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_idYesapi编号。
apig_typeNo网关类型
project_idYes项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。
instance_idYes集群编号。
roma_app_idNoroma网关集成应用id
apig_instance_idNo网关实例id
group_id_in_apigNo网关分组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?

With no annotations, the description carries the full burden, and it does disclose a meaningful behavioral fact: publishing is the gate for invoking the API and can push it to a specified gateway. However, it omits permissions required, whether republishing overwrites prior state, and how to reverse it (offline/unpublish).

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?

Three short sentences with the core action and its precondition front-loaded, and no filler. The final sentence about gateways is vague enough to be only partially informative.

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 mutation tool with 7 parameters and no annotations or output schema, the description covers the what and why but not the conditional parameter relationships (e.g., which gateway fields apply per apig_type) or the result of the operation. Adequate but leaves gaps the agent must fill from the schema alone.

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 coverage is 100%, so every parameter including api_id, instance_id, apig_type, and the gateway-specific IDs is already documented. The description only hints at gateway routing via a general sentence and adds no conditional guidance on when roma_app_id or group_id_in_apig are required.

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 names a specific verb (publish) and resource (API), and adds the key precondition that an API must be published before it can be invoked. It does not explicitly distinguish this single-API publish from the sibling dataartsstudio__BatchPublish, so it stops short of a 5.

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 implied: use this to make an API callable, optionally routing it to a gateway. There is no explicit when-not guidance or named alternative (e.g., batch publish or execute), so the agent must infer the choice from sibling names.

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