Skip to main content
Glama

page_setup

Set page margins and background color for Writer documents. Adjust left, right, bottom, and top margins in centimeters, or change the page background using a hex color.

Instructions

Set page margins (cm) and/or page background color (hex) for a Writer doc. margin sets left/right/bottom; top overrides the top margin (raise it to clear a header band).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNo
colorNo
doc_idYes
marginNo
Install Server

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does add useful details beyond the schema, such as margin applying to left/right/bottom, top overriding the top margin, and the header-band tip. However, it does not disclose likely side effects, whether the document needs to be open, or what happens when only some parameters are provided.

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: two sentences, with the primary purpose first and parameter clarifications second. Every phrase earns its place, and the header-band tip provides practical value without bloat.

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?

For a simple four-parameter setup tool with no output schema, the description covers the tool's purpose, parameter semantics, and units. The main gap is the lack of guidance on when to choose this tool over similarly named siblings, and it does not mention any side effects on existing formatting.

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

Parameters5/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 supply all parameter meaning, and it does. It explains margin as left/right/bottom, top as an override for the top margin, and color as a hex background color. doc_id is self-evident as the target document identifier.

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 opens with a specific verb and resource: 'Set page margins (cm) and/or page background color (hex) for a Writer doc.' It clearly differentiates from siblings like set_slide_background by targeting Writer documents rather than slides. The scope of what the tool modifies is unambiguous.

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?

The description implies usage for adjusting page margins or background color, but provides no explicit guidance on when this tool should be preferred over alternatives such as set_slide_background or add_page_box. No prerequisites, exclusions, or sibling comparisons are mentioned, leaving the agent to infer when to use it.

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