Skip to main content
Glama

Add a data table column

folio_table_add_column

Adds a new column to a Folio data table, including its type and select/status options, so you can extend table structure with a write-scoped token.

Instructions

Adds a new column to a data table, with its type and (for select/status) its options. The column id is derived from name unless columnId is given. 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>",
      "name": "<name>",
      "type": "<type>"
    },
    "name": "folio_table_add_column"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTable page id
nameYesColumn title
timeNodate columns: also store the time of day
typeYesColumn type
alignNoCell text alignment
widthNoColumn width in pixels (60-1200)
defaultNoValue a new row gets when it omits this column
optionsNoselect and status columns: the allowed values, each { value, color?, description? }
columnIdNoExplicit column id ([a-z0-9_]{1,32}); auto-derived from `name` when omitted
multipleNoselect or user columns: allow several values per cell
precisionNonumber columns: digits after the decimal point (0-6)
allowCreateNoselect columns: allow a value that is not among the options
descriptionNoHint shown in the column header

Output Schema

NameRequiredDescriptionDefault
idYesColumn id — what the folio_table_* tools take as a key
nameYesColumn title
typeYesColumn type (text, number, select, status, date, checkbox, ...)
optionsNoAllowed values of a select or status column
descriptionNoHint shown in the column header

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the mutation and non-idempotency profile is covered structurally. The description adds the auth requirement (write-scoped token) and the id-derivation rule, but says nothing about what happens on a name collision, whether options are mandatory for select/status, or duplicate-call behavior that non-idempotency implies.

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, both front-loaded with the most important facts (what it creates, what the payload carries, the auth prerequisite). No filler, no redundancy, and the key qualifier for select/status appears inline rather than buried.

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, return values need not be explained, and the schema carries all 13 parameters at full coverage. The description covers purpose, payload shape, and auth, leaving only edge-case behavior (duplicate column names, required options for select types) unspecified — a minor gap for a create tool of this shape.

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%, so all 13 parameters are already documented in the schema, including id, name, type, options, and columnId. The description's parameter content ('with its type and (for select/status) its options' and the columnId derivation) restates what the schema already says rather than adding constraint interactions or defaults.

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?

The description uses a specific verb and resource ('Adds a new column to a data table') and scopes the payload ('with its type and (for select/status) its options'). It does not name or distinguish itself from folio_table_update_column or folio_table_delete_column, so the agent must infer the boundary from the verb alone.

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?

Usage is only implied by the verb 'Adds' — an agent can guess that modifying an existing column is folio_table_update_column's job, but nothing states this. A prerequisite is given ('Requires a write-scoped token'), which is useful, but there is no explicit when/when-not guidance or named alternative.

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