Action-driven MCP server for AlgorithmAide hook profile storage and auto-apply workflows
AlgorithmAide MCP exhibits significant definition quality gaps. While all 20 tools have names and descriptions, most descriptions are terse (avg ~80 chars, well below the 194-char baseline for A+ tools). Parameter descriptions are largely absent, most tools lack per-parameter documentation explaining what each field controls. Input schemas are present but minimal; many parameters lack type constraints, enums, or validation guidance. No output schemas are documented. Error handling is generic (no recovery guidance, no error classification). The server conflates multiple concerns in single tools (e.g., run_verified_workflow combines config, sync, injection, and logging). Tool names use verb_noun convention correctly, but composition is poor, agents cannot easily chain tools due to missing chaining IDs in responses.
Add or replace custom hook entries, then sync config, AppSwitch, LSPosed, and optionally relaunch the target.
Write files/config/<pkg>.json safely and verify the config provider readback.
Collect exported logs from the device.
Collect runtime logs, prioritizing the SQLite database and frida.log.
Expand one structured hook log entry into a short surrounding time-window context.
Import a hook config JSON file and apply it to the target app.
Inject a Frida script into the target app and optionally collect logs.
Parameter descriptions almost entirely absent. Tools like add_custom_hooks, apply_algorithm_aide_config, and run_verified_workflow expose complex nested objects (hookEntries, configPatch, configJson) with no per-field documentation. LLMs cannot infer what 'hookEntries' array items should contain or what 'configPatch' keys are valid.
Tool descriptions are terse (avg ~80 chars vs 194-char baseline). Most lack WHEN/WHY guidance. E.g., 'Sync AppSwitch.json and logList.json' does not explain when to call it vs other sync tools, what prerequisites exist, or what happens on failure.
No output schemas documented. Tools return complex nested structures (e.g., query_hook_logs returns sqlite/frida results with entries, context, verification fields) but LLMs have no schema to understand what fields to expect or how to chain results to downstream tools.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | 2026-07-28+ | v2 |
Summarize one dynamic candidate into short hits, short context, jadx-ai-mcp hints, and draft add_custom_hooks suggestions.
List built-in hook templates that can be applied to a target app.
Build a short unified log view from sqlite hits, short context, and frida.log supplements.
Pull frida.log and view a short keyword or time-window slice.
Pull runtime logs and query recent hook records from algorithmAidePro.db and frida.log.
Read the current target state, including config, AppSwitch, log sources, and LSPosed scope.
Replace a Frida script under /data/system/junge/<pkg>/frida and verify the write.
Reset the target app config and apply a new configuration.
Reset the target app config to empty state and verify clean state.
Run a complete verified workflow: apply config, sync AppSwitch/LSPosed, optionally inject Frida, and collect logs.
Search the structured hook log database by keyword across class, method, details, and call stack fields.
Sync AppSwitch.json and logList.json, then verify both storage layers.
Sync the LSPosed scope for AlgorithmAide and return the readback.
Destructive tools (reset_target_config, reset_and_apply_config) lack dry-run confirmation or explicit warnings in descriptions. Agents may irreversibly reset configs without understanding consequences.
Tool composition is poor. run_verified_workflow combines config apply, sync, Frida injection, and log collection into one tool. Agents cannot compose these steps independently or recover from mid-workflow failures. Splits needed: apply_config, sync_state, inject_script, collect_logs as separate tools.