Skip to main content
Glama

mssql_list_servers

Read-onlyIdempotent

List saved SQL Server connection profiles from Antigravity IDE, VS Code, and local storage to get a profileId or profileName before connecting. Filter results by name, server, or database.

Instructions

Lists all saved SQL Server connection profiles discovered from Antigravity IDE, VS Code, and local ~/.mssqlcl storage. Call this first to obtain a profileId or profileName before calling mssql_connect.

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": "mssql_list_servers"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterNoOptional substring filter matched against profileName, server, database, groupPath, or source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered. The description adds genuine context about multi-source discovery (Antigravity IDE, VS Code, ~/.mssqlcl), but says nothing about behavior when no profiles exist, whether credentials are included in results, or whether sources can be stale — notable given no output schema.

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?

Two sentences, zero padding. The identifying clause comes first and the actionable ordering constraint second, so the most decision-relevant information is front-loaded.

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 one-parameter read-only enumeration tool with no output schema, only the return shape is underspecified — the description never hints that a profile record contains a profileId, profileName, server, database, groupPath, and source. That is a minor gap, since the filter parameter description indirectly reveals those fields.

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% and the filter parameter already documents the fields it matches (profileName, server, database, groupPath, source). The description adds no filter syntax, matching semantics, or examples, so it sits at the baseline for a fully documented schema.

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?

States a specific verb and resource ("Lists all saved SQL Server connection profiles") plus the three discovery sources, which no sibling shares. An agent can tell immediately that this is the profile-enumeration tool, not the database/table/view listings offered by mssql_list_* siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly prescribes ordering: "Call this first to obtain a profileId or profileName before calling mssql_connect." That names the downstream tool and the exact prerequisite, which is non-inferable and prevents a failed connect attempt.

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