Skip to main content
Glama
ConnorBritain

MSSQL MCP Reader

inspect_relationships

Discover foreign-key relationships for a database table, including inbound and outbound references with column mappings and referential actions. Solve the problem of understanding table dependencies and constraints.

Instructions

Describes inbound and outbound foreign-key relationships for a given table, including column mappings and referential actions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableNameYesTarget table name (without schema).
schemaNameNoSchema name (defaults to 'dbo').
includeOutboundNoInclude relationships where the table references other tables (default true).
includeInboundNoInclude relationships where other tables reference this table (default true).
environmentNoOptional environment name to target.
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It implies a read operation but does not disclose behavioral traits like cost, permissions, or side effects. It only states what the tool describes, which is minimal.

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 sentence of 15 words that is front-loaded with the tool's purpose. Every word earns its place, and there is no fluff.

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?

Given the tool's specific focus on relationships, the combination of a clear description and well-documented parameters provides sufficient context. The lack of an output schema is partially mitigated by the description mentioning return content (column mappings and referential actions).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% coverage with parameter descriptions. The description adds value by explaining that the output includes column mappings and referential actions, which are not detailed in the schema. This goes beyond the schema's parameter descriptions.

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 it describes inbound and outbound foreign-key relationships for a given table, including column mappings and referential actions. This is a specific verb+resource combination, and it distinguishes itself from sibling tools like describe_table and inspect_dependencies.

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 usage guidelines are provided. The description does not indicate when to use this tool versus alternatives, nor does it mention prerequisites or 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/ConnorBritain/mssql-mcp-reader'

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