Skip to main content
Glama
GeminiDesk MCP
by LZ7TOP

List Configured MySQL Profiles

mysql_list_profiles

Lists configured MySQL connection profiles with passwords automatically masked, so you can review available database connections before choosing one.

Instructions

列出当前已配置的 MySQL 连接配置档案(自动脱敏密码)。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "mysql_list_profiles"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/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. It does add one genuinely useful behavioral fact beyond the name – passwords are automatically masked ('自动脱敏密码'), signalling the output is safe to surface. However, it says nothing about the read-only nature explicitly, the returned field set, whether profile credentials/paths are exposed, or behavior on an empty configuration.

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 short sentence with the object of the operation front-loaded and the masking caveat placed as a trailing parenthetical where it belongs. Nothing is redundant, though the extreme brevity is close to under-specification rather than model concision.

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 zero-parameter, read-only listing tool with no output schema and no annotations, the description covers the core operation and the masking behavior. It leaves open what each profile record contains (name, host, port, user?), ordering, and the empty-state result, which an agent would need to use the output confidently.

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

Parameters4/5

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

The tool takes zero parameters and the schema is an empty object, so there is no parameter semantics to convey; the baseline for a parameterless tool applies. Nothing in the description conflicts with the empty schema.

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 names a specific verb ('列出'/list) and resource ('MySQL 连接配置档案' – MySQL connection profiles), which cleanly separates it from siblings like mysql_list_databases and mysql_list_tables that enumerate database objects rather than saved connection configurations. It does not explicitly name or rule out any sibling, which keeps it just shy of a 5.

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?

Usage is only implied: an agent can infer this is the tool to reach for when it needs to discover what MySQL targets are available before querying. There is no explicit when-to-use statement, no mention of prerequisites (does it need an existing connection, or does it work without one?), and no guidance on what to do when no profiles exist.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.