Skip to main content
Glama

set_mysql_connection

Configure a workbook datasource to connect to a local MySQL database by specifying server, database name, username, and table parameters.

Instructions

Configure the workbook datasource to use a local MySQL connection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serverYes
dbnameYes
usernameYes
table_nameYes
portNo3306

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It states 'Configure', implying a write/mutation operation, but doesn't disclose behavioral traits such as authentication requirements, whether this overwrites existing settings, potential side effects, or error handling. The description is minimal and lacks crucial operational context.

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?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's appropriately sized and front-loaded, with zero waste, making it easy to parse quickly.

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

Completeness2/5

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

Given the complexity (a configuration tool with 5 parameters, no annotations, and an output schema), the description is incomplete. It doesn't explain what the tool returns (though output schema exists), lacks parameter details, and omits behavioral context needed for safe and effective use. The minimal description fails to compensate for the lack of annotations and low schema coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It mentions 'local MySQL connection' but doesn't explain any parameters (server, dbname, username, table_name, port) or their roles in the configuration. No additional meaning is provided beyond the bare schema, leaving parameters semantically unclear.

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 clearly states the action ('Configure') and the target resource ('workbook datasource'), specifying it's for a 'local MySQL connection'. It distinguishes from siblings like 'set_mssql_connection' and 'set_hyper_connection' by specifying MySQL, but doesn't explicitly differentiate from other data source tools beyond the connection type.

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 on when to use this tool versus alternatives like 'set_mssql_connection' or 'set_hyper_connection', nor does it mention prerequisites or context for configuring a workbook datasource. The description implies usage for MySQL connections but lacks explicit when/when-not instructions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/subhatta123/twilize'

If you have feedback or need assistance with the MCP directory API, please join our Discord server