Skip to main content
Glama
CCCT173

mysql-mcp-pro

by CCCT173

er_graph

Generates entity-relationship graph data for a MySQL database, returning tables as nodes with primary keys and foreign key relationships as edges.

Instructions

生成当前库的 ER 关系图数据(节点=表,边=外键关系)。 返回 nodes(表,含主键列)和 edges(外键关系)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
databaseNo
Behavior2/5

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

No annotations are provided, so the description must carry full behavioral disclosure. It indicates the output structure but does not mention side effects (likely read-only), performance implications, or any limitations. The description is insufficient for a complete behavioral understanding.

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 consists of two short, clear sentences with no extraneous information. It is front-loaded with the key action and returns structure.

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?

Given the tool's low complexity, the description partially covers the output (nodes with primary keys, edges with foreign keys) but lacks details on output format, optional parameter behavior, and any prerequisites. Without an output schema, more detail would be helpful.

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

Parameters1/5

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

The input schema has one parameter 'database' with 0% description coverage. The tool description does not explain this parameter at all, nor does it clarify how omitting it affects the output. The 'current database' phrase suggests a default, but the parameter's role is entirely unclear.

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 generates ER relationship graph data for the current database, specifying nodes as tables with primary keys and edges as foreign key relationships. This distinct purpose is well differentiated from sibling tools like list_tables or describe_table.

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?

The description implies usage for ER graph visualization but does not explicitly mention when to use this tool versus alternatives like list_tables or describe_table. No exclusions or when-not-to-use guidance is provided.

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/CCCT173/mysql-mcp-pro'

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