Skip to main content
Glama

sqlserver-cu-check

Read-only

Run read-only checks to confirm a SQL Server instance is safe to patch with a cumulative update and reached the expected build afterward.

Instructions

Check one SQL Server instance around a cumulative update, read-only - check precheck: whether it is safe to patch now (host, installer, SQL gates, maintenance window); build: whether it reached the build the update should give.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "request": "<request>"
    },
    "name": "sqlserver-cu-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesThe command's request.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, so the safety profile is covered; the description earns credit by adding what is actually inspected ('host, installer, SQL gates, maintenance window') and what the build check compares against. It is silent on prerequisite details such as target resolution and credential sourcing, but those are documented in the schema rather than needed here.

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 front-loaded sentence with no filler, and every clause carries information. The nested dash-and-colon construction ('read-only - `check` precheck: ...; build: ...') is slightly awkward to parse but nothing is wasted.

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?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. The description supplies enough of the patch-gating concept (what precheck and build each decide) for a complex tool whose deep parameter details are fully described in the schema.

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%, so the baseline is 3. The description's mode explanations largely restate the enum descriptions already present in the schema ('precheck before a cumulative update is applied, build after it'), and it does not touch the many other parameters (rules, confirm, dry_run, authorized_by, expected_build). Marginal value beyond the schema.

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 names a specific verb and resource ('Check one SQL Server instance around a cumulative update') and marks it read-only, which implicitly separates it from the write-side sibling sqlserver-apply-cu. It also enumerates the two modes (precheck, build) and what each answers. Sibling differentiation is present but implicit via 'read-only' rather than stated outright.

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

Usage Guidelines4/5

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

It gives clear timing guidance for both modes: precheck before a CU is applied ('whether it is safe to patch now'), build after it ('whether it reached the build the update should give'). That is when-to-use context an agent can act on, though no explicit when-not or named-alternative routing is given.

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