Skip to main content
Glama

set_table_borders

Set table borders with per-side control. Choose style, size, and color for each border to customize document tables.

Instructions

Set borders for a table with per-side control.

Args: table_index: Index of the table to modify top: Top border style bottom: Bottom border style left: Left border style right: Right border style inside_h: Inside horizontal border style inside_v: Inside vertical border style size: Border thickness (default 4) color: Border color as hex without # (default "000000")

Border styles: 'single', 'double', 'dotted', 'dashed', 'none'

Returns: Success or error message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNo
leftNo
sizeNo
colorNo000000
rightNo
bottomNo
inside_hNo
inside_vNo
table_indexYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description bears full responsibility for behavioral disclosure. It states the tool sets borders and returns a message, but it does not clarify whether existing borders are overridden or merged, whether multiple calls are safe, or if there are side effects on other table properties. The parameter defaults suggest partial updates, but this is not explicitly stated, leaving some ambiguity.

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 well-structured with an Args list and a separate border styles enumeration. The first sentence clearly states the purpose. While the parameter list is lengthy, each item is necessary. There is minimal redundancy, and the information is logically organized.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 9 parameters (only 1 required) and the presence of an output schema (implied by context), the description covers all aspects: parameter semantics, acceptable values, defaults, and expected return. It does not explain behavior when multiple sides are left unspecified, nor does it provide examples, but it is sufficient for basic usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 0% schema description coverage, the tool description provides detailed explanations for all 9 parameters, including their purpose (e.g., 'Top: Top border style'), default values, valid border styles ('single', 'double', 'dotted', 'dashed', 'none'), and formatting notes (color as hex without #). This fully compensates for the schema's lack of descriptions and adds significant value for correct invocation.

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 clearly states the tool sets borders for a table with per-side control using specific verbs ('set') and resource ('table'). It highlights the unique per-side control feature, distinguishing it from other table formatting tools. However, it does not explicitly contrast with sibling tools like apply_table_alternating_rows or set_table_cell_shading, but the capability is implied.

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. It does not mention prerequisites (e.g., the table must already exist), nor does it specify cases where this tool is preferred over other border-related tools. Without such context, agents may misuse the tool.

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/rofiqcp/mcp-dokumen'

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