Skip to main content
Glama
Prabhas125

universal-mcp-fs

by Prabhas125

Read File Lines

read_file_lines
Read-onlyIdempotent

Read a specific range of lines from a file, useful for accessing large files without loading the entire content.

Instructions

Read a specific line range from a file. Useful for large files where reading the whole thing would exceed limits.

Args:

  • path (string): Path to the file.

  • start_line (number): 1-indexed starting line (inclusive).

  • end_line (number): 1-indexed ending line (inclusive).

Returns: the requested lines, each prefixed with its line number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the file
end_lineYes1-indexed ending line, inclusive
start_lineYes1-indexed starting line, inclusive
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive. Description adds return format ('lines prefixed with line number') and indexing details (1-indexed, inclusive).

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 concise paragraphs: purpose and parameters. Front-loaded with key information. No superfluous text.

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?

Given simple tool, rich annotations, and 100% schema coverage, description adequately covers usage, parameters, and return format. Lacks error handling notes, but not critical.

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 coverage is 100%; description repeats schema info with slight clarification (1-indexed, inclusive). No new parameter semantics beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states 'Read a specific line range from a file' and distinguishes from reading whole file, which is the sibling tool read_file.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly mentions usefulness for large files to avoid limits, implying when to use instead of read_file. No explicit when-not, but context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Prabhas125/universal-mcp-fs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server