Skip to main content
Glama
sinner12123

mcp-glm-kimi-ollama

by sinner12123

kimi_write_file

Writes given content to a file at a specified absolute path, creating a new file or overwriting an existing one.

Instructions

Create or overwrite a file with given content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute file path to write
contentYesContent to write
workFolderNo
Behavior3/5

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

The description discloses the destructive overwrite behavior, which is important, but with no annotations, it leaves significant gaps: no mention of directory creation, permissions, path validation, or return values. The overwrite disclosure is helpful but the description does not fully carry the behavioral transparency burden.

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 a single, front-loaded sentence with no filler. Every word is meaningful and it is appropriately sized for the tool's apparent simplicity.

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 write tool, the description and schema are mostly adequate, but the undocumented 'workFolder' parameter and lack of any behavioral detail beyond overwrite leave gaps. The tool is low-complexity, so this is not severely incomplete, but it is not fully complete.

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?

The schema already describes 'path' and 'content' (67% coverage), but the description adds no semantic value beyond paraphrasing 'content'. The optional 'workFolder' parameter remains undocumented both in schema and description, and the description does not help clarify it.

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's function with a specific verb ('Create or overwrite') and resource ('a file with given content'). It also distinguishes from sibling tools like kimi_edit_file by explicitly mentioning overwrite as a core behavior.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this tool versus alternatives. Sibling tools like kimi_edit_file, kimi_read_file, and kimi_shell are not referenced, and no usage context or exclusions are provided.

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