Skip to main content
Glama
NotHarshhaa

mainframe-mcp-server

by NotHarshhaa

get_smf_metrics

Read-onlyIdempotent

Retrieve SMF/RMF performance metrics from z/OSMF RMF or a configured SMF summary dataset, and filter by category to focus on CPU, I/O, memory, performance, or counters.

Instructions

Retrieve SMF/RMF performance metrics from z/OSMF RMF and/or a configured SMF summary dataset. Supports category filtering.

Input Schema

NameRequiredDescriptionDefault
categoryNoFilter metrics by category: "cpu", "io", "memory", "performance", "counter", or a custom keyword matching metric names.
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

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context by disclosing the dual data sources (live z/OSMF RMF and/or a configured SMF summary dataset), implying fallback behavior, but says nothing about result volume, pagination, or what happens if neither source is available.

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?

Two short sentences, front-loaded with the core action and resource, with the filtering note appended. No filler, though it is on the terse side for a tool with multiple data sources.

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?

With no output schema, the description does not indicate what the returned metrics look like (structure, units, volume), and it omits any mention of the need for a configured SMF dataset or a working z/OSMF connection. Adequate to select the tool, but thin for invoking it confidently.

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% and both parameters carry self-explanatory descriptions, so the baseline is 3. The description's 'Supports category filtering' only restates the category parameter without adding format or default details beyond the schema.

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?

Specific verb (Retrieve) plus resource (SMF/RMF performance metrics) and the data sources (z/OSMF RMF and/or SMF summary dataset). It is clearly distinct from every sibling tool, which are job/CICS/DB2/dataset oriented, though it does not explicitly name a sibling to contrast with.

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?

No statement of when to use this instead of alternatives such as system_health_summary or get_wlm_status, and no prerequisites mentioned (e.g. z/OSMF connection, dataset configuration). The only guidance is the passing note about category filtering.

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