All tool descriptions are in Chinese, severely limiting LLM comprehension and agent planning. English descriptions are required for cross-lingual MCP deployment.
No output schemas documented for any tool. LLMs cannot plan downstream calls or extract data without knowing response structure. This violates the 'document the output schema' critical check.
Translate all tool and parameter descriptions to English. Chinese descriptions prevent cross-lingual LLM understanding and reduce agent planning quality. Use natural English (50-200 chars) as baseline.
Document output schemas for every tool in JSON Schema format. Include response fields, types, and descriptions. E.g., list_templates should return [{name: string, description?: string}].
Refactor ols_login to use environment variable or vault injection for credentials instead of parameters. Document the expected env var names or config file paths in the description.
Add dry-run or preview mode to ols_sync before any bidirectional sync. Return proposed changes (files to sync, deletion count) and require explicit confirmation. Implement as 'preview_sync' tool.
Replace cryptic 'delete_policy' codes (d/r/i) with full enum values: 'delete' | 'rename' | 'ignore'. Document each in parameter description.
In init_template_project description, explicitly state: 'Call list_templates first to see available templates, then pass template_name here.' Add template_name as a documented enum.
Add error handling guidance to every tool description. E.g., 'If project_dir not found, return: {error: "project_not_found", suggestion: "Verify path exists or call init_template_project first"}.'
Standardize tool naming to verb_noun pattern: analyze_evidence_binding (not run_*), create_daily_review (not generate_*), sync_overleaf_project (not ols_sync). Use verb_noun for consistency with production baseline (90% of A+ tools).
ols_login exposes authentication workflow without clear credential injection pattern or secret storage guidance. Credentials are described as parameters, risking leak into agent logs.
ols_sync marked as REVERSIBLE but offers no dry-run, confirmation, or compensation pattern. Agents cannot safely test bidirectional sync without risking data loss.
Parameter enums and constraints are inconsistently documented. ols_sync 'mode' has enum values (bidirectional/local-only/remote-only) in description, but 'delete_policy' uses cryptic single-letter codes (d/r/i) with no documentation.
Template workflow lacks discovery guidance. init_template_project requires 'template_name' but does not reference list_templates() as prerequisite. LLM may guess invalid names instead of calling list first.
No error handling guidance for any tool. Errors in descriptions (e.g., 'invalid template', 'auth failed', 'project not found') do not guide LLM recovery actions.
Multiple optional parameters create ambiguity about required combinations. ols_sync has 8 parameters, 6 optional; missing documentation on which combinations are valid (e.g., must workspace_path be provided if mode=local-only?).
Numeric parameters lack bounds. 'max_uncovered' (default 30) has no min/max specification; LLM could pass negative or million+ values. 'daily_time' expects HH:MM but no validation range documented.
Add min/max bounds to numeric parameters. E.g., max_uncovered: 1-500 (default 30), daily_time: regex '^([01][0-9]|2[0-3]):[0-5][0-9]$' with description 'HH:MM in 24-hour format, e.g., 23:10'.
For tools with optional parameter groups (e.g., ols_sync), document which combinations are valid using a constraint table or explicit description: 'If mode=local-only, workspace_path and project_name are required. If mode=remote-only, ce_url and store_path are required.'
Add pagination/limit support to ols_list. Return {projects: [...], total_count: N, next_cursor?: string}. Cap results at 50 by default to avoid context window explosion.
Implement tool annotations (readOnlyHint, destructiveHint, idempotentHint) using MCP 2025-11-25 spec. Mark ols_sync as destructiveHint: true, init_* as destructiveHint: true.