Skip to main content
Glama

das__ShowTransactionSwitchStatus

Queries whether the historical transaction switch is enabled for a specified MySQL instance in Huawei Cloud DAS, helping verify transaction history settings before auditing or configuration changes.

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID
instance_idYes实例ID
datastore_typeYes数据库类型。仅支持MySQL

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. 'Query' weakly implies a read-only operation, but the description says nothing about permissions required, whether the switch applies per instance or per datastore type, or what the status response contains.

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 front-loaded phrase with zero filler or repetition. It is efficient, though the terseness leaves no room for the scoping detail the tool actually needs.

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 simple read tool with three fully documented required parameters, the description is minimally sufficient to select and invoke it. It stops short of describing what the returned switch status means or how to interpret it, which an agent would have to discover by calling.

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%, with all three required parameters documented and an enum restricting datastore_type to MySQL. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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 gives a specific verb plus resource: query the historical transaction switch, which an agent can distinguish from the sibling ChangeTransactionSwitchStatus (a mutation) by the verb alone. It never names the alternative explicitly, so the differentiation is implicit rather than stated.

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 prerequisites, and no exclusion telling the agent when to prefer this over ShowSqlSwitchStatus or ChangeTransactionSwitchStatus. The agent must infer usage entirely from the name and the one-line description.

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