Skip to main content
Glama

Update data table cells

folio_table_update
DestructiveIdempotent

Update table cell values for one row by ID or all rows matching a filter with a required limit. Call the schema first to confirm real column IDs and types.

Instructions

Updates cell values in a data table, either one row by id, or every row matching a filter (filter usage REQUIRES limit, as a guard against an unbounded bulk edit). 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>",
      "values": "<values>"
    },
    "name": "folio_table_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTable page id
limitNoRequired together with `filter`, as a guard against an accidental unbounded bulk edit
rowIdNoUpdate exactly this row
filterNoUpdate every row matching this filter instead of one rowId — requires `limit`
valuesYes{ columnId: newValue, ... } — only listed columns change

Output Schema

NameRequiredDescriptionDefault
idNoId of the updated row (update by rowId)
valuesNoThe row after the update (update by rowId)
affectedNoRows changed (update by filter)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered by structured data. The description adds value beyond that by explaining the reason for the limit guard (protection against unbounded bulk edit) and the auth requirement ("Requires a write-scoped token"). It does not spell out what happens to unmatched rows or how many rows a bulk edit typically affects, which keeps it just short of 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?

Three sentences, each carrying distinct load: what it does, the hard guard, the prerequisite schema lookup, and the auth requirement. The critical constraint (filter requires limit) is front-loaded in the first sentence rather than buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive five-parameter mutation with a nested filter object, the description covers the essential gaps: prerequisite discovery of real column ids, the bulk-edit guard, and token scope. An output schema exists, so return values need not be explained.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema already documents the id/limit/rowId/filter/values fields including the filter-requires-limit coupling and the merge semantics of values. The description reinforces those points but adds no new syntax or format detail beyond what the schema provides, so the baseline 3 applies.

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?

States a specific verb and resource ("Updates cell values in a data table") and immediately enumerates the two supported targeting modes, one row by id or all rows matching a filter. An agent can distinguish this from folio_table_update_column, folio_table_insert, and folio_table_delete purely from the description text.

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

Usage Guidelines5/5

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

Gives explicit prerequisites ("Call folio_table_schema first") plus a concrete exclusion ("never guess them from a title or prior knowledge of a similar table"). It also states the constraint that filter mode REQUIRES limit, which effectively routes the agent between the two invocation patterns.

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