Skip to main content
Glama

Insert data table rows

folio_table_insert

Adds rows to a Folio data table using verified column IDs; run the schema lookup first to avoid guessing column types or option values.

Instructions

Adds rows to a data table. Call folio_table_schema first to learn this table's REAL column ids, types and option values — never guess them from a title or prior knowledge of a similar table. Requires a write-scoped token.

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": {
      "id": "<id>",
      "rows": "<rows>"
    },
    "name": "folio_table_insert"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTable page id
rowsYesOne object per row: { columnId: value, ... }. Omitted columns get their column's default.

Output Schema

NameRequiredDescriptionDefault
rowsYesThe rows that were added, with their new ids
rowCountWarningNoSet when the table is getting large

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint false, destructiveHint false, non-idempotent, closed-world), and the description adds context not present there: a write-scoped token is required. The strong warning that guessed column ids will fail also signals failure modes. It never says whether a bad column in one row aborts the whole batch or how types are coerced, which limits it below a 5.

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, the action first and the prerequisite immediately after, with no filler. Every clause carries a usable instruction.

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?

With an output schema present, the description needn't explain return values, and it covers auth scope, the schema-first prerequisite, and row/column semantics. What remains unaddressed is batch-level failure behavior (all-or-nothing vs partial insert) and any size limits, which matter for a non-idempotent mutation.

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%, so the schema already documents both parameters, making 3 the baseline. The description adds real semantic constraint on the rows object: keys are column ids that must be discovered from folio_table_schema rather than guessed from display titles, which is meaning the schema itself does not convey.

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?

"Adds rows to a data table" gives a specific verb (adds) and resource (rows in a data table), which cleanly separates it from folio_table_add_column and folio_table_create. It stops short of explicitly contrasting with folio_table_update, which likely touches existing rows, so the sibling boundary is inferred rather than stated.

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?

It supplies a concrete prerequisite workflow: call folio_table_schema first and never infer column ids from a title or a similar table. That is actionable guidance an agent would otherwise get wrong. It does not say when to choose this over folio_table_update for modifying existing rows, so no explicit exclusion is offered.

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