Skip to main content
Glama

clear_hook

Delete a hook's captured requests but keep the hook and its ingest URL — rerun hygiene between test runs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hook_idYesHook id (uuid) from create_hook or list_hooks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries full burden. It accurately describes the two key behaviors (deleting requests, keeping hook and URL). However, it omits details like whether the operation is reversible, any required permissions, or potential side effects (e.g., does it affect other hooks?). For a simple destructive action, this is adequate but not exhaustive.

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 a single, front-loaded sentence that efficiently conveys the action, what is preserved, and a use case. Every word earns its place with no redundancy.

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?

Given no output schema, the description should explain what the tool returns (e.g., success confirmation, count of deleted requests). It does not. The use case 'rerun hygiene' is helpful, but overall completeness is average for a simple tool.

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 coverage is 100%—the only parameter 'hook_id' has a description in the schema. The tool description adds no new information about the parameter beyond what the schema already provides. Thus, it meets the baseline of 3.

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 clearly states the tool deletes captured requests while keeping the hook and ingest URL, differentiating it from 'delete_hook' (which would remove the hook entirely). However, it does not explicitly name 'delete_hook' as the alternative, leaving some ambiguity for an agent.

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?

The phrase 'rerun hygiene between test runs' gives useful context for when to use this tool (to clean up between tests). However, it does not provide explicit guidance on when not to use it or mention any alternative tools (like 'clear_inbox' or 'delete_hook').

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.

Resources