Skip to main content
Glama
shibbirweb

mcp-mysql-read-only

by shibbirweb

List Tables

list_tables
Read-onlyIdempotent

List all tables in the active MySQL database to see available tables. Get a quick reference of table names for query planning.

Instructions

List all tables in the active database

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
databaseNoOptional database to read from for this call only, without changing the active connection

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.5

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered. The description adds the 'active database' scoping context but does not describe return shape, pagination, or the optional database override behavior, which keeps it at the baseline for an annotation-covered tool.

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 conveys the core action and scope with no filler. It is appropriately sized for a simple listing operation.

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 low-complexity read-only tool with rich annotations and a fully documented schema, the description is sufficient for correct invocation. It could have mentioned the optional database parameter or return format, but those are either in the schema or obvious from the verb.

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?

The input schema has 100% description coverage for the single optional database parameter, including its 'call only / without changing active connection' semantics. The description does not add parameter meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('list all tables') and scopes it to the active database, distinguishing it from siblings like list_databases and describe_table. The word 'all' also communicates full enumeration, so the agent knows the scope without opening the schema.

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 guidance is provided about when to choose this tool over siblings such as list_databases or describe_table. There are no stated prerequisites, exclusions, or alternative routing; usage must be inferred entirely from the tool name.

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