Skip to main content
Glama
bagushd1
by bagushd1

add_horizontal_rule_docx

Insert horizontal rules or paragraph borders into Word .docx files with custom styles, thickness, indentation, position, and color.

Instructions

Menyisipkan garis horizontal (rule / pembatas bab) atau menambahkan garis pembatas kop surat/paragraf dengan gaya (single, double, triple, thick, thick_thin, thin_thick, thin_thick_thin, wave, dotted, dashed), ketebalan (pt), indentasi, posisi border, dan warna kustom.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorNo000000
styleNosingle
size_ptNo
alignmentNo
file_pathYes
space_after_ptNo
border_positionNobottom
paragraph_indexNo
space_before_ptNo
apply_to_existingNo
indent_left_inchesNo
indent_right_inchesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/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 behavioral burden, and it falls short. It does not state that this is a write/mutation operation on an existing file, whether the target file must already exist, what happens to surrounding content, or whether the rule is appended or inserted at a location. Only the parameter list hints at behavior.

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 front-loaded sentence that leads with the action and then enumerates options; there is no filler or repetition. It is dense but every clause maps to real parameters, so it earns its length.

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 not be described. However, for a 12-parameter mutation tool with zero annotation coverage and 0% schema coverage, key calling details are missing: where the rule is placed (paragraph_index), what apply_to_existing does, and whether the file must pre-exist. The description is not complete enough to invoke this reliably.

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% across 12 parameters, so the description must compensate. It usefully enumerates the valid style values (which the schema does not, since it declares no enums) and covers thickness, indentation, border position, and color, but leaves file_path, paragraph_index, apply_to_existing, alignment, and space_before/after_pt unexplained. Partial compensation only.

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 states a specific verb and resource: inserting a horizontal rule / chapter divider, or adding a border line to a letterhead/paragraph in a docx file. This clearly distinguishes it from sibling tools like add_page_break_docx or add_section_docx, though it never names an alternative. The enumerated style list further sharpens the purpose.

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?

Two modes are implied (insert a new rule vs. add a border to an existing paragraph/letterhead), which hints at usage, but there is no explicit when-to-use, when-not-to-use, or pointer to alternatives among the many docx siblings. An agent must infer the selection logic from the phrase 'kop surat/paragraf'.

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