Skip to main content
Glama
Esaban17

mcp-mysql-database

by Esaban17

select_connection

Switch the active MySQL connection by name (e.g., dev or test) so all subsequent database tools use that connection and verify server response.

Instructions

Cambia la conexión activa (p. ej. 'dev' o 'test'). Todas las demás herramientas usan la conexión activa. Verifica que el servidor responde.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNombre de la conexión (ver list_connections)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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, and it does disclose two real behaviors: it mutates global state affecting every other tool, and it validates connectivity by checking the server responds. It omits what happens on an unknown connection name, whether the choice persists across sessions, and what is returned.

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?

Three short sentences, the core action front-loaded, and every sentence adds a distinct fact (what changes, why it matters, what it verifies). No filler.

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 one-parameter tool with no output schema or annotations, the description covers purpose, global side effect, and connectivity validation, which is enough to call it correctly. Return value shape and error behavior on an invalid name are the only notable gaps.

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% and the single parameter is documented there with a pointer to list_connections. The description adds only illustrative example values ('dev', 'test'), which is marginal value over the schema — the baseline 3 is appropriate.

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 ("Cambia la conexión activa") with a concrete example ('dev' o 'test'), so the agent knows exactly what changes. It implicitly distinguishes itself from siblings like list_connections and current_connection by acting on the active connection, but never names an alternative explicitly.

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?

"Todas las demás herramientas usan la conexión activa" supplies the context that makes this tool relevant, which is a useful usage cue. However there is no explicit when-to-use/when-not-to-use statement and no mention of the alternatives (list_connections, add_connection) that would frame the decision.

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