Skip to main content
Glama

add_table

Insert a formatted table with bold headers and standard cell borders into an existing Word document. Append the table at the end of the document.

Instructions

Insert a formatted table into an existing .docx document. The table is appended at the end of the document with bold header row and standard cell borders.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesPath to the existing .docx file
headersYesColumn header labels (e.g., ["Name", "Role", "Department"])
rowsYes2D array of table data. Each inner array is one row and must match the number of headers. Example: [["Alice", "Engineer", "Tech"], ["Bob", "Designer", "UX"]]
Behavior4/5

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

Without annotations, the description discloses key behaviors: table is appended, header row is bold, standard borders. It does not cover error handling or prerequisites, but the main behavior is well communicated.

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

Conciseness5/5

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

Two sentences with no wasted words. First sentence states the core purpose, second adds specific formatting details. Highly efficient.

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?

For a simple mutation tool with no output schema, the description covers essential behavior (append, formatting) and parameter semantics. It lacks error or return information but is largely complete given the tool's simplicity.

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

Parameters4/5

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

Schema coverage is 100% and descriptions are present for all parameters. The tool description adds context about formatting (bold header, borders) that is not in the schema, adding value beyond the baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Insert' and resource 'formatted table into an existing .docx document'. It specifies the behavior (appended at end, bold header, standard borders) and distinguishes from siblings like add_section and create_document.

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?

The description implies usage for adding tables to existing .docx files but does not explicitly state when not to use it or provide alternatives. It is adequate but lacks explicit guidance compared to siblings.

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/mdfifty50-boop/docx-forge-mcp'

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