Skip to main content
Glama

hedwigai

Bring back a deleted workbook

restore_workbook
Idempotent

Brings back a workbook that delete_workbook took out of the list: the same folder, the same name, every version as it was. Refused when another workbook in that folder now has its name; rename that one first.

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": {
      "workbook": "<workbook>"
    },
    "name": "restore_workbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
workbookYesThe id delete_workbook answered with.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly=false, idempotent=true, destructive=false) by disclosing restoration fidelity — same folder, same name, every version — and a specific refusal mode with a prerequisite fix. That failure-mode disclosure is exactly what an agent needs before calling a restore operation.

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 sentences, zero filler: the restore semantics come first, the constraint and fix second. Every clause carries information an agent would otherwise have to guess.

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 one-parameter, non-destructive restore with full schema coverage, the description covers what is restored and when it fails. The only gap is the return value (e.g., the restored workbook id or object), which matters slightly since there is no output schema.

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 coverage is 100% and the single parameter already documents itself as 'The id delete_workbook answered with'; the prose adds no further format or sourcing detail. Baseline 3 is appropriate when the schema carries the parameter semantics.

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?

Uses a specific verb ('Brings back') plus resource ('a workbook') and anchors it to the sibling that removes it ('that delete_workbook took out of the list'), making the restore-vs-delete distinction unambiguous without opening another schema.

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?

Usage context is clear: this is the inverse of delete_workbook and applies to a workbook previously removed from the list. It also states the one blocking condition (name collision in the same folder) plus the remediation ('rename that one first'), though it doesn't point to a concrete tool for that rename step.

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.