Skip to main content
Glama
ellmos-filecommander-mcp

ellmos-filecommander-mcp

Read Session Output

fc_read_output
Read-onlyIdempotent

Reads collected output from a running session by session ID and optionally clears it, so you can monitor progress and retrieve results.

Instructions

Reads the output of a running session.

Args:

  • session_id (string): Session ID from fc_start_session

  • clear (boolean, optional): Clear output after reading

Returns:

  • Collected output since start/last clear

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "session_id": "<session_id>"
    },
    "name": "fc_read_output"
  }
}

Input Schema

NameRequiredDescriptionDefault
clearNoClear output
session_idYesSession ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.11.5
  2. Removedv1.9.3
  3. First observedv1.7.8

TDQS

A3.9/5.0
Behavior4/5

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

The description discloses something the annotations do not capture: the 'clear' flag erases buffered output after it is returned, which is a state-changing effect despite readOnlyHint=true and destructiveHint=false. It also explains the return payload is cumulative ('since start/last clear'), which is valuable framing. Minor gap: it doesn't warn that repeated calls with clear=true will not return the same content, a point that sits in mild tension with idempotentHint=true.

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?

Roughly four lines, front-loaded with the verb phrase, then a compact Args block and a one-line Returns block. The returns line conveys cumulative-buffer semantics that are not available anywhere in structured fields, so every sentence earns its place.

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?

For a two-parameter read tool with no output schema and full annotation coverage, the definition covers inputs, the clear side effect, and the shape of the result. What remains unstated is whether the call blocks waiting for new output or returns immediately empty, and whether large output is truncated.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds real value by tying session_id to its origin tool (fc_start_session) and by clarifying that 'clear' happens 'after reading' rather than before, which the schema's one-word 'Clear output' does not establish.

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 the output of a running session'), which is enough to distinguish it from fc_send_input, fc_close_session, and fc_start_session by name alone. It stops short of explicitly naming those siblings or contrasting roles, so the separation is inferable rather than stated.

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?

The phrase 'running session' implies a precondition and 'session_id from fc_start_session' points to the prerequisite tool, which is genuine usage context. However, there is no guidance on polling behavior, on when to prefer this over fc_get_search_results or fc_read_file, or on what to expect when the session has ended.

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