Bootstrap and setup utility for Affinity Photo MCP (Model Context Protocol) integration with Claude Code. Provides tools to download setup files, verify environment, and execute scripts against Affinity documents.
Three tools are defined but lack critical quality markers. Tool names are descriptive (read_sdk_documentation_topic, execute_script, render_spread) but descriptions are minimal (10-30 chars, well below the 50-200 char baseline for A+ tools). Input schemas are present for two tools but lack parameter descriptions entirely. The third tool (render_spread) has no visible schema in the provided source. No output schemas are documented. Error handling is absent, no guidance on what happens on failure or how to recover. Tool composition is weak: execute_script accepts arbitrary JavaScript, creating injection risks without validation or sanitization guidance.
Execute a script against the current Affinity document
Read SDK documentation topic by filename
Render a spread from the current Affinity document
Parameter descriptions missing entirely. 'filename' and 'script' parameters have no descriptions explaining format, constraints, or valid values. LLMs cannot infer whether 'script' accepts raw JS or requires wrapping.
Tool descriptions are under 20 characters (critical threshold). 'Read SDK documentation topic by filename' (43 chars) and 'Execute a script against the current Affinity document' (54 chars) lack context on WHEN to use each tool, prerequisites, or what they return.
No output schemas documented. LLMs cannot plan downstream calls or extract required fields. What does read_sdk_documentation_topic return, a string, an object with metadata, or structured sections?
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 35 | 2026-07-28+ | v2 |
execute_script accepts arbitrary JavaScript with no input validation, sanitization, or injection guards documented. No error handling guidance for script failures, timeouts, or security violations.
render_spread has no visible input schema in provided source code. Cannot verify parameter types, constraints, or descriptions. Tool definition appears incomplete.