Webhook orchestrator with AI agents and MCP tools. Orchestrates webhooks through AI agent recipes with MCP tool integration.
HookLaw defines 21 tools with reasonable naming conventions and input schemas. Most tools follow verb-noun patterns (check*, get*, list*, add*, update*, clear*, approve*, process*). However, descriptions are inconsistent in depth, some are 10 - 20 chars (too terse), and many parameters lack descriptions. Schema completeness varies: tools like checkMcpHealth, addMcpServer, and addRecipe have detailed input schemas with parameter descriptions, but others like checkAllMcpHealth and getStats lack parameter details. No output schemas are documented. Error handling and recovery guidance are absent from descriptions. Security considerations (no token exposure noted, but limited audit details in tool definitions) are implicit rather than explicit. Overall, the toolkit is functional but lacks the polish expected of production-grade agent tools.
Add a new MCP server configuration to the HookLaw config file
Create and add a new webhook recipe template to the configuration
Approve or reject a pending execution, allowing it to proceed or stopping it
Check the health status of all configured MCP servers with caching (5 minute TTL)
Check the health status of a configured MCP server and list its available tools
Clear all stored agent memory for a recipe, resetting its conversation history
Query executions across all webhooks and recipes with optional filtering
Get child executions in a multi-agent chain started by a parent execution
No output schemas documented for any tool. LLMs cannot know what fields to expect from tool responses, forcing them to guess at downstream field availability and reference names. This violates pattern:tool-chain and increases hallucination risk.
Seven tools (checkAllMcpHealth, listRecipes, getStats, getConfig, getMcpServers, listFeeds, getPendingApprovals) have minimal parameter descriptions or no parameters at all. Descriptions like 'List all configured recipe templates with their metadata' do not explain WHEN to use this vs other discovery tools or what structure is returned.
No error handling guidance in tool descriptions. Tools like addMcpServer, installMcpPackage, and approveExecution do not describe failure modes, recovery steps, or what the LLM should do if a call fails. This leaves agents without a recovery path.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 53 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 23 | - | v1 |
Get the current HookLaw configuration with sensitive API keys redacted
Get detailed trace logs for a specific execution showing agent reasoning steps
Get paginated execution history for a specific webhook slug
List all configured MCP server definitions
Get all executions awaiting human approval in approval workflows
Get paginated execution history for a specific recipe
Get stored agent memory for a recipe (conversation history for multi-turn interactions)
Get aggregate execution statistics for dashboard display
Install an MCP package via npm and make it available as an MCP server
List all configured RSS/Atom/JSON feed sources
List all configured recipe templates with their metadata
Process an incoming webhook by routing it through matching recipe agents
Update an existing recipe configuration
addRecipe tool accepts deeply nested 'agent' and 'feed' objects without explaining their expected structure. LLMs cannot construct these nested payloads without seeing concrete examples or sub-schemas. Parameter descriptions must detail required fields and nesting.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) present. Risk classifications are inferred from tool names but not explicitly declared. This makes it harder for MCP clients to implement safety guardrails (e.g., requiring confirmation before destructive ops).
Pagination parameters present in getExecutions, getRecipeExecutions, getAllExecutions, and getRecipeMemory, but no tool describes the total count, next_cursor, or how to detect end-of-results. This makes it unclear how to paginate through large datasets.
updateRecipe and addRecipe lack constraints on nested object fields. The 'agent' object (provider, model, instructions) and 'feed' object have no documented required/optional fields or format specifications. LLMs will hallucinate field names.