Skip to main content
Glama

mas__ShowDbConnectionPool

Retrieves database connection pool details for a specified instance and monitor, helping diagnose connection usage and capacity issues.

Instructions

[MAS] 查询DB连接池

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

Input Schema

NameRequiredDescriptionDefault
dbNodb
monitor_idYesmonitor_id
project_idYes
instance_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

There are no annotations, so the description must carry the full disclosure burden, and it does not. "查询" implies a read, but permission requirements, whether it targets a specific pool or all pools, and any failure conditions are left unstated.

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 a single front-loaded fragment with no wasted words, but the brevity crosses into under-specification rather than concise communication. The prefixed tag and four-word body leave nothing substantial after the resource name.

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 tool with four parameters, three required, no annotations, no output schema, and half its parameters undocumented, the description is far too thin. An agent would have to guess the return shape, the scope of the query, and the role of the path identifiers.

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

Parameters2/5

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

Schema coverage is 50%, and the one described parameter ('db') has a purely tautological description of "db", while the three path parameters are undocumented in the schema. The description adds no meaning to any parameter, so it fails to compensate for the coverage gap.

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?

"查询DB连接池" states a verb (query) and resource (DB connection pool), which is enough to separate it from the sibling CreateDbConnectionPool and UpdateDbConnectionPool. However, it does not say whether this returns a single pool's details or lists pools, despite requiring instance_id/monitor_id/project_id, so the scope remains ambiguous.

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives. The agent can only infer from the 'Show' naming convention that this follows a create/update pair, but the description itself provides no routing information.

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