Skip to main content
Glama
az-coder-123

SQL Server MCP

by az-coder-123

get_column_distribution

Analyze column value distribution in SQL Server. Get top N values, frequency counts, and optional histogram. Specify table and column names.

Instructions

Get detailed distribution statistics for a specific column

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNNoNumber of top values to return (default: 20)
schemaNoSchema name (default: dbo)
tableNameYesName of the table
columnNameYesName of the column
includeHistogramNoInclude histogram analysis (default: false)
Behavior2/5

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

No annotations are provided, and the description only states the action without disclosing return format, permissions, read-only nature, or handling of edge cases. It does not clarify what 'detailed distribution statistics' includes or how the histogram option behaves.

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, direct sentence with no filler or redundancy. It is front-loaded and appropriately sized for its purpose, though 'detailed' adds minimal value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no annotations, no output schema, and a 5-parameter schema, the description is underspecified. It omits information about the return value, the meaning of 'distribution statistics,' and any performance or data type caveats.

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 input schema already documents all 5 parameters with descriptions, achieving 100% coverage. The description adds no parameter-specific semantics beyond what the schema provides, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ("Get") and identifies the resource ("detailed distribution statistics for a specific column"), making the primary action clear. However, it does not explicitly differentiate from sibling tools like get_table_statistics or get_data_profile, which offer overlapping functionality.

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?

The description provides no guidance on when to use this tool, no contextual signals, and no alternatives or exclusions. The sibling list includes related tools (e.g., get_table_statistics, get_data_profile), but the description does not mention when this tool is preferred over them.

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/az-coder-123/sql-server-mcp'

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