Skip to main content
Glama

merjax_restore_repo

Restore a deleted repository by id (from merjax_list_deleted_repos) before its restorable_until date: git data, LFS objects, issues, PRs, collaborators and webhooks come back exactly as they were. Cancelled CI runs stay cancelled and stopped webhook deliveries are not re-sent. Refused when another repository now has the same name in that namespace. Owner (personal owner, or an org owner) or a site admin; needs 'admin' scope. Audited as repo.restore. Returns {restored: true, id, full_name}.

Input Schema

NameRequiredDescriptionDefault
idYesThe deleted repository's id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Far exceeds the thin annotations (readOnlyHint=false, destructiveHint=false) by specifying exactly what is recovered (git data, LFS objects, issues, PRs, collaborators, webhooks) and, unusually, what is NOT: cancelled CI runs stay cancelled and stopped webhook deliveries are not re-sent. It also discloses the auth/scope requirement, the audit event name, and the shape of the return payload.

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?

Front-loaded with purpose, then preconditions, exceptions, permissions, and return value in a disciplined order with no filler. It is dense — eight short clauses packed into one paragraph — but every sentence carries information an agent needs, so nothing should be cut.

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 one parameter, no output schema, and minimal annotations, the description takes on the full burden and covers restoration scope, partial-state behavior, failure mode, authorization, audit trail, and return shape. Nothing material is missing for an agent to decide and invoke correctly.

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 100% on the single required 'id', so the schema already carries the mechanical definition; the description still adds real value by stating the id's provenance (from merjax_list_deleted_repos) and tying it to the deleted repo's identity. This is provenance beyond what the schema says, so it sits above the coverage-based baseline of 3.

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?

Opens with a specific verb+resource ('Restore a deleted repository by id') and immediately distinguishes itself by naming the sibling that produces the id (merjax_list_deleted_repos). An agent can separate this from merjax_delete_repo, merjax_purge_repo, and merjax_update_repo without opening any 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?

Gives clear preconditioning: the id must come from merjax_list_deleted_repos and the call must happen before restorable_until, plus the requester must be an owner/site admin with 'admin' scope. It also states the refusal condition (name collision). The only gap is that it does not explicitly contrast with purge_repo or a fresh create/import path for a repo past its restorable window.

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