Static source inference · medium confidence · detected: Logging
Deprecated protocol patterns detected
Summary
The server defines 21 tools with consistent naming (verb_noun pattern), all with descriptions and input schemas. However, schema documentation is incomplete: parameter descriptions exist but lack type constraints (enums, min/max, format specifications). Output schemas are not documented for any tool, violating the pattern:tool-chain and pattern:paginated-result baselines. Descriptions average ~50-80 chars and are adequate but generic, they state WHAT the tool does but rarely WHEN to use it or prerequisites. Tool names follow verb_noun convention well (create_task, get_tasks, delete_project), but parameters accepting arbitrary strings (filter, due_string, color) lack enum constraints or format validation hints. Error handling is present but generic. Security: no visible secrets in parameters (good), but no documented permission gates or audit mechanisms visible in the provided code.
Output schemas not documented for any tool. LLMs cannot predict downstream field names or plan chained calls (e.g., what fields does get_tasks return? Are project_id and section_id included so move_task can be called next?)
Document output schemas for ALL tools. For get_tasks, specify: {tasks: [{id: string, content: string, completed: boolean, priority: number, due: {date: string}, project_id: string, section_id: string, labels: string[], assignee_id: string}], total: number}. This enables downstream chaining.
Add enum constraints for 'color' parameters: ['red', 'orange', 'yellow', 'green', 'blue', 'purple', 'pink', 'gray']. Replace free-form 'color' description with 'Project color from the palette: red, orange, yellow, green, blue, purple, pink, or gray.'
Document 'due_string' format: 'Natural language due date (e.g., "tomorrow", "next Monday", "2025-03-15"). Todoist parses these server-side.'
Document 'filter' parameter: 'Todoist query language filter (e.g., "today", "@urgent", "#Project" for tasks in Project). See Todoist docs for full syntax.'
Add pagination to get_tasks, get_projects, get_labels, get_sections, get_comments. Parameters: limit (1-100, default 20), offset (default 0). Response: {items: [...], total: number, offset: number}. Document: 'Results are capped at 20 per call. Use offset to paginate.'
Add confirmation pattern for destructive tools. Example: todoist_delete_task should accept a 'confirm: boolean = false' parameter. If false, return {would_delete: {task_id, content}} for preview. If true, execute. Document: 'To prevent accidental deletion, call with confirm=false first to preview, then confirm=true to delete.'
Extend descriptions to 150-250 chars explaining WHEN to use the tool. Example: 'Create a new task in Todoist. Use this after the user requests a new task. Parameters like priority (1-4, where 4=urgent), due_string (e.g., "tomorrow"), and labels organize the task. Returns the created task ID for subsequent edits.'
Spec posture evidence
Inferred effective spec: <=2025-11-25.
Relies on Logging (deprecated) - log to stderr or use OpenTelemetry
Get all tasks, optionally filtered by query or project
todoist_move_taskwriteauthsource verified65/100
Move a task to another project, section, or parent
todoist_reopen_taskwriteauthsource verified72/100
Reopen a completed task
todoist_unarchive_projectreversibleauth50/100
Unarchive a project
todoist_update_taskwriteauthsource verified68/100
Update a task's properties
String parameters lack enum constraints and format validation hints. Examples: 'filter' in get_tasks accepts arbitrary Todoist filter syntax but no enum or pattern documented; 'color' in create_project/create_label accepts free-form strings (should be an enum: red, blue, green, etc.); 'due_string' accepts natural language (e.g., 'tomorrow', 'next Monday') but this is not documented. LLMs will hallucinate invalid values.
Destructive tools (delete_task, delete_project, delete_label, delete_section, delete_comment) lack confirmation or dry-run support. An LLM error could permanently delete user data. No documented recovery guidance.
Pagination not documented for list tools (get_tasks, get_projects, get_labels, get_sections, get_comments). No limit, offset, or cursor parameters visible. Returning unbounded lists will blow LLM context windows and violate mxe:enforce-result-limits baseline.
Descriptions are generic and under-optimized for LLM selection. Example: 'Get all tasks, optionally filtered by query or project' does not answer WHEN to call it (after creating a task? to find incomplete tasks? to enumerate for a dashboard?) or what fields are returned. Most descriptions are 50-80 chars; baseline is 194 chars for A+ tools.
No visible permission gates or audit trail documentation. Tools like delete_project should verify the calling user/agent has delete authority before executing. No scope declarations (e.g., 'requires write:tasks').
Tool descriptions do not document state-modifying behavior explicitly. According to pattern:command-tool baseline, tools that modify state must declare it so agents know which calls are safe to retry. Example: 'Mark a task as complete' should say 'This action is idempotent: calling multiple times with the same task_id has no additional effect.'
Parameters with alternative inputs (e.g., todoist_delete_task accepts task_name OR task_id) are not documented as mutually exclusive. LLM might pass both or neither, causing ambiguous tool behavior.
todoist_delete_tasktodoist_get_comments
Mark mutually exclusive parameters explicitly. For todoist_delete_task: 'Either task_name or task_id is required, not both. If task_name is provided, the system searches for the task; if task_id is provided, it deletes directly (faster).'
Document idempotence for update and complete tools: 'Calling this multiple times with the same task_id is safe, only one completion is recorded, and repeating the call does not change the result.'
Add permission declarations to tool descriptions. Example: 'Requires write:tasks scope. Verify user authorization before executing.' Include in a new 'scope' field if the MCP schema supports it.
Implement rate limiting and timeout guidance. Document: 'If you receive a timeout error, wait 5 seconds and retry. If you exceed rate limits, the API will return 429, wait 60 seconds before retrying.'
Add recovery guidance to error responses. Example: If a task_id is not found, respond with 'Task "abc123" not found. Call get_tasks with a filter to find the correct task ID, or ask the user for the task name.'
For tools accepting IDs, document human-friendly lookup. Example: 'If you do not have the project_id, call get_projects first to list all projects and find the ID.'
Consider batch operations: todoist_create_tasks (array of task objects) and todoist_delete_tasks (array of task IDs) to reduce round-trips and token overhead when agents operate in loops.