Skip to main content
Glama

Render a diagram from text

render_diagram
Read-onlyIdempotent

Turn diagram-as-code into an image: Mermaid, PlantUML, Graphviz/DOT, C4, Excalidraw and 20+ more (self-hosted Kroki). Returns a hosted SVG/PNG URL you can embed directly in Markdown or HTML. Example — GET "https://ainetcafe.com/t/render_diagram?source=graph TD;A--%3EB&format=png"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoDiagram language: mermaid (default), plantuml, graphviz, c4plantuml, excalidraw, blockdiag, erd…
formatNo"svg" (default) or "png".
sourceYesThe diagram source code (e.g. a Mermaid flowchart).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare the tool as read-only, idempotent, and non-destructive. The description adds behavioral context beyond annotations by specifying that it returns a hosted URL and supports a self-hosted Kroki backend, which helps the agent understand the output format and service dependency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise (two sentences plus an example) and front-loaded with the primary verb and purpose. Every sentence adds value, and the example is practical. There is no fluff or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (3 params, 1 required, output schema present), the description is complete for an agent to select and invoke it correctly. It explains the return format, supported diagram languages, and embedding use case—covering all necessary context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, with each parameter having a description. The tool description adds minimal additional meaning—only an example of the 'source' parameter and a note on format types, which are already present in the schema. The schema carries the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function with a specific verb ('Turn diagram-as-code into an image'), lists supported formats (Mermaid, PlantUML, Graphviz/DOT, C4, Excalidraw, etc.), and explains the return value (a hosted SVG/PNG URL). This distinguishes it from sibling tools, which focus on text, data, or model operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context: it is for converting diagram-as-code into an image for embedding in Markdown/HTML. It offers an example GET request but does not explicitly exclude alternatives or compare to other tools. Since sibling tools are thematically distinct, the intended usage is obvious.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.9/5.0
Disambiguation5/5

Every tool has a clearly distinct purpose with detailed descriptions that explicitly differentiate even close pairs like diff_tables vs reconcile_ledger and list_models vs model_costs. No two tools appear to do the same thing, and the what_can_you_do tool further resolves any confusion.

Naming Consistency3/5

The majority of tools follow a verb_noun snake_case pattern (build_app, fetch_page, list_tasks), but several notable deviations exist: ai_visibility, china_reachability, model_costs, json_yaml, pdf_to_markdown, what_can_you_do, recall, remember, and jwt_decode. This mixed convention, while still readable, is not fully consistent.

Tool Count3/5

With 34 tools, the count is high and exceeds the typical comfortable range for an MCP server. However, the server is a broad AI utility platform covering web, data, LLM, conversion, and scheduling tasks, and each tool appears to serve a distinct purpose with little redundancy, making the large but organized set borderline appropriate for its scope.

Completeness3/5

The tool surface covers a wide array of common workflows (search, fetch, table operations, PDF extraction, model comparisons, task scheduling, memory). However, check_job references deep_research, translate_pdf, and make_slides which are not present in the tool list, and there is no update tool for tasks/apps or a way to delete memories, leaving some user journeys incomplete.

Resources