Skip to main content
Glama

Delete a data table view

folio_table_delete_view
DestructiveIdempotent

Deletes a single view (tab) from a data table without altering its rows; cannot remove the last remaining view.

Instructions

Deletes one view (tab) of a data table; the rows are not touched. The last view of a table cannot be deleted. 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>",
      "viewId": "<viewId>"
    },
    "name": "folio_table_delete_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTable page id
viewIdYesId of the view to delete (from folio_table_schema)

Output Schema

NameRequiredDescriptionDefault
deletedYesId of the deleted view

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuinely new behavioral facts: only the view is removed and rows survive, the last-view deletion is rejected, and a write-scoped token is required. It does not state whether the deletion is reversible or what a rejection returns, but those gaps are modest given annotation and output-schema coverage.

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 clauses, front-loaded with the core action, then the non-destructive scope, then the failure constraint and auth requirement. No sentence is redundant.

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?

For a two-parameter destructive mutation, the description covers scope, the key failure condition, and auth, while annotations and an output schema handle the rest. A note on reversibility or the effect on remaining views' ordering is the only notable omission.

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%, with 'id' documented as the table page id and 'viewId' pointing back to folio_table_schema as the source. The description adds no syntax or sourcing detail beyond the schema, so the baseline 3 applies.

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 names a specific verb and resource ('Deletes one view (tab) of a data table') and immediately scopes it with 'the rows are not touched', which separates it from a whole-table delete. It stops short of naming a sibling tool explicitly, so differentiation 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 gives clear usage context by stating the hard constraint that the last view of a table cannot be deleted, which tells the agent when the call will fail. It does not point to alternatives (e.g. rename or re-create a view) or explain preconditions beyond the token scope.

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