Skip to main content
Glama
SH4RKKK

ibm-i-5250-mcp

by SH4RKKK

screen_snapshot

Capture the current 5250 screen state, including text, fields, cursor, keyboard, and messages, without making changes, for inspection before acting.

Instructions

Return the current screen without changing anything: the literal screen text, the field list with refs, the cursor position, the keyboard state and any message line. Use this to look before acting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionNowhich open session to act on. Omit unless you opened more than one (default: "default")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and performs well: it explicitly states 'without changing anything' and lists the full return payload (screen text, field list, cursor, keyboard, message line), making the non-destructive behavior unmistakable.

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?

One sentence that front-loads the verb and scope, then a dense colon list of return components and a final usage pointer. No filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description fully specifies what the snapshot contains and its safety profile, and the schema resolves the session selection. For a simple read-only tool without an output schema, nothing essential is missing.

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% for the only parameter (session), including a default and guidance on when to omit it. The description adds no further parameter detail, so the baseline 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?

Clear verb+resource: 'Return the current screen' plus an explicit enumeration of the snapshot contents. The qualifier 'without changing anything' differentiates it from action tools like screen_do.

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?

'Use this to look before acting' gives explicit timing guidance and implies it precedes mutation tools, but it does not name sibling alternatives or state when not to use it.

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