Skip to main content
Glama
sinner12123

mcp-glm-kimi-ollama

by sinner12123

kimi_read_file

Read text files from a local path, returning up to a specified number of lines. Optionally set an offset to start reading from any line.

Instructions

Read a text file. Returns file content up to limit lines.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute file path to read
limitNoMax lines to read (default: 1000)
offsetNoLine offset to start from (0-based)
workFolderNo
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses that content is returned up to 'limit lines,' which is a useful behavioral detail, but it does not mention error handling, file existence requirements, or permissions. The non-destructive nature is implied but not explicitly stated.

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?

The description is extremely concise—two short sentences that front-load the main action and a key behavioral constraint. Every word adds value, with no redundant or filler content.

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 simple read tool, the description conveys the core operation well, but it leaves gaps: it does not specify the return format, behavior on invalid paths, or the meaning of 'workFolder.' Given no output schema and no annotations, these omissions are noticeable, though not catastrophic for such a straightforward tool.

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 descriptions already cover path, limit, and offset with clear explanations (75% coverage). The description adds marginal value by restating 'up to limit lines,' but it does not clarify the undocumented 'workFolder' parameter or how offset interacts with limit.

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?

The description clearly states the tool reads a text file and returns its content, using the specific verb 'read' and resource 'text file.' This distinguishes it from siblings like kimi_write_file, kimi_edit_file, and kimi_read_media.

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 description implies usage for reading text files but does not explicitly state when to use this tool versus alternatives or any exclusions (e.g., binary files). The sibling list provides context, but the description itself lacks explicit guidance.

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/sinner12123/mcp-glm-kimi-ollama'

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