Skip to main content
Glama

cloudforge_mermaid_from_json

Convert JSON diagram data (nodes and edges) into Mermaid flowchart code for cloud architecture visualization. Use when diagram data is already available in memory.

Instructions

Convert raw diagram JSON (nodes + edges) to a Mermaid flowchart without fetching from the server. Use this when you already have diagram data in memory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
diagram_jsonYesJSON string: { nodes: [...], edges: [...], name?: string }
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool performs a conversion without server fetching, which is useful behavioral context. However, it lacks details on error handling, output format (e.g., Mermaid syntax specifics), or performance aspects like rate limits or data size constraints.

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 front-loaded with the core purpose in the first sentence and adds usage guidance in the second, with zero wasted words. Every sentence earns its place by providing essential information efficiently.

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

Completeness3/5

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

Given the tool's moderate complexity (conversion task), no annotations, and no output schema, the description is adequate but incomplete. It covers purpose and usage well but lacks details on behavioral traits (e.g., error cases) and output specifics, which would be helpful for an agent to use it correctly.

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 description coverage is 100%, so the schema already documents the 'diagram_json' parameter fully. The description adds no additional parameter semantics beyond what the schema provides, such as examples or constraints on JSON structure, meeting the baseline for high coverage.

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 specific action ('Convert raw diagram JSON to a Mermaid flowchart') and resource ('nodes + edges'), distinguishing it from siblings like 'cloudforge_diagram_to_mermaid' by specifying 'without fetching from the server' and 'when you already have diagram data in memory.'

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

Usage Guidelines5/5

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

It explicitly states when to use this tool ('when you already have diagram data in memory') and implies when not to use it (vs. fetching from server), with a clear alternative context compared to sibling tools like 'cloudforge_get_diagram' or 'cloudforge_diagram_to_mermaid' that might involve server interaction.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cloudforgetech6-ctrl/mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server