Skip to main content
Glama
huang-develop

SQLServer MCP Server

describe_table

Retrieve a table's schema: column names, data types, nullability, default values, and primary key designation.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYes表名
schemaNo架构名,默认 dbo
databaseNo目标数据库名,默认当前连接数据库
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses the output content (column names, types, nullable, default values, primary key), indicating a read-only inspection behavior. However, it does not explicitly state that it performs no modification or any permission requirements, but for a describe operation this is minimally adequate.

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?

A single, front-loaded sentence that entirely conveys the tool's purpose with no redundant words.

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?

The description is sufficient for a simple describe-table tool, mentioning the return fields. Though there is no output schema, the listed attributes cover the expected output. It omits details like error conditions, but given the simplicity and schema coverage of parameters, it is adequately complete.

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?

The schema descriptions for all three parameters (table, schema, database) provide full coverage, so the description need not add parameter details. The description itself does not reference parameters, which is acceptable given the schema completeness.

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 uses a specific verb ('查看' = view) and resource ('表结构' = table structure), and explicitly lists the returned attributes (column names, types, nullable, default, primary key). This clearly distinguishes it from siblings like list_tables, which lists table names.

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 about when to use this tool versus alternatives. The description lacks any mention of when to prefer describe_table over list_tables or execute_query, nor does it state exclusions or prerequisites.

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/huang-develop/SQLServer-MCP'

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