Skip to main content
Glama
Esaban17

mcp-mysql-database

by Esaban17

list_tables

Read-only

List all tables in the active MySQL database or a specified database to inspect schema structure and available data sources.

Instructions

Lista las tablas de la base de datos actual (o de database).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
databaseNoBase de datos a usar (por defecto la actual de la conexión activa)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

readOnlyHint=true already declares this as a safe read. The description adds no further behavioral context beyond restating the default (current database), which the schema description already covers; nothing is said about scope of results (tables only vs views), ordering, or volume.

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?

One short sentence, front-loaded with the action and resource, with zero filler. Nothing redundant or padded.

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?

A simple read-only list tool with one optional, fully documented parameter, so little is required. However, with no output schema, the description could clarify what is returned (table names, including views/schemas?) and is silent on that.

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%, so the single optional `database` parameter is already fully documented, including its default. The description's '(o de `database`)' merely echoes that and adds no new syntax or semantics.

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 ('Lista las tablas') and scopes it to the current database or an explicit `database`. It is distinguishable from list_databases and describe_table by resource, but it never names those siblings to reinforce the distinction.

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 parenthetical hints that a database can be supplied, but there is no when-to-use guidance, no mention of when to prefer list_databases or describe_table, and no prerequisites. Usage must be inferred entirely.

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