Skip to main content
Glama
notion-full-mcp
by cphoskins

insert_table_row

Insert a new row into an existing Notion table, supplying cell values that match the table width and optionally placing it 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 3-column table: '["Widget", "In stock", "42"]' after_row_id: Optional row ID to insert after. If empty, append to end.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "table_id": "<table_id>",
      "cells_json": "<cells_json>"
    },
    "name": "insert_table_row"
  }
}

Input Schema

NameRequiredDescriptionDefault
table_idYes
cells_jsonYes
after_row_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare a non-destructive, open-world write operation, so the safety profile is covered. The description adds genuine value beyond them by stating the row-width validation rule and the append-to-end fallback when after_row_id is empty, though it never says what happens if the width check fails.

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?

Front-loaded with the single-sentence purpose, then the critical constraint, then a structured Args block. Every line is functional; the format example earns its space because the cells_json encoding is non-obvious from the schema.

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?

An output schema exists, so return values need no explanation, and all three parameters plus the validation rule are documented. The only gap is failure behaviour on a width mismatch, which an agent would want to know to handle errors.

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?

Schema description coverage is 0%, so the description carries the full burden and does so: table_id is identified as a table block ID, cells_json is given a precise element grammar with a worked 3-column example, and after_row_id is explained including its empty-string fallback. This adds meaning well beyond the bare schema types.

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?

Names a concrete verb ('Insert') and resource ('a new row into an existing table'), which is clearly distinct from update_table_cell or insert_blocks_after by resource alone. It stops short of explicitly contrasting itself with those siblings, so a reader must infer the boundary rather than being told.

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?

Implied usage is clear from the verb and resource, and the width-matching constraint effectively tells the caller the precondition for a valid call. However, there is no explicit 'use this instead of X when...' guidance against the neighbouring cell-update or block-insert tools.

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