Skip to main content
Glama

gluecron_delete_repo

Destructive

Delete a repository — a SOFT delete (2026-10-19): it disappears at once from git, web, REST, MCP, CI, webhooks, search and pages, its name stays reserved, and it can be restored with gluecron_restore_repo until restorable_until (90 days by default). Queued/running CI is cancelled and pending webhook deliveries are stopped. Only the repository OWNER (the personal owner, or an org owner for an org repository) or a site admin may — admin collaborators and org admins are refused, as in the web UI. Requires 'admin' token scope. Audited as repo.delete; the owner is notified. To remove it for good before then, use gluecron_purge_repo. Returns {deleted: true, soft: true, id, restorable_until}.

Input Schema

NameRequiredDescriptionDefault
repoYesRepo name
ownerYesRepo owner — username or organisation slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / owner / description
      Previous value: -"Repo owner username"New value: +"Repo owner — username or organisation slug"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true and readOnlyHint=false; the description goes far beyond by disclosing soft-delete semantics (immediate disappearance from git/web/REST/MCP/CI/webhooks/search, reserved name, 90-day restorable_until window), side effects (CI cancellation, webhook delivery stop), permission model, required token scope, audit event name, owner notification, and the exact return shape. This is exactly the extra context destructive operations need.

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?

Content-dense with essentially no filler — every clause adds a fact an agent needs (soft vs hard, restore path, permissions, scope, return value). It is front-loaded with the most decision-relevant fact (soft delete). It loses a point for being a single very long run-on passage, which makes the permission/scope details harder to scan than a short bulleted structure would.

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?

There is no output schema, so the description supplies the return contract itself ({deleted, soft, id, restorable_until}) plus the restore deadline. Combined with permissions, scopes, and side effects, nothing material is missing for a destructive, non-idempotent tool with no structured return metadata.

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% — both 'repo' and 'owner' are documented in the schema itself. The description only adds ownership context ('the personal owner, or an org owner for an org repository') which is about authorization rather than argument format, so the schema still carries the parameter burden. Baseline 3 is appropriate.

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 (delete) and resource (repository) and immediately qualifies it as a SOFT delete, which is the key distinction from the other deletion-flavored siblings (gluecron_purge_repo). An agent can tell exactly what happens and how it differs from purge without opening either 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?

Explicitly routes the agent to alternatives and conditions: use gluecron_restore_repo to undo within the window, use gluecron_purge_repo to remove permanently before the window expires. It also states the authorization precondition (repository owner or site admin; admin collaborators and org admins refused) and the required 'admin' token scope, which is the deciding factor for whether the call will succeed.

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