Skip to main content
Glama
NotHarshhaa

mainframe-mcp-server

by NotHarshhaa

compare_jobs

Read-onlyIdempotent

Compares status, return code, and failure indicators for two JES jobs side by side to identify differences and diagnose failures.

Instructions

Compare status, return code, and failure indicators for two jobs side by side.

Input Schema

NameRequiredDescriptionDefault
jobId1YesFirst JES job id.
jobId2YesSecond JES job id.
environmentNoNamed target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety and idempotency profile is fully covered. The description adds the scope of what is compared (status, return code, failure indicators), but says nothing about behavior for missing jobs, mixed-environment comparison, or environment defaulting. Adequate but not rich, given annotations carry the main burden.

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?

A single front-loaded sentence with the compared fields enumerated immediately and no filler. Every clause earns its place.

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?

For a read-only comparison tool with a fully-documented schema and annotations covering safety and idempotency, the description says enough to call it correctly: which two IDs, optional environment, and what is compared. The only minor gap is how it behaves with invalid or cross-environment job IDs, which is not stated.

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 all three parameters (jobId1, jobId2, environment) are already documented in the schema, including the pointer to list_environments for the environment parameter. The description adds no format or syntax detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb (compare) and resource (two jobs) plus the exact fields it reports on: status, return code, and failure indicators. This is clearly distinguishable from get_job_status or analyze_job_failure, which handle one job or failure analysis, not side-by-side diffing.

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?

The phrase 'side by side' implies the comparison use case, but there is no explicit guidance on when to prefer this over calling get_job_status twice, nor any mention of prerequisites or when not to use it. Usage must be inferred from the name and description alone.

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