Skip to main content
Glama
cphoskins
by cphoskins

insert_table_row

Add a new row to a Notion table by providing cell values that match the table's column count, optionally inserting after a specific row.

Instructions

Insert a new row into an existing table.

The number of cells must match the table's existing width.

Args: table_id: The table block ID. cells_json: JSON array. Each element is either: - a plain string (single text segment) - a list of strings (multi-segment plain text in one cell) Example for a 4-column table: '["SMB", "$15K", "$0.015", "$80k - $300k"]' after_row_id: Optional row ID to insert after. If empty, append to end.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
table_idYes
cells_jsonYes
after_row_idNo

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 should disclose behavioral traits. It mentions the required cell count constraint and cell format but omits side effects (e.g., row shifting), permissions needed, or behavior on invalid table_id.

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 concise with two paragraphs, starting with purpose and then an organized 'Args' section. Every sentence adds value without redundancy.

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 an output schema exists, the description need not explain return values. It covers the core constraint and parameter formats but lacks error handling or edge cases. Overall sufficient for a straightforward insertion tool.

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?

The description adds substantial meaning beyond the schema (0% coverage): it defines table_id as the block ID, describes cells_json with examples and format, and explains after_row_id's use. This compensates for the lack of schema descriptions.

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 'Insert a new row into an existing table', specifying a precise verb and resource. Among sibling tools, it distinguishes itself from update_table_cell and other insert tools.

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 explains the constraint that the number of cells must match the table's width and describes the optional after_row_id parameter. However, it does not explicitly provide when-not-to-use scenarios or name alternative tools.

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/cphoskins/notion-full-mcp'

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