Skip to main content
Glama
ellmos-filecommander-mcp

ellmos-filecommander-mcp

Send Input to Session

fc_send_input
Destructive

Sends text input to a running session by ID, optionally appending a newline, to execute commands or code in that session.

Instructions

Sends input to a running session.

Args:

  • session_id (string): Session ID

  • input (string): Input to send

  • newline (boolean, optional): Append newline (default: true)

Examples:

  • Python: input="print('Hello')"

  • Shell: input="ls -la"

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>",
      "input": "<input>"
    },
    "name": "fc_send_input"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesInput to send
newlineNoAppend newline
session_idYesSession ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.11.5
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv1.7.8

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is covered structurally. The description adds useful context that the payload is raw interpreter/shell text (Python and Shell examples), but says nothing about consequences: whether input interrupts a running process, what happens if the session is dead, or how results are observed.

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?

The one-line purpose is properly front-loaded and the examples earn their place, but the Args block duplicates the schema field-by-field with no new information. Roughly a third of the text is redundant re-statement.

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?

For a three-parameter tool with no output schema, the basics are present, and the return value need not be explained. However, for a destructive, open-world mutation the description omits the prerequisite session lifecycle and the fact that output must be retrieved separately, leaving meaningful operational context unaddressed.

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 schema already documents all three parameters, and the description's Args block largely restates them verbatim. The only added value is the examples showing what a realistic 'input' string looks like for Python versus Shell sessions.

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 ('Sends input to a running session'), with the qualifier 'running' scoping it to an already-active session, which implicitly separates it from fc_start_session and fc_close_session. It does not explicitly name a sibling, so differentiation is inferred 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 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 fc_execute_command, fc_start_process, or fc_start_session, and no stated prerequisite that a session must already exist. The agent is left to infer the workflow (send input, then fc_read_output) with no help from the description.

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