Skip to main content
Glama

das__ShowTuning

Retrieves DAS tuning diagnostic results for a specified connection, message, and project to help review query performance issues.

Instructions

[DAS] 获取诊断结果

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": {
      "connection_id": "<connection_id>",
      "message_id": "<message_id>",
      "project_id": "<project_id>"
    },
    "name": "das__ShowTuning"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_idYes诊断messageId
project_idYes项目Id
connection_idYes连接Id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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, yet it discloses nothing about the read semantics, whether the message_id must come from a previously created task, authorization needs, or what the response looks like. Only the verb '获取' weakly implies a read operation.

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?

One short phrase with no wasted words, but the terseness is under-specification rather than effective conciseness. There is no front-loaded scope or structure to speak of.

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?

With three required path parameters, no annotations, no output schema and no explanation of what 'diagnostic result' means or how message_id is obtained, the definition is not complete enough for an agent to call it confidently within a tuning workflow.

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%: message_id, project_id and connection_id are each documented in the schema as path parameters. The description adds no meaning beyond that, so the baseline 3 applies.

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

Purpose2/5

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

The description '获取诊断结果' (get diagnostic result) restates little more than the name ShowTuning and does not say what a 'diagnostic result' contains or how it relates to tuning. Against roughly 30 siblings that mostly start with Show*/Get-style prefixes, nothing distinguishes it from ShowSqlExplain, ShowInstanceHealthReport, or CreateTuning.

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 statement of when to use this tool, no prerequisites, and no mention of the sibling das__CreateTuning that presumably produces the message_id consumed here. The agent is left to infer the whole workflow.

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