Static source inference · medium confidence · detected: Logging
Deprecated protocol patterns detected
Summary
The aria2-mcp-rs server provides 15 tools with basic parameter schemas and descriptions, but falls short of production-grade quality. Strengths: all tools have names, descriptions, and input schemas with typed parameters. Critical gaps: (1) descriptions are generic and lack actionable guidance for LLM selection (e.g., 'Manage aria2 downloads (add, pause, resume, remove, etc.)' lists actions instead of explaining WHEN to call this tool vs alternatives); (2) parameter descriptions are minimal, many lack format constraints, dependencies, or guidance on valid values; (3) no documented output schemas, making it unclear what fields agents should expect to chain with other tools; (4) error handling is absent from documentation, no guidance on retryability or recovery actions; (5) several tools combine multiple concerns (manage_downloads accepts both add and remove; configure_aria2 handles both get and set operations); (6) STDIO-only transport limits remote accessibility and hostability. Per-tool assessment: manage_downloads, configure_aria2, bulk_manage_downloads, and manage_all_instances suffer from action parameter antipattern (single tool dispatching multiple behaviors). Positives: schema present for all tools; typing is correct; tool names start with verbs.
Tools (15)
add_rss_feedwriteauth50/100
Add an RSS feed to monitor and auto-download matching items
bulk_manage_downloadswriteauth48/100
Perform bulk operations on multiple downloads (pause, resume, remove)
check_healthread onlyauthsource verified67/100
Check health status of aria2 daemon and detect stalled/error downloads
Multiple tools use action-dispatch pattern (manage_downloads, configure_aria2, bulk_manage_downloads, organize_completed, schedule_limits, purge_policy) with free-form 'action' string parameter instead of separate single-purpose tools. This violates single-responsibility principle and forces LLMs to reason about action string values, increasing errors.
Tool descriptions are action lists, not LLM-optimized guidance. Example: 'Manage aria2 downloads (add, pause, resume, remove, etc.)' tells what the tool CAN do but not WHEN to call it or how it differs from related tools. Per pattern:tool-description, descriptions should explain intent, prerequisites, and selection logic.
Split manage_downloads into separate tools: add_download, pause_download, resume_download, remove_download. Each should have a focused name and description explaining when to use it. This follows pattern:tool single-responsibility principle.
Rewrite tool descriptions to follow LLM-optimized format: 'Use this tool when [user intent]. This differs from [related tool] because [distinction]. Returns [key fields].' Example for check_health: 'Use this to diagnose aria2 daemon health and identify stalled or error downloads. Returns summary, issues list, and recommended actions. Call this first if downloads seem stuck.'
Document output schema for every tool. Add a 'Response' section to each tool definition listing fields, types, and examples. Example for inspect_download: 'Returns { gid: string, status: "active"|"paused"|"stopped"|"complete", downloaded: number (bytes), total: number (bytes), speed: number (bytes/sec), eta: number (seconds) }.'
Convert free-form 'action' parameters to enums. Example: manage_downloads action should be enum ['add', 'pause', 'resume', 'remove', 'purge']. Enums are machine-parseable and prevent hallucination.
Add parameter descriptions for all object-type parameters. For configure_aria2's 'options' param, specify what keys are valid (e.g. 'follow-metalink', 'dir', 'split'). For organize_completed's 'rules' param, document the required schema: '[{ name: string, extensions: string[], targetDir: string }]'.
Document pagination/limits. Add 'Limit and Pagination' section to list_*, search_* tools. Example: 'Returns max 50 items. Use offset and limit parameters for pagination. Total count included in response.'
Spec posture evidence
Inferred effective spec: <=2025-11-25.
Relies on Logging (deprecated) - log to stderr or use OpenTelemetry
Score history
Overall score trend
↑ 3 points across a rubric change (v1 → v2)
48/100
Scored
Grade
Overall
Spec posture
Rubric
2026-09-22
F
48
<=2025-11-25
v2
2026-03-09
F
45
-
v1
writeauthsource verified48/100
Perform operations across all aria2 instances (pause, resume, purge)
No documented output schemas. The source code shows tools return JSON objects but doesn't specify which fields are present, their types, or constraints. Without output documentation, agents cannot plan downstream tool chains or extract the correct fields for the next step.
Parameter 'action' lacks enum constraint in most tools. Free-form strings like 'add', 'pause', 'resume' invite hallucination. Per pattern:constrained-input, action parameters should be enums so LLMs pick from valid options.
No error handling guidance documented. Tools do not document what errors are retryable, what fields indicate failure, or how to recover. Per pattern:recovery-guide, error responses must tell agents what to do next.
Parameter descriptions lack format constraints and dependency hints. Example: 'uris' parameter in manage_downloads says 'Array of URIs to download' but doesn't specify URI format, length limits, or what happens if the array is empty. Per pattern:tool-description, descriptions must include constraints and dependencies.
No pagination or result-limiting guidance. list_download_files accepts max_depth but doesn't document how many files it returns, whether there's a hard cap, or how to handle large directories. Per mxe:enforce-result-limits, tools returning lists must cap results and support pagination.
STDIO transport only. Per protocol readiness hard cap, STDIO-only servers cannot score above 50 for protocolReadiness and are not remotely accessible. Consider adding HTTP/SSE or Streamable HTTP transport for production use.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). Per current spec (2026-07-28), write operations like manage_downloads, delete operations should be marked with destructiveHint=true. This helps agents reason about side effects.
Parameter type 'object' used for 'options' and 'rules' without schema definition. Specify nested object schemas with required properties and field descriptions.
Add error handling guidance to tool descriptions. Example for manage_downloads: 'Errors: If URI is invalid, returns { success: false, reason: "Invalid URI format" }. Retry with corrected URI. If aria2 is unreachable, returns timeout error, check aria2 daemon status with check_health.'
Add readOnlyHint and destructiveHint annotations. Mark monitor_queue, inspect_download, search_downloads, check_health, list_rss_feeds, list_download_files with readOnlyHint: true. Mark manage_downloads, configure_aria2, bulk_manage_downloads, manage_torrent, add_rss_feed, organize_completed, schedule_limits, purge_policy, manage_all_instances with destructiveHint: true.
Add parameter constraints. For schedule_limits max_download and max_upload, specify format: 'Speed limit as string with suffix, e.g. "10M" (megabytes), "1G" (gigabytes), "512K" (kilobytes). Minimum 1K, maximum 100G.' For numeric limits like max_depth, specify range: 'Integer, 1 - 10 levels of directory traversal.'
Consider refactoring manage_torrent (currently handles both getPeers and changeFiles in action dispatch). Split into get_torrent_peers and change_torrent_files so each has clear semantics.
Add dependency hints to parameters. Example in manage_downloads: 'If you only have a partial URI, use search_downloads() first to find the matching download GID.' Example in bulk_manage_downloads: 'GIDs can be obtained from monitor_queue() or inspect_download().'
Migrate from STDIO to HTTP/SSE or Streamable HTTP transport for production deployment. STDIO limits remote accessibility and makes hosting behind a server impossible. This is required for scores above 50 on protocolReadiness.