Skip to main content
Glama

lgh_remove

Destructive

Removes a repository from LGH by deleting the bare backup and the lgh remote, without affecting the local working tree or history.

Instructions

Unregister a repository from LGH. Deletes the bare backup repository from the LGH repos dir and removes the "lgh" remote from the local working directory; the local working tree and its git history are never touched. Fails with an error if the name is not registered. Destructive: the LGH-side backup copy and its history are permanently deleted and only come back by re-registering (lgh_add) and pushing again (lgh_up). Use lgh_list first to find the exact registered name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the repository to remove

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

The description fully discloses destructive behavior: permanently deletes the LGH-side backup and history, and explains recovery via lgh_add and lgh_up. It also states the local working tree and git history are never touched, providing complete transparency beyond the destructiveHint annotation.

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?

The description is succinct yet comprehensive, covering all essential aspects—what it does, what it doesn't do, failure conditions, and recovery—without unnecessary verbosity. It is well-structured and easy to parse.

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?

Given the absence of an output schema, the description sufficiently explains side effects, failure modes, and prerequisites. It provides all necessary context for an agent to safely and correctly invoke the tool, including a clear warning about destructiveness.

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?

The schema description for 'name' is present (100% coverage), and the description adds meaningful context by emphasizing that the name must be an exact registered name and that it will error otherwise. While it doesn't specify format details, the added guidance is useful.

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?

Description clearly states the tool unregisters a repository from LGH, detailing that it deletes the bare backup repository and removes the 'lgh' remote. It distinguishes itself from sibling tools like lgh_add and lgh_up by focusing on removal, and mentions that the local working tree is untouched.

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 advises using lgh_list first to find the exact registered name, and notes that the tool fails if the name is not registered. This gives clear situational guidance and prerequisites, effectively telling when to use it relative to other operations.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JoeGlenn1213/lgh'

If you have feedback or need assistance with the MCP directory API, please join our Discord server