Skip to main content
Glama

remove_hook

DestructiveIdempotent

Remove a hook from the library. CAPABILITY: draft: creates content that cannot reach an audience on its own. Safe for a draft-only agent token.

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": {
      "hook_id": "<hook_id>"
    },
    "name": "remove_hook"
  }
}

Input Schema

NameRequiredDescriptionDefault
hook_idYesId from list_hooks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the deletion semantics and repeat-call safety are covered by structured data. The description adds a real permission signal in the draft-only token note, but the 'CAPABILITY: draft: creates content...' sentence reads as boilerplate that sits oddly on a removal tool and could confuse an agent about what is actually being created.

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?

Two short sentences with the action statement front-loaded. The capability sentence is somewhat indirect and could be tightened or dropped, but nothing is redundant or padded.

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

Completeness3/5

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

For a single-parameter destructive tool with annotations already covering the safety profile, this is close to sufficient. It still leaves open what a 'hook' is in this library, whether removal affects content already generated through it, and what an invalid or already-removed id does.

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?

There is one parameter with 100% schema description coverage, so the schema already explains hook_id as an 'Id from list_hooks.' The description adds no further meaning such as format, whether the id can be reused, or what an unknown id yields. Baseline 3 applies when the schema carries the load.

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 opens with a specific verb+resource: 'Remove a hook from the library.' That is enough to distinguish it from add_hook and the other add_/remove_ siblings. It stops short of 5 because 'hook' is never defined beyond 'from the library', so an agent must already know what a hook is.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no named alternative or prerequisite despite add_hook being an obvious paired operation. The only usage-adjacent statement is a token-scope note ('Safe for a draft-only agent token'), which addresses authorization, not task selection.

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.