Skip to main content
Glama
This connector has been deprecated in the official MCP Registry

Replaced by ronda.

Moved to com.useronda/ronda

Read file

read_file
Read-onlyIdempotent

Read a text file from the sandbox repository, optionally a line range (max 2000 lines per call; use startLine/endLine to page). Environment files (.env*) are not returned. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
pathYesFile path relative to the repository root.
contextNoA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
endLineNoLast line to return (1-based, inclusive).
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
sessionIdYesThe ronda session id, from open_session or list_sessions.
startCharNoCharacter offset into startLine to begin at; use nextStartChar from a partial result to continue a very long line.
startLineNoFirst line to return (1-based, inclusive).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description still adds non-trivial behavior beyond that: a hard 2000-line cap per call, paging semantics, and the fact that .env* files are silently excluded from results — exactly the kind of surprise an agent needs warned about.

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?

Three short clauses, front-loaded with what is read, followed by limits, exclusions, and the safety tag. Nothing is redundant with the title and no sentence could be dropped without losing information.

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 7-parameter read tool with no output schema, the description covers the main behavioral risks (truncation cap, env-file exclusion, paging). It stops short of describing what a partial result looks like or how truncation is signaled, leaving that to the schema's nextStartChar note.

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 baseline is 3, but the description adds a constraint absent from the schema: the 2000-line ceiling that makes startLine/endLine mandatory in practice for large files. The startChar/nextStartChar continuation path is only hinted at in the schema, and the description does not elaborate on it.

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 concrete verb and resource ('Read a text file from the sandbox repository') plus its scope limit (text files, not arbitrary binaries). It is clearly distinguishable from list_files and write_file by the word 'Read', though it never names a sibling explicitly.

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?

Gives operational guidance for paging ('use startLine/endLine to page') and an exclusion rule ('.env* files are not returned'), which is genuinely useful context for selecting this tool. However, there is no explicit when-to-use vs. alternatives guidance, e.g., nothing telling the agent to use list_files first to discover paths or apply_patch/write_file for edits.

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