Skip to main content
Glama
MSSQL MCP Server

MSSQL MCP Server

by Elad-Health

get_backup_status

Retrieves last backup details for all SQL Server databases and flags those without a recent backup within a configurable age threshold.

Instructions

Get last backup information for all databases

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_backup_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
serverNoSQL Server instance (e.g., "server\instance" or "server,port"). Uses default if not specified.
maxAgeDaysNoFlag databases with no backup in this many days as warning

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and reveals little: it doesn't confirm the operation is read-only, doesn't say whether it scans every database (potentially slow on large instances) or requires elevated permissions. It also doesn't describe what "backup information" contains (full/diff/log backup times, warning flags), leaving the agent to guess at the shape of results.

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 words. It is efficient, though the terseness is part of why other dimensions are thin rather than a sign of tight engineering.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter diagnostic read with no output schema and no annotations, this is borderline adequate: the schema documents the inputs, but nothing explains the result shape (per-database rows, last backup timestamps, warning flags implied by maxAgeDays). One more sentence on outputs and cost would make it complete.

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 both server and maxAgeDays are already documented in the input schema, which sets the baseline at 3. The description adds only the "all databases" scope and does not explain default-server behavior or how the warning threshold is applied beyond what the schema states.

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 ("Get last backup information") and scopes it to "all databases," which clearly separates it from catalog/query siblings like get_tables or execute_query. It does not explicitly contrast with neighboring status tools (get_database_states, get_ag_status), but the resource is distinctive enough that an agent can identify it.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as list_databases or other status tools. The agent is left to infer that this is for backup-compliance checks on a given server, and the meaning of "all databases" (server-wide vs. all instances) is not clarified.

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