Skip to main content
Glama

add_page_box

Add a colored box, header band, or pull-quote callout anchored to a page in a LibreOffice document. Use x/y/w/h percentages to position and size it, with optional text styling.

Instructions

Place a page-anchored box (a colored band, header, or pull-quote callout). x/y/w/h are percent (0-100) of the PAGE; fill is the box color (hex, or null for transparent); optional text is styled with color/size/bold/align. Great for letterheads and report headers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hYes
wYes
xYes
yYes
padNo
boldNo
fillNo
fontNo
sizeNo
textNo
alignNoleft
colorNo#ffffff
doc_idYes
Install Server

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the burden. It discloses important behavior: coordinates are page-relative percentages (0-100), fill accepts null for transparency, and optional text is styled via color/size/bold/align. It stops short of describing side effects or return value, but the core behavior is transparent and useful.

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?

Three compact sentences front-load purpose, then lay out coordinate/fill/text semantics and a concrete use case. There is no redundant wording, no tautology, and every sentence adds useful information.

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 basic required call, the description covers x/y/w/h and implies doc_id, and the schema provides defaults for many optional fields. But with no annotations or output schema, an agent is left without guidance on pad/font semantics or what the tool returns, so completeness is adequate but not strong for full optional use.

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?

With 0% schema description coverage, the description compensates for key parameters: x/y/w/h are explained as percentages, fill is explained as hex or transparent, and text-related style properties are listed. However, it leaves pad, font, color defaults, and the exact relationship between text and styling mostly to inference, so coverage over the 13 parameters is incomplete.

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?

Uses a specific verb (Place) and object (page-anchored box), reinforced by concrete examples (colored band, header, pull-quote callout). This clearly distinguishes it from sibling tools like add_textbox or add_shape, which have different anchoring and content roles.

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?

Gives use-case context ('Great for letterheads and report headers') but never contrasts the tool with siblings such as add_textbox or add_shape. The intended conditions are implied by the page-anchored framing rather than explicitly stated, so guidance is moderate but not fully directive.

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