Skip to main content
Glama
danieldoalto

Terminal Session Manager

by danieldoalto

Read Session

read_session

Retrieve output text from an active terminal session, with sensitive tokens and credentials automatically redacted before return.

Instructions

Reads output text from an active terminal session.

Sensitive tokens and credentials are automatically redacted before returning.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeoutNo
max_bytesNo
session_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose a genuinely useful non-obvious trait: sensitive tokens and credentials are automatically redacted. It nonetheless omits read semantics (blocking vs. non-blocking, whether output is consumed) and any auth or rate-limit context.

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?

Two short sentences, front-loaded with what the tool does and followed by the redaction caveat. No filler, no restatement of the title.

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?

The output schema exists, so return values need not be explained. Still, for a three-parameter tool with zero annotation coverage, the description leaves timeout/max_bytes behavior and read-blocking semantics unaddressed, so it is only partially complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters. The description mentions none of them, leaving timeout (what timeout, in what unit), max_bytes (what happens on truncation), and session_id entirely undocumented beyond their self-evident names.

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 ("Reads output text") and scopes it to an "active terminal session," which is more precise than a bare 'read session.' However, it does not distinguish itself from the sibling get_session, which an agent could plausibly confuse it 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?

There is no guidance on when to use this versus get_session, list_sessions, or write_session. The 'active' qualifier hints at a precondition but the description never states prerequisites, exclusions, or alternatives.

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