Skip to main content
Glama

Read several files

read_multiple_files
Read-only

Read up to 20 text files in one call. A file that cannot be read is reported inline and does not stop the others.

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": "read_multiple_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYesUp to 20 file paths.
deviceNoDevice name. Optional when the account has only one online device.
max_bytesNoPer file. Default 100000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond that: partial-failure semantics where an unreadable file is reported inline without aborting the remaining reads. It does not state anything about ordering or truncation of oversized files (max_bytes), so it is not fully exhaustive.

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, zero filler, with the batch capability front-loaded and the failure mode second. Each sentence carries a distinct fact and nothing repeats the name or title.

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 low-complexity batch read with full schema coverage and annotations carrying the safety profile, the description covers capacity and error handling, which are the main risks. With no output schema, it could still say how results are keyed/ordered per file, but that is a minor omission.

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 paths, device, and max_bytes are already documented in the schema; the description only restates the 20-path cap. It adds no meaning for device selection or the max_bytes default beyond what the schema says, which is the baseline expected when the schema does the heavy lifting.

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 (read), resource (text files), and a hard batch limit (up to 20 in one call), which clearly separates it from the singular read_file sibling by capability. It stops short of naming read_file or any other alternative, so differentiation is implied by scope 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 20-file batch bound implies when this beats repeated single-file reads, but there is no explicit when-to-use/when-not or named alternative such as read_file. An agent can infer the routing, but must do the inference itself.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources