Skip to main content
Glama

dataartsstudio__MigrateApi

Batch-move DataArts Studio APIs to a specified target parent directory within a project, enabling bulk API catalog reorganization.

Instructions

[DATAARTSSTUDIO] 批量移动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": {
      "project_id": "<project_id>"
    },
    "name": "dataartsstudio__MigrateApi"
  }
}

Input Schema

NameRequiredDescriptionDefault
apisNo需要移动的目录
project_idYes项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。
target_pidNo父目录编号

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 supplied, so the description carries the full behavioral burden for a mutation tool. It conveys only that this is a bulk move; it does not state required permissions, whether an existing API in the target directory is overwritten, how partial failures in a batch are handled, or whether the target directory must pre-exist.

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?

A single compact sentence with the action front-loaded and no padding. It is appropriately sized for what it says, though its brevity reflects under-specification rather than disciplined economy.

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 batch mutation tool with no annotations and no output schema, the definition is too thin. An agent cannot tell what a successful response means, how failures are reported, or whether the operation is reversible, all of which matter for a bulk write.

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 per-parameter meaning is largely handled structurally, and a 3 is the baseline. The description does add one useful mapping ('to a new directory' points to target_pid), but it adds nothing about list semantics for the apis array or about behavior when target_pid is omitted.

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+resource+scope: batch move APIs to a new directory. That is clearly distinct from CreateApi, DeleteApi, or UpdateApi. It does not, however, differentiate itself from the closely-named sibling dataartsstudio__MigrateCatalog, leaving the API-vs-catalog distinction to be inferred from the name 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?

There is no explicit when-to-use guidance, no prerequisite (e.g., target directory must exist), and no reference to alternatives such as MigrateCatalog or UpdateApi. The word 'batch' implies a bulk operation, but the agent must infer everything else.

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