Skip to main content
Glama

set_section_properties

Set page orientation, dimensions, and margins for a specific section of a document. Adjust layout properties to control page size and spacing.

Instructions

Set properties for a specific section.

Args: section_index: Index of the section to modify orientation: 'PORTRAIT' or 'LANDSCAPE' width_inches: Page width in inches height_inches: Page height in inches top_margin: Top margin in inches bottom_margin: Bottom margin in inches left_margin: Left margin in inches right_margin: Right margin in inches

Returns: Success or error message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
top_marginNo
left_marginNo
orientationNo
right_marginNo
width_inchesNo
bottom_marginNo
height_inchesNo
section_indexNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. However, it only lists parameters without explaining default behaviors for omitted parameters, whether changes are applied immediately, or if partial updates are allowed. For an 8-parameter mutation tool, this is insufficient.

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 concise and structured as a clear list of parameters with brief explanations. It is front-loaded with the purpose. However, the 'Returns' line is trivial and could be omitted since the output schema likely covers it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having 8 parameters and no annotations, the description does not explain the overall effect (e.g., whether it replaces or merges properties), error conditions, or constraints. The output schema exists but the description repeats the return value unnecessarily.

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 adds minimal meaning beyond parameter names. It specifies units ('in inches') for size/margin parameters and valid orientation values ('PORTRAIT' or 'LANDSCAPE'), but does not provide additional context like allowed ranges or examples.

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 the verb 'Set' and the resource 'properties for a specific section'. It distinguishes from siblings like `set_page_margins` or `set_page_orientation` by targeting a specific section rather than the whole document.

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 that this tool is used for modifying properties of a specific section, but it does not explicitly state when to use this tool vs alternatives like `set_page_margins` or provide any exclusions or prerequisites.

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/rofiqcp/mcp-dokumen'

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