Node.js Express application that monitors server errors and sends incident notifications to n8n via webhook
Single tool with minimal definition quality. Tool name 'GET /api/data' violates verb_noun convention (should be 'get_data'). Description is adequate (89 chars, within 10-1024 range) but lacks WHEN/WHY guidance. Input schema present but incomplete: 'fail' parameter lacks type specification (should be 'boolean' not 'string'), no description of return structure, no error handling guidance. Tool does not follow Arcade patterns for naming, parameter typing, or output documentation. HTTP transport is current, but tool definition itself is underdeveloped.
Retrieves data from the application. Accepts optional 'fail' query parameter to simulate database connection timeout error.
Tool name violates verb_noun convention. 'GET /api/data' should be 'get_data'. HTTP method in name is anti-pattern; LLMs infer action from verb prefix, not HTTP method.
Parameter 'fail' has type 'string' but semantically is boolean. Schema should declare type: 'boolean' with enum [true, false] or boolean type. Current typing invites LLM to pass invalid values like 'yes', 'false' (string), or '1'.
No output schema documented. LLM cannot predict response structure. Should document: returns {status: string, traceId: string} on success; {error: string, traceId: string} on 500. Without this, agent cannot chain downstream tools.
Error handling lacks recovery guidance. When 'fail=true' triggers 'Database connection timeout', response is generic 500 with no actionable next step. Should return: 'Database unavailable. Retry in 30s or contact ops team.'
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 33 | <=2025-11-25 | v2 |
Tool description does not explain WHEN to call it or what it's for. 'Retrieves data from the application' is generic. Should clarify: 'Fetch application health status and trace ID. Use to verify service availability or debug request flow.'