Skip to main content
Glama

insert_text

Append text to a Writer document with options for line breaks, bold, italic, underline, and paragraph or character styles.

Instructions

Append text at the end of a Writer document.

break_before controls what precedes the text: "none" (default, keeps typing in the current paragraph), "line" (soft line break, same paragraph), "paragraph" (starts a new paragraph), or "page" (starts a new paragraph on a new page).

bold/italic/underline apply direct character formatting to just the text being inserted. style is a paragraph style name (e.g. "Heading 1", "Title") applied to the paragraph the text lands in; char_style is a character style name (e.g. "Emphasis", "Strong Emphasis") applied to just the inserted run. Use list_styles to see what's actually available in a given document rather than guessing names.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boldNo
textYes
styleNo
doc_idYes
italicNo
underlineNo
char_styleNo
break_beforeNonone
Behavior4/5

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

No annotations exist, so the description must fully disclose behavior. It details break_before options, formatting application (bold/italic/underline), and style/char_style effects. It also advises using list_styles to avoid guessing, adding practical 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 well-structured with a clear first sentence stating the action, followed by parameter details in a bullet-like format. It is concise without unnecessary words, though some parameter explanations could be more compact.

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 8 parameters, 2 required, and no output schema, the description covers all key parameters and behaviors. It explains insertion at the end, formatting, and style application. Missing details like return value are acceptable since output schema is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description compensates by explaining each parameter's role and valid values (e.g., break_before options, style names). It provides usage examples like 'Heading 1' and 'Emphasis', which adds significant meaning 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 'Append text at the end of a Writer document', using a specific verb and resource. It distinguishes from siblings like get_text and find_and_replace by focusing on insertion at the end.

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 through parameter explanations but does not explicitly state when to use this tool over alternatives like list_styles or get_text. No 'when-not' or alternative tool references 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/blwfish/LibreOffice-mcp'

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