Skip to main content
Glama

document_insert

Insert text at a specified line and column. Use for targeted content additions in your Markdown document.

Instructions

Inserts text at a position (line/column, 0-based)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lineYesLine number (0-based)
textYesText to insert
columnYesColumn number (0-based)
Behavior2/5

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

No annotations are present, so the description must carry the full burden. It only states the insertion point but does not mention whether existing text shifts, what happens on invalid line/column values, or if any permissions are required. This lacks important behavioral context.

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?

The description is concise, one sentence with the action upfront. No wasted words, but could include more detail without losing conciseness.

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 tool with 3 parameters and no output schema, the description is adequate but missing behavioral details like shift behavior, error handling, or prerequisites like document being open.

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% with descriptions already explaining the parameters. The description adds '0-based' which is already in the schema. Minimal extra value beyond the 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?

The description clearly states the verb (inserts), resource (text), and position (at a line/column, 0-based). It distinguishes from siblings like document_replace which replaces text, and document_set_content which sets entire content.

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 does not explicitly state when to use this tool versus alternatives like document_replace or document_set_content. The purpose is implied by the action name, but no direct guidance is 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/juergenkoller-software/inkra-mcp'

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