Skip to main content
Glama
az-coder-123

SQL Server MCP

by az-coder-123

generate_api_documentation

Generate REST API documentation from SQL Server schema, inferring endpoints and schemas. Specify schema, base URL, and include procedures as needed.

Instructions

Generate REST API documentation from database schema with inferred endpoints and schemas

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
schemaNoSchema name to document (default: dbo)
baseUrlNoBase URL for API endpoints (default: /api/v1)
includeProceduresNoInclude stored procedures as API endpoints (default: true)
Behavior2/5

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

With no annotations provided, the description carries the full burden for behavioral transparency, but it only states the high-level action and output concept. It does not disclose whether the tool is read-only, whether it writes files, requires specific permissions, or has any side effects or limitations. Also missing are return format and how inference works.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is one concise sentence, front-loaded with the main action and resource. It is efficient with no filler, though it may be slightly too terse to cover behavioral context. Still, it earns a high score for structure.

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?

The tool has three optional parameters and no output schema, so the description should explain the output format or delivery mechanism (e.g., file, JSON, markdown) and the inference process. It does not clarify how the generated documentation is returned or how it differs from sibling documentation tools, leaving a significant gap.

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?

All three parameters have schema descriptions (100% coverage), so the baseline is 3. The description's phrase 'inferred endpoints and schemas' vaguely relates to includeProcedures, but it adds little beyond the schema's parameter descriptions and does not clarify how parameters interact or affect output.

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 action ('Generate') and the resource ('REST API documentation from database schema'), while specifying the key feature of 'inferred endpoints and schemas'. This distinguishes it from sibling tools like generate_schema_documentation or describe_table, which focus on schema structure rather than API documentation.

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 usage when API documentation needs to be produced from a database schema, but it does not provide explicit when-to-use vs alternatives guidance, such as comparing with generate_schema_documentation or create_entity_relationship_diagram. No exclusions or alternative tool references are mentioned.

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