Skip to main content
Glama

Restore project

restore_project
Idempotent

Bring back a deleted project and its clips and files; locate deleted projects with list_deleted, and note restoration is refused when the account is at its live project cap.

Instructions

Bring back a deleted project with its clips and files (find it with list_deleted or list_projects deleted: true); restoring a project that is not deleted changes nothing. Refused if the account is already at its live project cap. A project that was processing comes back failed: retry_project resumes it. Returns { changed, status }.

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": {
      "id": "<id>"
    },
    "name": "restore_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProject id (from list_projects with deleted: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.7.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond idempotentHint, it discloses the no-op outcome, the live-project-cap precondition for refusal, and the surprising post-restore state (a processing project comes back failed) with the follow-up tool named. Because there is no output schema, stating the { changed, status } return shape is genuinely load-bearing.

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?

Four tight sentences, front-loaded with the action, then preconditions, then the edge case, then the return shape. Every clause carries new information and nothing is redundant.

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?

For a one-parameter mutation with only an idempotency annotation and no output schema, the description covers discovery, idempotent behavior, refusal conditions, the failed-restore edge case, and the response shape. Nothing an agent needs to call it correctly is missing.

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?

The schema already documents the single id parameter at 100% coverage, and the description's parenthetical about getting it from list_projects with deleted: true largely repeats the schema text. No additional format or constraint information is supplied, so the baseline 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?

"Bring back a deleted project with its clips and files" states a specific verb plus resource and spells out the restored payload, which cleanly separates it from restore_asset/restore_clip siblings. An agent can tell what this does without opening the 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 names exactly how to locate a candidate (list_deleted or list_projects with deleted: true), states the no-op case for a project that is not deleted, states the account-cap refusal, and routes the processing-failed case to retry_project. Usage, exclusions and the alternative are all explicit.

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

Deploy Server

Other Tools