Skip to main content
Glama

gluecron_restore_repo

Restore a deleted repository by id (from gluecron_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.7/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: exactly what is restored (git data, LFS objects, issues, PRs, collaborators, webhooks), what is deliberately not re-run (cancelled CI, stopped webhook deliveries), the name-conflict refusal, required permissions ('admin' scope, owner or site admin), and the audit record repo.restore. All consistent with readOnlyHint=false / destructiveHint=false.

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?

Dense but disciplined: purpose and source-of-id first, then restoration semantics, then constraints/auth, closing with the return shape. Every clause carries operational information 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?

Although no output schema exists, the description states the return payload ({restored: true, id, full_name}) and covers preconditions, permissions, refusal behavior and audit logging, leaving nothing an agent would need to invoke it 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% with a single 'id' parameter, so the baseline is 3; the description earns extra credit by naming where the id originates (gluecron_list_deleted_repos) and the deadline that makes it valid, which the schema does not convey.

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 specific verb ('Restore a deleted repository') and resource ('by id'), and distinguishes itself from siblings gluecron_list_deleted_repos (source of the id), gluecron_delete_repo and gluecron_purge_repo by making clear this reverses a deletion rather than performing one.

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 the precondition that the id must come from gluecron_list_deleted_repos and that the restore must occur before the restorable_until deadline, plus the refusal condition when the name is taken. It does not explicitly contrast against a permanent alternative (purge), so it stops just short of 5.

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