Skip to main content
Glama
MSSQL MCP Server

MSSQL MCP Server

by Elad-Health

list_jobs

Retrieve all SQL Server Agent jobs with status and schedule details, and optionally filter results to enabled jobs only.

Instructions

List all SQL Server Agent jobs with their status and schedule

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose that results include status and schedule, which is useful context for a listing call. It does not cover permissions required, whether schedule details are nested or formatted, or the cost of enumerating every job on a busy instance.

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 or redundancy. It is efficient, though its brevity is the same factor that leaves the guidance gaps noted elsewhere.

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 simple, zero-required-parameter read tool with a fully documented schema and no output schema, the description is adequate but thin. It omits any routing to the filtered siblings and any note about return volume, which would matter on large instances.

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 parameters (server, enabledOnly) are already fully documented in the schema and the baseline of 3 applies. The description adds no formatting or server-selection detail 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?

States a specific verb (List) and resource (SQL Server Agent jobs) plus the payload returned (status and schedule), so the agent knows exactly what it fetches. The word "all" implies an unscoped listing but does not explicitly distinguish it from get_failed_jobs or get_running_jobs.

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?

Gives no when-to-use or when-not-to-use guidance and never names the filtered siblings (get_failed_jobs, get_running_jobs, get_job_history) that an agent should pick instead for subsets. The only hint is the implicit "all" scope, which is left for the agent to infer.

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