Skip to main content
Glama
NotHarshhaa

mainframe-mcp-server

by NotHarshhaa

list_cics_regions

Read-onlyIdempotent

List CICS regions in a CMCI context and filter by status to find active or inactive regions; cap returned results for focused mainframe region checks.

Instructions

List CICS regions in a CMCI context. Supports status filter and result capping.

Input Schema

NameRequiredDescriptionDefault
statusNoFilter by region status, e.g. "ACTIVE", "INACTIVE". Case-insensitive.
contextNoCMCI context (CICSplex name or region APPLID). Defaults to CMCI_CONTEXT env var.
maxResultsNoMaximum number of regions to return after filtering.
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.4/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=true), so the bar is lower. The description adds that filtering and capping are supported, but says nothing about whether results span one context or all environments, how capping interacts with filtering, or what happens when the context is omitted.

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 resource and scope, and each sentence carries information. It is efficient, though the terseness leaves real behavioral questions unanswered rather than deliberately trimmed.

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?

All four parameters are optional and fully documented in the schema, and there is no output schema to explain. Still, for a tool whose environment/context parameters can materially change which regions are returned, the description omits how those defaults resolve and what the listing looks like.

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 the baseline is 3. The description echoes the status filter and maxResults cap but adds no syntax, defaults, or interaction detail beyond the schema, and does not touch the context or environment parameters at all.

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?

States a specific verb and resource ("List CICS regions") plus scope ("in a CMCI context"), which is unambiguous. However it does not distinguish itself from close siblings like get_cics_region_status, get_cics_region_stats, or list_cics_transactions, so an agent gets the what but not the why-this-one.

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?

Usage is only implied by the mention of a status filter and result capping; there is no explicit when-to-use, when-not-to-use, or named alternative such as get_cics_region_status for a single region or list_environments for target selection. The agent must infer routing from tool names alone.

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