Skip to main content
Glama

remote_read_file

Retrieve file contents from a remote fuzzing server to inspect crash inputs or logs. Provide a path and optional byte limit to get the data needed for triage.

Instructions

Read a file from the remote server (useful for inspecting crash inputs or logs).

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": {
      "path": "<path>"
    },
    "name": "remote_read_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute or base_dir-relative path on the server
max_bytesNoMaximum bytes to read
host_indexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and falls short. The key behavioral trait, that max_bytes truncates the read (default 65536) so large files come back partial, is never disclosed, nor is any handling of binary content, path traversal restrictions, error behavior, or whether the operation is strictly read-only.

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?

A single tight sentence with the resource front-loaded and the use hint parenthesized. Nothing is wasted, though the brevity comes at the cost of the behavioral detail noted elsewhere.

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?

For a tool with no annotations, no output schema, and an undocumented host_index, the description does too little. An agent still lacks truncation semantics, multi-host behavior, and any indication of what the returned content looks like.

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 coverage is 67%: path and max_bytes are documented in the schema, but host_index has no description anywhere, and its meaning (which remote host to read from, defaulting to index 0) is critical for correct invocation. The description adds no parameter meaning beyond what the schema already provides.

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?

The description states a specific verb and resource ('Read a file from the remote server'), which clearly separates it from siblings like remote_exec, list_crashes, or remote_fuzzer_status. It does not, however, distinguish it from other read-style siblings such as remote_hexdump, read_crash, or bridge_read_resource, so the reader must infer the boundary.

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 parenthetical 'useful for inspecting crash inputs or logs' gives an implied context for use, which is more than nothing. But there is no explicit when-not guidance, no mention of when to prefer remote_hexdump or read_crash instead, and no prerequisites described.

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