Skip to main content
Glama

layout

Configure document typesetting and layout by setting columns, fonts, margins, headers, footers, table of contents, line spacing, and section breaks. Only specified parameters are changed; others remain unchanged.

Instructions

Configure document typesetting and layout.

Only provided parameters are changed; others are left as-is.

section_break: Page break before level-1 sections. "before" inserts \clearpage before each \section. Works in any column mode. Individual sections can override via edit(page_break="before").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
columnsNo
fontNo
font_sansNo
font_monoNo
font_sizeNo
paperNo
marginsNo
header_leftNo
header_centerNo
header_rightNo
footer_leftNo
footer_centerNo
footer_rightNo
tocNo
lofNo
lotNo
line_spacingNo
section_breakNo
styleNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses the tool is a configuration tool (non-destructive implied) and explains the partial update behavior, but does not describe return values, side effects, or authentication needs.

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 four sentences, front-loaded with the main purpose, and each sentence adds value. No redundant or verbose phrasing.

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?

With 19 optional parameters, no annotations, and an output schema that presumably describes return values, the description covers basic behavior but lacks detail on many parameters and usage context. It is minimally adequate.

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

Parameters2/5

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

Schema coverage is 0%, but the description only adds meaning to the 'section_break' parameter with a detailed explanation. The other 18 parameters rely solely on their names for interpretation, which is insufficient given no enum values or descriptions in the schema.

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 clearly states the tool configures document typesetting and layout, using a specific verb ('Configure') and resource. While it doesn't explicitly differentiate from siblings like 'edit' or 'document', the purpose 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description notes that only provided parameters are changed (a usage hint), but does not specify when to use this tool versus alternatives like 'edit' for page breaks. It implies usage for layout configuration but no explicit when-not-to.

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/aaronsb/texflow-mcp'

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