Skip to main content
Glama

uninstall_precommit_guard

Remove Agent Mail's pre-commit and pre-push git hooks from a repository while leaving other hooks intact. Use it to disable Agent Mail commit guards.

Instructions

Remove the Agent Mail commit guards from a git repository.

Removes Agent Mail's own pre-commit and pre-push guard plugins (and a legacy single-file Agent Mail hook); other hooks in the repository are left in place.

Parameters

code_repo_path : str Path to the git repository to remove the guard from. format : str, optional Output format.

Returns

dict {"removed": true} when a guard was removed, false when none was installed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNo
code_repo_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does reasonably well: it discloses exactly what is destroyed and what is left intact, and explains the return contract ({"removed": true} when a guard was removed, false when none was installed), which implies idempotent behavior. It does not address permissions, concurrency, or whether git config is touched, keeping it short of a 5.

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?

The purpose is front-loaded in the first sentence and the numpy-style Parameters/Returns sections are well organized. The structure is slightly heavy for a two-parameter tool and the Returns block partly duplicates the output schema, but little is wasted.

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?

Given no annotations and 0% schema coverage, the description supplies the missing behavioral context (destruction scope, side-effect boundary, return semantics). An output schema already exists, so the explicit Returns section is redundant rather than necessary, and the weak 'format' documentation leaves a small gap.

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 0%, so the description must compensate. It does document both parameters, giving code_repo_path real meaning ('Path to the git repository to remove the guard from'), but 'format : str, optional — Output format' is uninformative, offering no allowed values or effect on output. Partial compensation yields a mid score.

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?

The description names a specific verb and resource ('Remove the Agent Mail commit guards from a git repository') and precisely scopes what is removed ('pre-commit and pre-push guard plugins (and a legacy single-file hook)'). It is easily distinguished from its inverse sibling, install_precommit_guard, and even clarifies what is NOT touched (other hooks remain).

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 by the purpose: call it to strip Agent Mail guards from a repo. However, the description gives no explicit when-to-use guidance, no prerequisites (e.g., whether the guard must be present), and never names install_precommit_guard as the inverse operation. The scope note about other hooks is a boundary clarification rather than usage routing.

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