Skip to main content
Glama

When Works For You

Restore an archived event

restore_event
Idempotent

Brings an archived event (an id from list_events with archived:true) back to the live list — the dashboard's own "Restore". An event whose dates are all past is archived again by the nightly sweep; add a future date to keep it. Sends nothing itself, but a restored open autopilot event rejoins the automatic reminders to guests who haven't answered, so restoring one needs the send permission too; any other event needs only the write permission.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
event_idYesAn archived event's id, from list_events with archived:true

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
event_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the permission model (send permission required for a restored open autopilot event, write permission otherwise), explains that the tool sends nothing itself yet rejoins automatic reminders, and documents the nightly re-archiving side effect. These are exactly the behaviors an agent cannot infer from readOnly/destructive/idempotent hints.

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?

The core action is front-loaded in the first clause, followed by genuinely load-bearing caveats about re-archiving and permissions. Every sentence adds a decision-relevant fact with no filler.

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 an output schema present, return values need no explanation, and the description supplies the remaining operational context an agent needs: id source, permission requirements, and the re-archiving quirk. Nothing material is missing for a one-parameter restore 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 the single event_id parameter is fully documented in the schema. The description restates the id's source but adds no new syntax or format detail beyond what the schema already provides, so the baseline 3 applies.

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?

States a precise verb+resource ('Brings an archived event back to the live list') and anchors it to the dashboard's own 'Restore'. It is clearly distinguishable from the sibling archive_event (the inverse operation). No schema opening is needed to understand what it does.

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?

Tells the agent exactly which id to supply (from list_events with archived:true) and warns that events with all-past dates get re-archived by the nightly sweep unless a future date is added. It does not name alternative tools explicitly, but the context is unambiguous for an agent choosing between archive/restore operations.

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