Skip to main content
Glama

slurm_status

Check SLURM job status via squeue and sacct; use a base array job ID to see all tasks, a task ID for one, or omit the ID for all your jobs.

Instructions

Check SLURM job status (squeue + sacct). For array jobs pass the base id "12345" to see all tasks, or "12345_3" for one task.

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

Input Schema

NameRequiredDescriptionDefault
job_idNoJob ID: "12345", hetjob component "12345+1", array task "12345_3", or task range "12345_[1-5]". Omit for all your jobs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden; it usefully reveals that both the live queue and accounting history are consulted, but says nothing about the response format, whether results are truncated, or how unknown/expired job IDs are handled.

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 short sentences, front-loaded with purpose and followed by the one non-obvious usage rule; nothing is wasted.

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 single optional parameter there is little to explain, but with no output schema the agent gets no sense of what a status result contains (state fields, formatting, per-task granularity), leaving a real gap for a monitoring tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100% and the schema documents hetjob and range syntax itself, so the description's array-id explanation largely mirrors it. It still reinforces the practical rule of passing the base id to see all tasks, which is mildly additive.

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?

The description names a specific verb and resource ("Check SLURM job status") and even discloses the underlying data sources (squeue + sacct), which cleanly separates it from siblings like slurm_cancel or slurm_logs.

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?

It gives concrete guidance on how to query array jobs (base id vs. "12345_3"), but never states when to prefer this over alternatives such as slurm_watches or slurm_logs. Usage is implied by the verb rather than explicitly routed.

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