Skip to main content
Glama

delete_records

Deletes up to 10 records from a datasheet by specifying the datasheet ID and record IDs, with optional confirmation for destructive actions.

Instructions

Delete up to 10 records from a datasheet.

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": {
      "datasheetId": "<datasheetId>",
      "recordIds": "<recordIds>"
    },
    "name": "delete_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
recordIdsYes
datasheetIdYesDatasheet ID, usually starts with dst.
confirm_destructiveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations only declare readOnlyHint=false and openWorldHint=false, so the description carries the burden of explaining destructive behavior. It does not say the deletion is permanent/irreversible, what happens on partial failure, or how confirm_destructive affects execution, and the "up to 10" limit merely restates the schema's maxItems=10.

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?

A single well-formed sentence with the resource and the batch limit front-loaded and no filler. It is efficient, though the brevity reflects under-specification rather than disciplined economy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, batch-capable tool with no output schema and a safety flag not described in the schema, the definition is too thin. An agent cannot tell whether confirm_destructive must be set, whether deletes are reversible, or what a returned result indicates.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33% (just datasheetId, which notes the "dst" prefix). The description does not explain recordIds format or, more importantly, the unannotated confirm_destructive flag — a significant omission for a destructive operation whose safety gate is undocumented in both schema and description.

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 ("Delete ... records from a datasheet") plus the batch cap, which separates it from siblings like delete_fields, delete_view, or delete_a_member. It does not explicitly name a contrasting alternative, but the resource is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of prerequisites (permissions, whether the datasheet must be unlocked), and no routing to alternatives such as update_records or delete_fields. Usage must be inferred entirely from the name and one sentence.

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