Skip to main content
Glama
@prompthub/mcp
by LionelHao

PromptHub: delete a repo

prompthub_delete_repo

Permanently delete a repository you own by specifying owner and name; removes repo records and prompts cleanup of stored artifacts. A 404 indicates missing or inaccessible repo.

Instructions

Delete one repo you own by owner/name. This permanently removes the repo rows and asks PromptHub to clean stored artifact/reference objects. A 404 means the repo does not exist or you cannot access it.

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": {
      "owner": "<owner>",
      "name": "<name>"
    },
    "name": "prompthub_delete_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesRepository name.
ownerYesOwner handle (must be you).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses permanence ('permanently removes the repo rows'), the cascading side effect of cleaning stored artifact/reference objects, and the meaning of a 404 response. It does not state which permissions or confirmation are required, nor whether dependent prompts are orphaned.

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?

Three short sentences, front-loaded with the action and scope, followed by the destructive consequence and then the error semantics. No filler and no repetition of the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive two-parameter operation with no annotations and no output schema, the description covers scope, permanence, side effects, and error interpretation. The remaining gap is cascade detail — whether deleting a repo also destroys its published artifacts and prompts or merely detaches them.

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 both parameters are already annotated ('Owner handle (must be you)', 'Repository name.'). The description's 'by owner/name' restates the composite addressing with only marginal added meaning, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Delete one repo') plus its addressing scheme ('by owner/name'), which cleanly separates it from the artifact- and reference-deletion siblings. It stops short of explicitly naming an alternative tool, but the resource noun alone is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the ownership constraint ('a repo you own', 'must be you') narrows the applicable case, and the 404 note clarifies failure handling. There is no explicit guidance on when to delete a repo versus removing individual artifacts/references, and no when-not-to-use clause.

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