Single tool with basic schema and description, but significant gaps. Tool name 'get_task_details' is appropriately verb-prefixed. Description exists but is generic (108 chars, below ideal 194-char baseline) and lacks WHEN/WHY context. Input schema present with type and description for user_id parameter. However, output schema is completely undocumented, LLM cannot predict the task_map structure (keys: 'to do', 'in progress', 'complete'; values: arrays of task objects with id, task_name, list_name, date_closed). No error handling guidance, no pagination despite potentially returning many tasks, no rate limiting despite external API calls. Credentials hardcoded in source (CRITICAL SECURITY ISSUE). No parameter constraints (user_id unbounded). Tool lacks idempotency documentation and destructive/read-only hints.
Fetches tasks assigned to a user from ClickUp API. Args: userId (int): The ID of the user whose tasks are to be fetched. Returns: A dictionary containing tasks categorized by their status (to do, in progress, complete).
Credentials hardcoded in source code (CLICKUP_AUTHENTICATION_TOKEN exposed in main.py). Must use server-side secret injection via environment variables or vault.
Output schema completely undocumented. LLM cannot predict task_map structure (keys: 'to do', 'in progress', 'complete'; values: arrays with id, task_name, list_name, date_closed). Must document return type explicitly.
No pagination support despite potentially returning hundreds of tasks. Tool description does not mention result limits or pagination parameters. Must add limit/offset and total_count to response.
No error handling guidance. HTTPException raised but LLM receives raw status codes and response text with no recovery hints. Must return actionable error messages like 'User not found. Try search_users() with a partial name.'
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 51 | 2026-07-28+ | v2 |
user_id parameter unbounded. No validation that user_id is a valid ClickUp user. Must add constraints (e.g., 'positive integer, 1-999999999') and validate before API call.