Interactive Mermaid diagram rendering and editing application. Generates visual diagrams from Mermaid syntax code with support for pan/zoom, node selection, and diagram type detection.
Single tool with basic schema and description. Tool name 'mermaid_diagram' lacks action verb (should be 'render_mermaid_diagram' or 'generate_mermaid_diagram'). Description is adequate (95 chars, within 10-1024 range) but generic. Input schema present with Zod types but lacks proper JSON Schema format visibility in registration. No output schema documented. No error handling guidance. No parameter constraints (diagramType should be enum). Tool is read-only but lacks explicit idempotentHint annotation.
Render and edit Mermaid diagrams interactively. Generates a visual diagram from Mermaid syntax code.
Tool name lacks action verb. 'mermaid_diagram' is a noun; should be 'render_mermaid_diagram' or 'generate_mermaid_diagram' to signal intent.
diagramType parameter accepts free-form string but should be enum (flowchart, sequence, classDiagram, erDiagram, stateDiagram, gantt, pie, mindmap, timeline). Enums prevent hallucinated values.
No output schema documented. Response is hardcoded text summary; LLM cannot infer structure or plan downstream operations.
No error handling guidance. If Mermaid syntax is invalid, tool returns generic text. LLM has no recovery path (e.g., 'Invalid syntax at line X. Try: ...').
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 43 | 2026-07-28+ | v2 |
Tool is read-only but lacks idempotentHint annotation in _meta. Explicit annotation helps agents optimize retry logic.