Skip to main content
Glama

mysql_to_dashboard

Create Tableau dashboards from MySQL tables automatically. Analyzes database schemas, suggests charts, generates workbooks with live connections, and outputs .twb files for data visualization.

Instructions

Build a Tableau dashboard from a MySQL table (end-to-end).

Pipeline: MySQL → schema inference → chart suggestion → workbook creation → live MySQL connection → .twb output.

Requires mysql-connector-python for schema inference.

Args: server_host: MySQL server hostname. dbname: Database name. table_name: Table to visualize. username: Database username. password: Database password (used for schema inference only; not stored in the workbook). port: Server port (default 3306). output_path: Output .twb path (defaults to _dashboard.twb). dashboard_title: Dashboard title. max_charts: Maximum charts (0 = use rules default). template_path: TWB template path. theme: Theme preset name. rules_yaml: Optional YAML string with dashboard rules overrides.

Returns: Summary of the created dashboard with file path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
server_hostYes
dbnameYes
table_nameYes
usernameYes
passwordNo
portNo
output_pathNo
dashboard_titleNo
max_chartsNo
template_pathNo
themeNo
rules_yamlNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the tool's behavior, including the pipeline steps (schema inference, chart suggestion, etc.), data handling (password used only for schema inference, not stored), and output (.twb file). However, it lacks details on error handling, performance, or rate limits, which are important for a complex tool.

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

Conciseness4/5

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

The description is well-structured and front-loaded with the core purpose, followed by details. Most sentences earn their place, but it could be slightly more concise by integrating the pipeline list into the initial sentence. Overall, it's efficient for a complex tool with many parameters.

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

Completeness5/5

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

Given the tool's complexity, 12 parameters, no annotations, and an output schema present, the description is complete enough. It covers the purpose, pipeline, prerequisites, parameter semantics, and return summary, leveraging the output schema for return values. No critical gaps remain for effective tool use.

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

Parameters5/5

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

Given 0% schema description coverage and 12 parameters, the description compensates fully by explaining each parameter's purpose and defaults (e.g., 'password used for schema inference only; not stored in the workbook', 'port default 3306', 'max_charts: 0 = use rules default'). This adds significant meaning beyond the bare schema, making parameter usage clear.

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 clearly states the tool's purpose with specific verbs ('Build a Tableau dashboard from a MySQL table') and resources ('MySQL', 'Tableau dashboard'), distinguishing it from sibling tools like csv_to_dashboard or hyper_to_dashboard by specifying the MySQL source. It outlines an end-to-end pipeline, making the purpose explicit and distinct.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use this tool (e.g., for building dashboards from MySQL tables) and mentions prerequisites ('Requires mysql-connector-python for schema inference'), but it does not explicitly state when not to use it or name alternatives like mssql_to_dashboard for other data sources, leaving some guidance implicit.

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