Skip to main content
Glama

Create or change a data table view

folio_table_save_view
Destructive

Creates or updates a table view tab, setting its filter, sort, hidden columns and column order. Call folio_table_schema first to confirm real column ids.

Instructions

Creates a view (a tab of a data table: its own filter, sort, hidden columns and column order) or changes one, like the view tabs in the web app. Without viewId a new view is added (name required); with it only the fields you give change. filter and sort use the same shapes as folio_table_query. 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>"
    },
    "name": "folio_table_save_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTable page id
nameNoTab name; required to create
sortNoSort order: [{ column, dir }]
filterNoRows the view shows: { op: "and"|"or", rules: [{ column, operator, value? }] }
frozenNoColumns frozen at the left (0-4)
viewIdNoView to change (from folio_table_schema); omit to create a view
rowHeightNoRow height
columnOrderNoColumn ids in the order the view shows them
hiddenColumnsNoColumn ids the view hides

Output Schema

NameRequiredDescriptionDefault
viewYesThe view after the call: filter, sort, columns (hidden, order), frozen, rowHeight
createdYesTrue when a new view was added

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description adds real context beyond them: partial-update semantics ('with it only the fields you give change'), the create-vs-update trigger, and the auth requirement ('Requires a write-scoped token'). It does not warn about blast radius — e.g. that editing a shared view changes it for other users — which is the main remaining gap for a destructive tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and definition, then mode selection, then cross-tool shape compatibility, then the prerequisite and auth note. Dense but every sentence carries information; the parenthetical definition of a view is the only slightly heavy element.

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?

Covers mode selection, prerequisite dependency, auth scoping, and cross-tool format compatibility, while the 100%-covered schema handles parameter detail and an output schema handles returns. Nothing an agent needs in order to call this correctly is missing.

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 baseline is 3, and the description adds meaning on top: viewId's dual role, name's conditional requirement, and that filter/sort reuse the shapes from folio_table_query while column ids must come from folio_table_schema. The nested filter/sort structures are left to the schema, which already documents them well.

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 ('Creates a view ... or changes one') and immediately defines what a view is (its own filter, sort, hidden columns, column order). The create-vs-modify branch is tied to a concrete parameter (viewId), so an agent can tell exactly which mode it is entering.

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?

Explicitly says omit viewId to create (name required) and supply it to patch only the given fields, plus a strong prerequisite: 'Call folio_table_schema first ... never guess them.' It does not name a sibling tool for the adjacent case (e.g. deleting a view), so alternatives are implied rather than fully enumerated.

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