Skip to main content
Glama
bagushd1
by bagushd1

set_cell_text_direction_docx

Set a DOCX table cell's text direction to horizontal, rotated 90° upward, or rotated 270° downward by specifying the table index, row, and column.

Instructions

Mengatur arah orientasi teks sel ('horizontal', 'bt_lr' untuk rotasi 90 derajat ke atas, atau 'tb_rl' untuk rotasi 270 derajat ke bawah)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colNo
rowNo
directionNobt_lr
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.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it does not state that the document is modified in place, whether the file must already exist, whether changes are saved, or that row/col targeting affects which cells are changed. It conveys the visual effect of each direction but nothing about side effects or requirements.

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 with a compact parenthetical for the option values; little waste, though the rotation phrasing is slightly redundant.

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 5-parameter mutation tool with no annotations and 0% schema coverage, the description is far short of complete: it explains direction values but not cell targeting (row/col) or persistence behavior. The output schema exists, so return values need not be described.

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 the description must compensate. It clarifies only the 'direction' parameter (one of five), and even then gives no enum constraint on the schema. The nullable row/col targeting and file_path/table_index semantics are entirely undocumented.

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 ('Mengatur arah orientasi teks sel' = set cell text orientation) that is clearly distinct from siblings like set_cell_alignment_docx or set_cell_shading_docx. It also enumerates the direction values, though it does not explicitly contrast itself against any 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?

No when-to-use guidance, no prerequisites, no alternatives named. The description only explains the direction values, leaving the agent to infer context on its own.

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