Skip to main content
Glama
bagushd1
by bagushd1

format_text_docx

Apply font, size, color, bold, italic, underline, strike, sub/superscript, small/all caps, and highlight formatting to DOCX text.

Instructions

Mengatur jenis font, ukuran (Pt), warna teks, bold, italic, underline, strikethrough, subscript, superscript, small_caps, all_caps, dan highlight

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colNo
rowNo
boldNo
colorNo
italicNo
strikeNo
all_capsNo
file_pathYes
font_nameNo
subscriptNo
underlineNo
small_capsNo
superscriptNo
table_indexNo
target_textNo
font_size_ptNo
highlight_colorNo
paragraph_indexNo
underline_styleNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It is a mutation tool, yet it never states that it overwrites existing formatting, whether omitted attributes are left untouched or reset, or how the file must be provided. Merely listing formatting properties is not behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single, compact sentence with no wasted words, so it is appropriately sized. However it is a flat comma list with no front-loading of the operation's key constraint (that it needs a target location), so structure adds little beyond enumeration.

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?

For a 19-parameter mutation tool with 0% schema coverage and no annotations, the description is far too thin. The output schema removes the need to explain returns, but the absence of any targeting or precondition detail leaves the definition materially 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%, so all 19 parameters are undocumented in both schema and text. The description covers the formatting attributes but omits the critical targeting parameters (file_path, paragraph_index, table_index, row, col, target_text) and underline_style, leaving the agent unable to know how to select the text to format.

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 names a clear verb ('Mengatur' / sets) and enumerates the text-formatting attributes affected, so the agent understands it applies character-level formatting to text. It provides no differentiation from the sibling format_paragraph_docx, which likely overlaps in scope.

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 guidance on when to use this versus format_paragraph_docx, nor any prerequisites (open file, docx context). The list of attributes implies usage but stops short of any when/when-not instruction.

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