Skip to main content
Glama
bagushd1
by bagushd1

set_page_setup_docx

Configure Word .docx page layout, including paper size, orientation, margins, columns, gutters, page numbering, and mirror margins.

Instructions

Mengatur ukuran kertas (A4, Letter, F4/Folio, Legal, dll), orientasi, margin (cm/inci/preset: normal, narrow, skripsi), gutter, multi-kolom koran, restart nomor halaman, dan mirror margins

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
gutter_cmNo
paper_sizeNo
orientationNo
columns_countNo
gutter_inchesNo
margin_presetNo
page_width_cmNo
section_indexNo
top_margin_cmNo
left_margin_cmNo
mirror_marginsNo
page_height_cmNo
right_margin_cmNo
bottom_margin_cmNo
column_spacing_cmNo
page_number_startNo
page_width_inchesNo
top_margin_inchesNo
footer_distance_cmNo
header_distance_cmNo
left_margin_inchesNo
page_height_inchesNo
page_number_formatNo
right_margin_inchesNo
bottom_margin_inchesNo
column_spacing_inchesNo
footer_distance_inchesNo
header_distance_inchesNo
different_first_page_header_footerNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden. It never states that this is a mutating operation, whether it edits the whole document or a single section, whether existing settings are overwritten, whether it requires the file to already exist, or how failures are surfaced. For a 30-parameter mutation tool this is a substantial gap.

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?

A single dense sentence, but it is front-loaded with the primary attribute (paper size) and groups related settings coherently. The comma-list is efficient, though it is long enough that the section_index behavior deserved its own clause.

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?

An output schema exists, so return values need not be explained. Still, for a tool with 30 parameters, zero schema descriptions, and no annotations, the description leaves important gaps: which section is targeted by default, unit/format expectations for page dimensions, and whether header/footer distance settings are covered.

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 is the only source of meaning, and it does add real value: accepted paper sizes (A4, Letter, F4/Folio, Legal), accepted units (cm/inci), and margin presets (normal, narrow, skripsi). However, it omits roughly half the parameters — section_index, page_width/height, header/footer distance, page_number_format, and different_first_page_header_footer — leaving them entirely undocumented.

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?

Names a specific verb (set/set up) and resource (page setup), and enumerates the concrete attributes it controls: paper size, orientation, margins, gutter, columns, page numbering, mirror margins. The distinction from the sibling get_page_setup_docx is implied by the set/get pairing, but never stated explicitly, so it falls short of a 5.

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 statement of when to reach for this tool versus siblings (e.g. get_page_setup_docx to read current values first, or add_section_docx when a new section is needed). The mention of presets ('normal, narrow, skripsi') hints at intended scenarios but is not framed as usage guidance.

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