Skip to main content
Glama
bagushd1
by bagushd1

set_cell_margins_docx

Set internal cell padding in Word tables by specifying margins in points for a specific cell or the entire table, so you can control spacing within cells.

Instructions

Mengatur padding/margin internal sel (dalam satuan pt). Berlaku untuk sel spesifik ([row, col]) atau seluruh tabel jika row/col tidak diisi

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colNo
rowNo
top_ptNo
left_ptNo
right_ptNo
bottom_ptNo
file_pathYes
table_indexYes

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?

No annotations are provided, so the description carries the full burden. It discloses the whole-table-vs-single-cell fallback and the pt unit, but says nothing about persistence (whether the file is written to disk), permission requirements, or how unspecified edges interact with the schema defaults.

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?

Two tight sentences: purpose first, scoping rule second. No filler, though it could be marginally more structured by grouping the parameter semantics.

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 needn't be described, but this is an 8-parameter mutation tool with zero annotation coverage and zero schema descriptions. The description covers only row/col scoping and units, leaving most parameters and mutation side effects undocumented.

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 8 parameters, so the description must compensate and largely does not. It clarifies row/col semantics and the pt unit, but leaves top_pt/left_pt/right_pt/bottom_pt, file_path, and table_index unexplained, and never states the default padding values.

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+resource: setting a cell's internal padding/margin, with the unit (pt) given. It clearly differs from siblings like set_cell_shading_docx or set_cell_alignment_docx by naming the exact formatting attribute, though it never explicitly contrasts with them.

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?

It explains scoping behavior (a specific [row, col] cell, or the whole table when row/col are omitted), which is real usage guidance for the parameters. However there is no when/when-not guidance relative to alternatives and no prerequisites (e.g. table must exist, file must be writable).

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