Skip to main content
Glama

tabularia_archive_drafts

Destructive

Preview or confirm archive of up to 20 Drafts by stable draftIds in one named Project. Supply a reusable requestId. Call without confirmationToken, show the listed Drafts and parent changes to the Writer, then repeat with the returned token after confirmation. The token binds the caller and exact workspace for ten minutes. Base, showing, merging, review-held, missing, or foreign targets are refused. Archiving reparents active children through Studio's existing hierarchy rules; affected children are checked too. At most 200 changed rows and 1 MB of recovery data. Publication is atomic. Retain requestId on retries; tokenless retries remain read-only and an undone action is never reapplied. The actionId supports targeted tabularia_undo_action in the same connector. Restore makes archived Drafts available again; undo additionally restores parent relationships recorded by the original action. Writing, scopes, and lock state are preserved. A hosted receipt does not confirm device application.

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": {
      "project": "<project>",
      "requestId": "<requestId>",
      "draftIds": "<draftIds>"
    },
    "name": "tabularia_archive_drafts"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesWhich Project to use, by title, id, or the Studio address the Writer sees (a tabularia.app/studio/ URL or its six-character code — the Writer’s tab URL is enough; there is no need to look at the page). Always name it, even when only one Project is open.
draftIdsYes
requestIdYes
confirmationTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, so the mutation risk is known; the description then adds genuinely non-structured behavior: a ten-minute caller/workspace-bound token, hierarchy reparenting with child checks, 200-row/1 MB limits, atomic publication, and retry idempotency semantics. It stops short of describing the response shape concretely (what fields the preview returns) and the 'hosted receipt does not confirm device application' caveat is stated so tersely that its operational meaning is unclear.

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

Conciseness3/5

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

The main action and the no-token/with-token workflow are front-loaded, which is good structure, but the prose becomes telegraphic in places ('Base, showing, merging, review-held, missing, or foreign targets are refused') and crams limits, retry rules, and receipt caveats into a single dense block. Information density is high, yet several clauses read like compressed notes rather than guidance an agent can act on.

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

Completeness3/5

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

For a destructive batch mutation with no output schema and low schema coverage, the description covers the two-step confirmation model, safety limits, and undo linkage well. What is missing is a concrete account of what the preview returns (field names for listed Drafts, parent changes, and the token) and how partial refusals among a batch of draftIds are reported, which an agent needs to handle the response correctly.

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 only 25%, with three of four parameters carrying no schema text, so the description must compensate and does partly: it explains that requestId is reusable and must be retained on retries, that draftIds are stable identifiers capped at 20, and that confirmationToken comes from the preview call. It never states the requestId/token format constraints already in the schema, and requestId uniqueness scope is left implicit.

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 states a specific verb+resource+scope: preview or confirm archiving of up to 20 Drafts identified by stable draftIds within one named Project. The 'up to 20' bound implicitly separates it from the singular tabularia_archive_draft sibling without naming it, and it explicitly points to tabularia_undo_action and distinguishes restore from undo. A named contrast with the single-draft tool would have made it 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 Guidelines5/5

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

It gives an explicit two-phase procedure: call without confirmationToken, show the listed Drafts and parent changes to the Writer, then repeat with the returned token after confirmation. It states refusal conditions (base, showing, merging, review-held, missing, foreign targets) and routes undo/restore to the right alternatives, leaving little to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources