Skip to main content
Glama
FullContextInput MCP

FullContextInput MCP

by lukehemmin

read_file_chunk

Reads large files in line-based chunks so AI tools can inspect content without breaking code syntax.

Instructions

큰 파일을 라인 단위로 안전하게 나눠서 읽습니다. (코드 깨짐 방지)

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": {
      "file_path": "<file_path>"
    },
    "name": "read_file_chunk"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYes읽을 파일의 경로
chunk_numberNo읽을 청크 번호 (0부터 시작)
lines_per_chunkNo청크당 라인 수 (기본값: 200줄)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.4

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the entire behavioral burden, and it delivers little beyond a vague safety claim ('안전하게', '코드 깨짐 방지'). It does not disclose whether output is line-numbered, what happens when chunk_number exceeds the file length, whether encoding is preserved, or that the operation is a pure read with no side effects — all of which matter for a chunked reader.

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?

Two short sentences with the resource and the chunking mechanism front-loaded and no filler; the parenthetical rationale is compact. It is efficient, though its brevity borders on terseness given the missing behavioral detail.

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?

For a three-parameter, non-destructive read tool with a fully described schema and no output schema, the definition covers the essentials of what it does. However, with zero annotations and no explanation of return structure or chunk-boundary semantics, an agent still lacks enough to call it confidently across edge cases.

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 description coverage is 100%, so file_path, chunk_number, and lines_per_chunk are each already documented with defaults (0-based chunk index, 200 lines per chunk). The description adds no additional parameter meaning, which is acceptable at baseline 3 but leaves no value-add.

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 ('큰 파일을 ... 읽습니다' — reads a large file) plus the mechanism ('라인 단위로 나눠서' — split by line), so an agent knows this is a chunked read. It implies a large-file scope that distinguishes it from whole-file readers, but it never names or contrasts any sibling such as read_file_content or read_file_lines, so differentiation is left to inference.

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?

Usage is only implied by the qualifier '큰 파일' — use this when the file is too large to read whole. There is no explicit when-to-use/when-not-to-use statement, no guidance on choosing chunk_number vs lines_per_chunk strategy, and no reference to the many sibling read/extract tools, so an agent must guess which reader to pick.

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