Skip to main content
Glama
NotHarshhaa

mainframe-mcp-server

by NotHarshhaa

get_console_messages

Read-onlyIdempotent

Read recent SYSLOG-style console messages from an extended MCS console to inspect the operations-log tail and diagnose mainframe activity.

Instructions

Read the operations-log tail: recent unsolicited console messages (SYSLOG-style feed) from an extended MCS console.

Input Schema

NameRequiredDescriptionDefault
maxLinesNoMaximum lines to return (default 200).
consoleNameNoConsole name; defaults to ZOSMF_CONSOLE_NAME.
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, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds useful behavioral context with 'operations-log tail,' 'unsolicited,' and 'SYSLOG-style feed,' but it does not describe return format, rate limits, or pagination behavior.

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?

The description is a single, front-loaded sentence with no filler. It states the core operation and the data source efficiently.

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 simple read-only tool with three fully documented optional parameters and complete safety annotations, the description is nearly sufficient. It identifies the feed type and tail semantics, though it leaves usage routing and return shape implicit.

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 maxLines, consoleName, and environment are already documented in the schema. The description does not add parameter-level meaning beyond what the schema provides, so the baseline 3 is appropriate.

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 gives a specific verb and resource: 'Read the operations-log tail' and 'recent unsolicited console messages ... from an extended MCS console.' It is clearly a read-only console-feed operation, which distinguishes it in practice from issue_console_command, but it does not explicitly name that sibling alternative.

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?

The purpose implies when the tool is useful: when an agent needs recent unsolicited console messages. However, the description gives no explicit when-to-use guidance, no exclusions, and no named alternatives among the many sibling diagnostic tools.

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