Skip to main content
Glama

mas__ListBatchSwitchDetail

Retrieves detailed application-level batch switchover task information for a specified MAS application, instance, and job. Supports pagination to inspect switchover progress and results.

Instructions

[MAS] 查询详细应用级切换任务

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": {
      "application_id": "<application_id>",
      "instance_id": "<instance_id>",
      "job_id": "<job_id>",
      "project_id": "<project_id>"
    },
    "name": "mas__ListBatchSwitchDetail"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
sizeNo
job_idYes
project_idYes
instance_idYes
application_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/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 disclosure burden, yet it says nothing about whether the call is read-only, what permissions the four required path identifiers imply, or whether results are paginated. Only the word '查询' weakly implies a read operation; nothing about result scope or side effects is disclosed.

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 extremely short with no wasted words, but that brevity is under-specification rather than tight writing. There is no front-loaded statement of scope, return content, or paging that an agent could act on.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter operation with four required path identifiers, zero schema coverage, no annotations, and no output schema, a single nine-character phrase is wholly inadequate. Nothing tells the agent how to form a valid request or what the response will contain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across six parameters (job_id, project_id, instance_id, application_id, page, size) and the description mentions none of them. An agent gets no meaning for the identifiers or the paging controls beyond their names.

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 identifies a verb ('查询' / query) and a resource ('详细应用级切换任务' / detailed application-level switch task), so the general domain is graspable. However it is a bare restatement of the tool name ListBatchSwitchDetail and gives no hint of scope, granularity, or how it differs from siblings like mas__ListSwitchJobs or mas__BatchSwitchMonitor.

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 when-to-use guidance, no stated preconditions, and no reference to any alternative tool. The agent must guess whether this is for inspecting a single switch job's details versus monitoring aggregate progress handled by sibling tools.

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