Skip to main content
Glama

tabularia_restore_drafts

Destructive

Preview or confirm restore 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_restore_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

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, and the description goes well beyond them: token binding to caller and workspace for ten minutes, child reparenting via Studio hierarchy rules, 200-row/1 MB recovery limits, atomic publication, never reapplying an undone action, and the caveat that a hosted receipt does not confirm device application. That is unusually rich disclosure for a destructive mutation.

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?

Purpose and the preview-then-confirm flow are front-loaded, and nearly every clause carries operational information (limits, refusals, retry semantics). It is a dense block without paragraph breaks or list structure, and trailing items like the receipt caveat are compressed to the point of being terse, which costs a little readability.

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?

With no output schema, four parameters, and destructive semantics, the description covers everything an agent needs: the confirmation handshake, refusal conditions, size limits, atomicity, undo relationship, retry idempotency, and what restore preserves (writing, scopes, lock state). Nothing material is left unstated for a tool of this complexity.

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

Parameters4/5

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

Schema coverage is only 25% (project alone), so the description must compensate, and it largely does: requestId is described as reusable and to be retained on retries, confirmationToken as a time-bounded binding to caller and workspace, draftIds as stable identifiers limited to 20 with refusal states enumerated. It stops short of format/syntax detail for the identifiers, so a 4 rather than a 5.

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?

The first sentence states a specific verb pair and resource: 'Preview or confirm restore of up to 20 Drafts by stable draftIds in one named Project.' It also scopes the operation (20 drafts, one project) and names the related sibling tabularia_undo_action, so an agent can distinguish it from archive/undo tools without opening a schema.

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-step protocol: call without confirmationToken, show the listed Drafts and parent changes to the Writer, then repeat with the returned token after confirmation. It also states retry behavior (retain requestId; tokenless retries are read-only) and lists the target states that are refused (base, showing, merging, review-held, missing, foreign), 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