Skip to main content
Glama

read_multiple_files

Read-onlyIdempotent

Read multiple UTF-8 files in a page. Continue with next_offset or per-file next_offset_bytes.

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

Input Schema

NameRequiredDescriptionDefault
pathsYes
offsetNo
device_idYes
max_charsNo
page_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior, so the bar is lower. The description adds useful behavior beyond that: files are UTF-8 and results are returned one page at a time with a continuation mechanism. It omits what happens on missing files, encoding failures, or whether partial results are returned.

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?

Two tight sentences with the core action front-loaded, so it is short and scannable. The second sentence, however, spends its limited space on field names the agent cannot supply, which is waste bordering on noise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With five undocumented parameters and no output schema, this read tool needs substantially more: what device_id selects, whether paths are absolute, what max_chars truncates, and how page_size interacts with pagination. The description's own continuation fields don't map to the schema, so an agent cannot reliably page without guessing.

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% across five parameters, so the description carries the full burden and largely fails. It never explains device_id, paths, page_size, or max_chars, and the fields it does name (next_offset, next_offset_bytes) do not exist in the schema, leaving the actual offset/max_chars relationship unexplained and half-contradicted.

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: 'Read multiple UTF-8 files', and the word 'multiple' plus the sibling set (read_file, list_files) makes the batch-read role reasonably distinguishable. It stops short of explicitly contrasting with read_file, but the purpose is unambiguous.

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?

The only usage instruction is 'Continue with next_offset or per-file next_offset_bytes', which tells the agent how to paginate but not when this tool beats read_file or list_files. Worse, neither next_offset nor next_offset_bytes appears in the schema, so the guidance points at fields the agent cannot pass.

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