Skip to main content
Glama
bagushd1
by bagushd1

add_section_docx

Add a new section to a Word .docx document to configure page orientation, columns, margins, paper size, or page numbering.

Instructions

Menambahkan section baru ke dokumen Word (misal halaman baru dengan orientasi Landscape, format 2 kolom, atau restart nomor halaman)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
gutter_cmNo
paper_sizeNo
start_typeNonew_page
orientationNo
columns_countNo
gutter_inchesNo
margin_presetNo
page_width_cmNo
top_margin_cmNo
left_margin_cmNo
page_height_cmNo
right_margin_cmNo
bottom_margin_cmNo
column_spacing_cmNo
page_number_startNo
page_width_inchesNo
top_margin_inchesNo
left_margin_inchesNo
page_height_inchesNo
page_number_formatNo
right_margin_inchesNo
bottom_margin_inchesNo
column_spacing_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.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It implies a mutating operation on an existing Word file but says nothing about whether the write is in-place, whether existing content is preserved, what permissions are needed, or how failures are handled — significant gaps for a document-mutating tool.

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 well-formed sentence that front-loads the action and then gives illustrative examples; nothing is wasted. It could arguably spend a few more words covering parameters, but as a sentence it is tight and readable.

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?

An output schema exists so return values need no explanation, but with 25 undocumented parameters, no annotations, and no usage guidance, the description is far short of what an agent needs to call this tool correctly. The int/float duplication (cm vs inches) and unit selection are never addressed.

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 description coverage is 0% across 25 parameters, so the description must compensate and largely does not. It mentions only orientation, column count, and page-number restart, leaving margins, paper size, gutters, start_type, and header/footer behavior completely undocumented anywhere.

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?

States a specific verb and resource ('Menambahkan section baru ke dokumen Word') and adds concrete examples (Landscape page, 2-column layout, page-number restart) that clarify the concept of a Word 'section'. It implicitly separates itself from add_page_break_docx by illustrating section-level properties rather than a mere break, though it never names a sibling.

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 examples hint at what a section can accomplish, but there is no statement of when to reach for this tool versus add_page_break_docx, set_page_setup_docx, or get_page_setup_docx. No prerequisites or exclusions are given, so an agent must infer the routing itself.

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