delete_hook
Delete a hook. Its URL answers 404 from now on; events it already wrote stay in the inbox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The hook's name. |
Delete a hook. Its URL answers 404 from now on; events it already wrote stay in the inbox.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The hook's name. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry behavioral disclosure. It usefully states that the deleted hook's URL returns 404 and prior events remain in the inbox, but it omits permissions, irreversibility or confirmation expectations, and error behavior for a missing hook.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the action and followed immediately by the observable consequences. No filler or redundant restatement.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter delete operation with no output schema, the description covers the essential post-deletion effects an agent needs. It could be slightly more complete by stating prerequisites or behavior when the hook does not exist, but it is largely sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There is one required 'name' parameter and schema description coverage is 100%, so the schema already defines the parameter. The description adds no additional semantics about the hook name, such as its source, format, or whether it must already exist.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States the specific action and resource ('Delete a hook') and is unambiguously distinct from sibling operations such as create_hook, update_hook, and list_hooks. There is no ambiguity about what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The verb implies the tool is used to remove a hook, but the description gives no explicit when-to-use or when-not guidance and never mentions alternatives such as update_hook. It provides consequences, not routing guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.