Skip to main content
Glama

comsol_cluster_status

Check a Slurm job’s state, runtime, and batch.log tail, or list all known jobs with their current Slurm status by leaving the job ID empty.

Instructions

Cluster: Status eines Jobs (Slurm-Zustand, Laufzeit, Ende von batch.log). job_id leer = alle bekannten Jobs mit Slurm-Zustand auflisten.

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

Input Schema

NameRequiredDescriptionDefault
job_idNo
log_linesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.5

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it implies a read-only inspection and discloses the returned facets (Slurm state, runtime, tail of batch.log), which is genuinely useful. It does not state side-effect safety, whether a cluster/SSH connection or credentials are required, or what happens for an unknown job_id.

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, front-loaded sentences: purpose and returned fields first, the empty-job_id behavior second. Nothing is wasted or buried.

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?

An output schema exists, so return values need not be described, and the purpose plus job_id behavior covers the core. The undocumented log_lines parameter and the absence of any connection/permission or error context leave gaps for an operations-style tool.

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 0%, so the description must compensate. It does explain the non-obvious semantics of job_id (empty string means list all jobs), but says nothing about log_lines, so only one of two parameters gains meaning.

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?

Names a specific verb and resource ('Cluster: Status eines Jobs') and enumerates what the status contains (Slurm-Zustand, Laufzeit, Ende von batch.log), so the agent knows it is a read of cluster job state rather than a submit/cancel action. It does not explicitly contrast itself with nearby siblings like comsol_cluster_check or comsol_cluster_fetch, which keeps it from a 5.

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?

Provides concrete usage semantics for the common case: leaving job_id empty lists all known jobs with their Slurm state. It gives no guidance on when to prefer this over comsol_cluster_check, comsol_cluster_fetch, or the generic comsol_status, so the agent must infer the boundary.

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