Skip to main content
Glama
Gemini Remote Agent MCP

Gemini Remote Agent MCP

by lisycotana

read_multiple_files

Read-only

Batch-read up to 10 UTF-8 workspace files in one call to reduce round-trips and inspect related code together.

Instructions

Batch-read up to 10 workspace UTF-8 files in one call to save round-trips.

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
pathsYes
max_lines_per_fileNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description usefully adds the 10-file cap and the UTF-8/workspace-scoping constraints, but says nothing about partial failure (one bad path), whether output is concatenated or per-file keyed, or truncation behavior.

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?

One sentence, front-loaded with verb, resource, cap and encoding constraint, with zero redundant wording.

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?

An output schema exists so return values need no explanation, and the tool is simple. Still, the undefined truncation parameter and unaddressed per-file error behavior leave gaps that matter for a batch reader.

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%, so the description must carry parameter meaning. It does convey the 10-item cap on paths and the UTF-8 expectation, but it never mentions max_lines_per_file (default 150), a silent truncation control that materially changes results.

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: "Batch-read up to 10 workspace UTF-8 files in one call." The word "batch" and the 10-file cap implicitly separate it from the singular read_file sibling, but no sibling is named explicitly, so an agent must infer the routing.

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 "in one call to save round-trips" implies the use case (multiple files at once rather than repeated read_file calls), but it never says when not to use it, what happens past the 10-file limit, or which alternative to pick for a single file.

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