Skip to main content
Glama

terminal_read

Reads current tmux terminal content to inspect live job output and terminal state in an HPC session.

Instructions

Read tmux terminal content

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "terminal_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionNohpc

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden: only the word "read" hints at a non-mutating operation. It says nothing about how much output is returned, whether scrollback is included, what happens if the session is not running, or whether reading affects session state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four words, front-loaded, and free of filler. Its brevity is achieved through under-specification rather than disciplined editing, so it is concise but not informative.

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

Completeness2/5

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

For a tool with a parameter, no annotations, and no output schema, the description is far too thin: the agent cannot tell the return shape, volume, or failure modes. Everything beyond the bare purpose must be discovered by trial.

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% for the single `session` parameter (default "hpc"), and the description adds no explanation of what a session identifier means or how the default is chosen. The description does not compensate for the schema gap 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?

"Read tmux terminal content" gives a specific verb (read) and resource (tmux terminal content), which is clearly distinguishable from siblings like terminal_exec, terminal_send, or terminal_start that act on the session. It does not, however, say which content is read (visible pane vs. scrollback/history), so scope remains slightly fuzzy.

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 when-to-use guidance is given, no prerequisites (e.g., must a session be started first?), and no mention of alternatives such as ssh_read_file for file content. The agent must infer context entirely.

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