Skip to main content
Glama

List MySQL databases and users

list_mysql
Read-only

Lists MySQL databases and database users, including their allowed hosts, for a specified webhosting virtual server.

Instructions

List the MySQL databases and database users (with their allowed hosts) on a webhosting.

Input Schema

NameRequiredDescriptionDefault
vserverYesWebhosting (virtual server) name, usually its main domain, e.g. 'example.com' (see list_webhostings).

Output Schema

NameRequiredDescriptionDefault
accountsYes
databasesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered. The description adds that returned database users include their allowed hosts, which is a useful output-content hint, but it says nothing about behavior on unknown webhostings, empty results, or pagination. With read-only behavior already declared, the extra value is modest.

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 well-formed sentence with no filler, and the resource scope is front-loaded. It is arguably too terse rather than bloated, but nothing in it is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and annotations cover the read-only safety profile. The single parameter is fully documented in the schema. The only shortfall is the absence of any usage routing or prerequisite note, which is minor for a simple one-parameter read tool.

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 coverage is 100% and the only parameter's description already explains the webhosting name convention and points to list_webhostings. The phrase 'on a webhosting' in the description merely echoes the schema, adding no syntax or format detail. Baseline 3 applies since the schema does the heavy lifting.

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?

States a specific verb and resource: 'List the MySQL databases and database users (with their allowed hosts)'. It also scopes to 'on a webhosting', which is clear. No sibling tool covers MySQL, so there is nothing to disambiguate against, but the purpose is unambiguous.

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?

The description gives no explicit when-to-use or when-not-to-use guidance and names no alternatives or prerequisites. Usage is only implied by the noun phrase 'on a webhosting'; the agent must infer that it needs a webhosting name first (which is only stated in the schema, pointing at list_webhostings).

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