Skip to main content
Glama

Delete a data table column

folio_table_delete_column
DestructiveIdempotent

Deletes a column and all its values from a Folio Wiki data table, matching the web app's "Delete column" action. Confirm with the user first and use a write-scoped token.

Instructions

Deletes one column of a data table and every value in it, like "Delete column" in the web app (the values stay in the page history). A form field that fills this column stops being answerable: change the form with update_form. Ask the user first. 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>",
      "columnId": "<columnId>"
    },
    "name": "folio_table_delete_column"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTable page id
columnIdYesId of the column to delete (from folio_table_schema)

Output Schema

NameRequiredDescriptionDefault
deletedYesId of the deleted column

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructive and idempotent, but the description adds what the annotations cannot: values remain recoverable in page history, dependent form fields become unanswerable, and a write-scoped token is required. Those are exactly the consequences an agent needs before firing a destructive call.

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 short sentences, front-loaded with the destructive effect, then the dependent-form warning and remediation, then the prerequisite. Nothing is redundant.

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 two-parameter destructive mutation with an output schema already present, the description covers what is destroyed, recoverability, dependency fallout, next-step tool, and auth scope. No material gap remains for correct invocation.

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 coverage is 100% and both parameters are documented there, so the description adds no syntax or format detail beyond the schema. Baseline 3 applies; the mention of folio_table_schema as the source of columnId is already present in the schema itself.

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 ("Deletes one column of a data table") plus scope ("every value in it"), which cleanly separates it from folio_table_delete (whole table) and folio_table_update_column (modify in place). The web-app analogy anchors the semantics immediately.

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?

Gives clear operational guidance: confirm with the user first, and route to update_form when the column backs a form field. It stops short of the other obvious alternative (keep the column but alter it with folio_table_update_column), so the when-not is only partially covered.

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