Skip to main content
Glama

das__CreateSpaceAnalysisTask

Creates a space analysis task for MySQL or GaussDB(for MySQL) instances to trigger reanalysis and help diagnose storage space issues.

Instructions

[DAS] 创建空间分析任务,如触发重新分析,支持MySQL和GaussDB(for MySQL)引擎

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": {
      "datastore_type": "<datastore_type>",
      "instance_id": "<instance_id>",
      "operate": "<operate>",
      "project_id": "<project_id>"
    },
    "name": "das__CreateSpaceAnalysisTask"
  }
}

Input Schema

NameRequiredDescriptionDefault
operateYes操作类型
project_idYes项目ID
instance_idYes实例ID
datastore_typeYes引擎类型

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 and mostly fails it. It never says whether task creation is asynchronous, whether it returns a task ID, what happens if a task already exists for the instance, or what permissions/instance state are required; the engine list it does mention is already in the schema enum.

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; the '[DAS]' prefix and the engine aside are minor overhead rather than filler. Nothing is redundant enough to hurt readability.

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 four-required-parameter mutation tool with no annotations and no output schema, the definition covers the basics via the schema but leaves the agent guessing about side effects and success response. Adequate but with clear gaps around what creation actually does.

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 four parameters including the enums for operate and datastore_type. The description only restates the engine constraint (MySQL / GaussDB(for MySQL)) and adds no semantics about project_id, instance_id, or the meaning of 'reanalysis'.

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 and resource ('创建空间分析任务' / create space analysis task) and names the supported engines, which is enough to distinguish it from the listing sibling das__ListSpaceAnalysis. Differentiation is by name only, however; it never explicitly says how it differs from the other Create* task tools.

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?

The clause '如触发重新分析' hints at usage (triggering a reanalysis), but it is presented as an example rather than a rule. There is no statement of when NOT to call it, no prerequisites, and no pointer to an alternative tool for other analysis operations.

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