Skip to main content
Glama
mengqi1436

GaussDB-MCP

by mengqi1436

describe_table

Read-only

Retrieve a table's structure including column names, data types, lengths, nullability, default values, and primary key status to understand schema details.

Instructions

查看表结构:列名、数据类型、长度、可空、默认值、是否主键

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYes表名
schemaNo可选 schema 名,缺省自动匹配非系统 schema
Behavior4/5

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

The annotation readOnlyHint: true already marks this as a safe read operation, and the description complements it by detailing the exact output structure (column name, type, length, etc.). While it doesn't discuss error cases or authorization, the read-only nature is transparent and nothing contradicts the annotations.

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, focused sentence that immediately conveys the tool's function and output, with no wasted words or unnecessary detail.

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 read-only describe operation with no output schema and a well-understood purpose, the description is complete and self-sufficient. The listed attributes fully define the return value, making the tool adequate for its intended use even without additional context.

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%, with both 'table' and 'schema' parameters clearly described inline. The tool description adds no additional parameter-level insight beyond what the schema already provides, so the baseline score of 3 applies.

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: '查看表结构' (view table structure) and enumerates the exact attributes returned (column name, data type, length, nullable, default value, primary key). This specific verb+resource combination distinguishes it from sibling tools like list_tables and list_indexes, and it is not a tautology.

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 explicit guidance is given on when to use this tool compared to alternatives such as list_tables or list_views. There is no mention of when not to use it or any preconditions, leaving the agent to infer usage solely from the name and description.

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/mengqi1436/GaussDB-MCP'

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