Skip to main content
Glama
NotHarshhaa

mainframe-mcp-server

by NotHarshhaa

get_volume_space

Read-onlyIdempotent

Inspect DASD volume free space via z/OSMF and flag volumes below the configured free-space threshold, optionally targeting a specific volume or environment.

Instructions

DASD volume space inventory via z/OSMF Storage Management Interface. Flags volumes below the free-space threshold (STORAGE_FREE_THRESHOLD, default 10%).

Input Schema

NameRequiredDescriptionDefault
volserNoVolume serial to inspect (default: all volumes).
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

A4.2/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive safety profile. The description adds useful behavioral context by naming the z/OSMF Storage Management Interface and disclosing the STORAGE_FREE_THRESHOLD default of 10%.

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 two sentences, front-loaded with the core purpose and then the threshold behavior. There is no redundant or wasted text.

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?

The description is mostly complete for a simple two-parameter read-only inventory tool, especially because annotations cover safety and the schema covers inputs. It could be slightly stronger by explicitly noting that the result is a per-volume space inventory, but the core behavior is clear.

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%, and both parameters are already well documented in the schema. The description does not add parameter-specific meaning beyond that, so the baseline of 3 is appropriate.

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 states a specific resource and action: DASD volume space inventory, with the added behavior of flagging volumes below a free-space threshold. It is clearly distinguishable from sibling tools such as dataset, job, and CICS operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The use case is clear from 'DASD volume space inventory' and the low-free-space flagging behavior. However, it does not explicitly state when to use this versus alternatives or any when-not conditions.

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