Skip to main content
Glama
MSSQL MCP Server

MSSQL MCP Server

by Elad-Health

get_server_info

Retrieve SQL Server instance version, edition, and configuration details to identify the target environment and support troubleshooting or inventory checks.

Instructions

Get SQL Server instance information including version, edition, and configuration

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_server_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
serverNoSQL Server instance (e.g., "server\instance" or "server,port"). Uses default if not specified.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure; 'Get' plus the read-only nature of the returned fields implicitly signals a safe read operation, and it names roughly what comes back. However, it says nothing about connection requirements, latency, or how errors surface when the instance is unreachable, which matters for a tool that must connect to a server.

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?

A single well-formed sentence with the resource and payload front-loaded and no filler. 'Configuration' is left undefined, which is the only real waste/ambiguity in an otherwise efficient statement.

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?

For a zero-required-parameter read tool with no output schema, the description is essentially sufficient: it tells the agent it retrieves instance identity and configuration data. Only the scope of 'configuration' and any connectivity caveats are missing, which are minor for this complexity level.

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 coverage is 100%, so the single 'server' parameter is already fully documented in the schema, including the 'server\instance' / 'server,port' forms and default fallback. The description adds no extra meaning about that parameter, so the baseline 3 applies.

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?

States a specific verb ('Get') and resource ('SQL Server instance information') and enumerates the returned fields (version, edition, configuration), so the agent knows this is a general instance-metadata read rather than a specific metric tool. It does not explicitly differentiate itself from adjacent siblings such as test_connection or get_cluster_status, keeping it short of a 5.

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?

Usage is only implied: an agent can infer this is the tool for identifying which SQL Server build/edition it is talking to, but there is no explicit when-to-use statement, no mention of prerequisites (e.g., needing a connection first), and no named alternatives for other kinds of status checks.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.