describe_table
Retrieve detailed table structure including columns, primary keys, indexes, foreign keys, and CREATE TABLE SQL.
Instructions
查看表结构:字段、主键、索引、外键、建表SQL。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| database | No |
Retrieve detailed table structure including columns, primary keys, indexes, foreign keys, and CREATE TABLE SQL.
查看表结构:字段、主键、索引、外键、建表SQL。
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| database | No |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided. The description implies a read-only operation but does not explicitly state that it is non-destructive or mention any permissions or side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that effectively communicates the tool's purpose without unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description lists included details (fields, keys, indexes, foreign keys, SQL) which provides good context for a table structure viewer. However, it lacks information about the return format and does not mention output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%. The description does not explain the parameters 'table' and 'database' beyond their existence. It adds no additional meaning to the input schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states '查看表结构:字段、主键、索引、外键、建表SQL', which translates to viewing table structure including fields, primary keys, indexes, foreign keys, and create table SQL. This distinguishes it from sibling tools like list_tables (lists names only) and get_table_data (retrieves data).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for inspecting table schema but lacks explicit when-to-use or when-not-to-use guidance. However, given sibling tools, the context is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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