Skip to main content
Glama
ellmos-filecommander-mcp

ellmos-filecommander-mcp

Read Multiple Files

fc_read_multiple_files
Read-onlyIdempotent

Read several files in one call and return their contents with separators, with an optional per-file line limit for scanning related files.

Instructions

Reads multiple files at once and returns their contents.

Args:

  • paths (array): Array of file paths

  • max_lines_per_file (number, optional): Max lines per file (0 = all)

Returns:

  • Contents of all files with separators

Example: paths: ["C:\config.json", "C:\readme.md"]

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": {
      "paths": "<paths>"
    },
    "name": "fc_read_multiple_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYesArray of file paths
max_lines_per_fileNoMax lines per file

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.11.5
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / max_lines_per_file / maximum
      Added value: +9007199254740991
  2. Addedv1.9.3
  3. Removedv1.9.3
  4. First observedv1.7.8

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already establish readOnlyHint, idempotentHint, and non-destructive behavior, so the safety profile is covered. The description adds useful return context ('with separators') and the meaning of max_lines_per_file=0, but does not disclose partial-failure behavior, ordering, or what happens when a path is missing.

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

Conciseness4/5

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

The purpose is front-loaded in the first sentence, and the return behavior and example are useful. However, the Args section largely restates the input schema's parameter descriptions, which is mildly redundant.

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 simple two-parameter read tool with rich annotations and no output schema, the description covers purpose, return format, and example invocation. It is nearly complete, with only minor gaps around failure handling and explicit sibling selection.

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 schema already documents both parameters, making a 3 the baseline. The description goes beyond it by clarifying that max_lines_per_file=0 means all lines and by giving a concrete paths example, adding genuine semantic value.

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?

States a specific verb and resource ('Reads multiple files at once') and clearly distinguishes its batch scope from the sibling single-file tool fc_read_file. An agent can tell exactly what operation this performs.

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 batch nature implies it should be used when reading more than one file, but the description never explicitly says when to choose it over fc_read_file or other siblings, nor does it mention exclusions such as the schema's 20-file maximum. Usage is implied rather than guided.

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