Skip to main content
Glama

Delete data table rows

folio_table_delete
DestructiveIdempotent

Deletes specified rows from a Folio Wiki data table by table ID and row IDs; requires a write-scoped token.

Instructions

Deletes rows from a data table by id. 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>",
      "rowIds": "<rowIds>"
    },
    "name": "folio_table_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTable page id
rowIdsYesRow ids to delete

Output Schema

NameRequiredDescriptionDefault
affectedYesRows deleted

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?

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered structurally. The description adds the auth requirement, which is real added value, but is silent on batch size limits, partial-failure behavior, and what happens when a row id does not exist.

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 short sentences with the core action front-loaded and the prerequisite second; nothing is redundant or padded.

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?

An output schema exists, both required parameters are documented, and annotations cover the destructive/idempotent profile, so an agent has enough to invoke it correctly. The gap around partial deletion on a list of row ids is minor but worth noting for a destructive batch operation.

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 both parameters are documented with their meanings ("Table page id", "Row ids to delete"), so the schema carries the load. The phrase "by id" in the description aligns with the schema but adds no syntax or constraint detail beyond it.

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?

States a specific verb and resource ("Deletes rows from a data table by id") that clearly separates it from sibling operations on columns, views, or whole tables. It stops short of explicitly naming a sibling alternative, so a 4 rather than a 5.

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?

The only usage condition given is the prerequisite "Requires a write-scoped token," which usefully signals the auth class needed. There is no guidance on when to choose this over folio_table_update or how to handle targeted row removal versus column/view deletion.

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