A Model Context Protocol server for generating Mermaid diagrams using Mermaid Live and Mermaid Ink
Single tool 'create-mermaid-diagram' has a well-structured schema with 10 parameters, all typed and described. Naming follows verb_noun pattern (create_*). Description is 108 chars, within the 10-1024 baseline. However, the description lacks critical context: it does not explain WHEN to use this tool vs alternatives, what prerequisites exist, or what the output structure contains. Parameter descriptions are present but terse (avg ~30 chars vs 72 baseline). No output schema documented, LLMs cannot predict response structure. Error handling is generic (McpError wrapper) with no recovery guidance. The tool accepts file write operations (save_file action) but lacks security warnings about path traversal or permission checks.
Create a Mermaid diagram - get URLs for editing/viewing/downloading or save diagram to file
Output schema not documented. LLMs cannot predict response structure for 'get_url' vs 'save_file' actions, forcing guesswork about returned fields (URLs, file paths, success indicators).
Tool description lacks WHEN/WHY context. Does not explain when to call this vs other diagram tools, prerequisites (Mermaid syntax knowledge?), or use cases. Baseline: 194 chars; actual: 108 chars.
File write operation (save_file action) lacks security guidance. No mention of path traversal validation, permission checks, or directory creation behavior. Agents could write to arbitrary paths.
Parameter descriptions are terse (avg ~30 chars vs 72 baseline). E.g., 'diagram' is just 'The Mermaid diagram code', does not explain format, syntax requirements, or size limits.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 51 | 2026-07-28+ | v2 |
Error handling is generic (McpError wrapper). No recovery guidance. If diagram syntax is invalid or file write fails, LLM receives no actionable next steps.