Skip to main content
Glama
huang-develop

SQLServer MCP Server

list_tables

Lists tables in a specified SQL Server database, optionally including views. Specify schema and database to tailor results.

Instructions

列出指定数据库中的表(可含视图)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
schemaNo架构名,默认 dbo
databaseNo目标数据库名,默认使用当前连接数据库
includeViewsNo是否包含视图,默认 false
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It only mentions that views may be included, which is a parameter detail already in the schema. It does not address permissions, error cases, or output format.

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, front-loaded sentence that clearly conveys the tool's main function without wasted words. It is appropriately sized for the simplicity of the operation.

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 simple nature of the tool and full parameter documentation, the description is minimally viable. However, since there is no output schema, it should ideally mention return format or error behavior, which it does not.

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%, so the baseline is 3. The description does not add meaning beyond what the schema already provides for the three optional parameters; it only restates the includeViews option.

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 explicitly states the tool lists tables in a specified database, with an option to include views. This clearly distinguishes it from sibling tools like list_databases and 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 use when needing to enumerate tables in a database, but it does not mention alternatives or exclusions, such as when to use describe_table for schema details. It provides clear context but no explicit guidance on when not to use it.

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