Skip to main content
Glama
mjyoo2
by mjyoo2

set_page_border

Set page border and fill color in HWP documents by specifying border color, width, and background fill.

Instructions

Set page border and fill color.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
doc_idYes
fill_colorNo
border_colorNo
border_widthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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 of behavioral disclosure. It only states that the tool 'set's' page border and fill color, but does not explain how null values affect existing settings, whether the border is additive or replacing, or any side effects. This is a significant gap for a mutating operation.

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 a single, focused sentence with no redundant wording. It front-loads the action and resource, making it easy to parse, though the brevity sacrifices useful detail.

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?

Even though the tool has an output schema and a small parameter set, the description lacks crucial invocation context: parameter semantics, null behavior, and relationship to other page-styling tools. An agent cannot confidently determine how to supply colors or widths, so the definition is incomplete.

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%, and the description only mentions 'border and fill color,' which maps loosely to border_color and fill_color but ignores doc_id and border_width. It does not explain color format, width units, default behavior, or null semantics, so it fails to compensate for the absence of schema-level descriptions.

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 uses a specific verb and resource: 'Set page border and fill color.' This clearly identifies the operation and object, and it is distinguishable from sibling tools like set_table_border_adv or set_page_style by focusing on the page border and fill. It does not explicitly name a sibling to differentiate from, so it misses a perfect score.

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 description provides no guidance on when to use this tool versus alternatives such as set_page_style, set_section_definition, or set_watermark. There are no exclusions, prerequisites, or contextual hints beyond the action itself, leaving the agent to infer usage from the name.

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/mjyoo2/hwp-mcp'

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