Skip to main content
Glama

add_column_to_table

Add a new column to every row of a table, with the first cell set to a specified header text.

Instructions

Add a new column to every row of a table. First row gets header_text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
table_idxYes
header_textNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries full burden. It states that a new column is added to every row and the first row gets the header_text. However, it does not disclose potential side effects (e.g., default values for new cells, or the column position addition). For a simple mutation, this is adequate but could be more explicit.

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?

The description is two sentences with no redundant information. It is front-loaded with the main action. Every word is necessary and adds value.

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?

The tool is simple and the description covers the basic action. An output schema exists (not shown) so return values need not be described. However, it does not mention where the new column appears (e.g., appended to the right) or any constraints (e.g., table must exist). Still, it is mostly complete for its simplicity.

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 only partially explains header_text ('First row gets header_text') and does not explain table_idx at all. The meaning of header_text as the column header is implied but not stated for the other rows. The default value and optionality are not mentioned.

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 action (add a new column) and the target (every row of a table). It also specifies how the first row gets the header_text, which differentiates it from siblings like add_table_row or delete_column_from_table. The verb and resource are specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use this tool: when you need to add a column to an existing table. There is no explicit 'when not to use' or alternative mentioned, but the sibling tools make it clear that there is no direct alternative for adding a column. The context is clear enough.

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/SecurityRonin/docx-mcp'

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