Skip to main content
Glama

dataartsstudio__ExecuteApiToInstance

Unpublishes a published API from a DataArts Studio instance, revoking all authorization relationships and preventing further calls to the API.

Instructions

[DATAARTSSTUDIO] - 下线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__ExecuteApiToInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNo截止时间
actionNo操作类型
api_idYesapi编号。
project_idYes项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。
instance_idYes集群编号。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It does valuable work by disclosing the destructive side effect that all authorization relationships are removed and the API can no longer be called, but it omits the behavior of the STOP and RECOVER actions and the role of the `time` parameter.

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?

Short and front-loaded: it names the action first, then states the consequence. No wasted filler, though the language is a mix of a bracketed English service tag followed by Chinese prose.

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 5-parameter mutation tool with no output schema and no annotations, the description adequately covers the offlining side effect but leaves significant gaps around the multi-valued `action` parameter and the `time` field, which are the main axes of behavior an agent needs to invoke it correctly.

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 the parameters are already documented in the schema, and the description adds no syntax or format detail. The description only maps to the UNPUBLISH action and leaves the STOP/RECOVER enum values and the `time` field unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action and resource: taking a published API offline (下线API). However, the tool's `action` enum supports UNPUBLISH, STOP, and RECOVER, yet the description frames the tool solely as an offline operation, so an agent would not understand the full scope from the text alone.

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 implies the trigger condition (the API must already be published) but gives no guidance on when to choose STOP vs UNPUBLISH vs RECOVER, no prerequisites, and no alternatives among the closely related sibling tools like PublishApiToInstance or DeleteApi.

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