Skip to main content
Glama

add_textbox

Add a styled text box to a LibreOffice slide, setting position, size, font, color, and alignment. Supports multi-line text and precise percentage-based placement.

Instructions

Place a styled text box. x/y/w/h are percent (0-100) of the slide; size is in points; color is hex; align is left|center|right; valign is top|center|bottom. Use newlines in text for multiple lines.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hYes
wYes
xYes
yYes
boldNo
fontNo
sizeNo
textYes
alignNoleft
colorNo#222222
slideYes
doc_idYes
italicNo
valignNotop
Install Server

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It adds useful behavioral detail: coordinates are percent of the slide, size is in points, color is hex, align/valign have specific allowed values, and newlines create multiple lines. However, it does not disclose side effects such as whether a new text box is always added, how overlapping is handled, or any error behavior.

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 compact and front-loaded. The main purpose appears first, followed by concise semicolon-separated parameter semantics. Every sentence adds useful information and there is no filler.

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?

Given 14 parameters, 0% schema description coverage, and no output schema, the description provides the essential geometry and formatting details but omits important contextual pieces like slide indexing convention, the meaning of doc_id, font semantics, and whether it replaces or appends. It is adequate for common calls but not fully complete for a tool with this complexity.

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 0%, so the description must compensate. It explains x/y/w/h as percent, size in points, color as hex, align/valign values, and newline handling in text. But it does not explain doc_id, slide, bold, italic, or font, leaving several parameters underspecified.

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 opens with a clear verb+resource: 'Place a styled text box.' It then gives concrete formatting semantics. It does not explicitly distinguish itself from sibling tools like add_paragraph or add_shape, but the notion of a text box is clear enough to identify its core purpose.

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 guidance about when to use this tool versus alternatives such as add_shape, add_paragraph, or insert_text. No conditional context, no exclusions, and no mention of sibling tools. The usage context must be inferred entirely from the tool name and general purpose.

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

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/krondor-corp/libre-mcp'

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