Skip to main content
Glama
mcp-mysql-explorer

mcp-mysql-explorer

by xsg22

list_tables

Retrieves all tables in the connected MySQL database so AI agents can inspect schema structure before querying or exploring data.

Instructions

List all tables in the connected MySQL database.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It establishes read-only discovery scope by saying 'List', but does not state that results are limited to the connected database schema (no cross-database listing), nor anything about result size or ordering.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler. Every word contributes to scope and action.

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?

For a zero-parameter listing tool with an output schema present, the description covers what is needed to invoke it. A brief note on scope (single connected database, no filtering) would close the remaining gap.

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, so the schema carries no parameter semantics to explain; the baseline applies. The description's mention of 'connected MySQL database' usefully clarifies that no database/schema argument is accepted.

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 and resource ('List all tables') and scopes it to 'the connected MySQL database'. It is clear what the tool returns, though it does not explicitly distinguish itself from siblings like describe_table or get_create_table.

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 implied: call this to discover what tables exist before inspecting or querying them. There is no explicit when-to-use or when-not-to-use guidance, nor any mention of the sibling tools that operate on a single already-known table.

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