Skip to main content
Glama

visualise

Generate a Mermaid flowchart of the knowledge graph for any domain, showing most-connected nodes first. Handles up to 100 nodes, truncating when needed for clarity.

Instructions

Generate a Mermaid.js flowchart of the knowledge graph for a domain. Nodes are sorted by connectivity (most-connected first) and capped at limit (default 40, max 100). Returns a JSON object with mermaid (the diagram source), node_count, edge_count, and truncated (true when the domain has more nodes than the limit). When responding to the user, output the mermaid string inside a ```mermaid code block. If truncated is true, note that only the most-connected nodes are shown. Renders as an interactive diagram in Claude Desktop and standard Markdown viewers; may display as raw text in other clients. Best used on focused domains with fewer than 60 nodes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesThe domain to visualise
limitNoMax nodes to include (default 40, max 100). Most-connected nodes are prioritised when truncating.
Behavior5/5

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

With no annotations, the description fully covers behavioral traits: node sorting by connectivity, node limit with default/max, return structure (mermaid, node_count, edge_count, truncated), rendering behavior across clients, and instruction to note truncation.

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

Conciseness4/5

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

Six sentences, front-loaded with purpose. Efficient and no redundant information, though could be slightly tighter.

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?

For a tool with no output schema, the description explains all return fields and rendering behavior. It also provides a usage tip and covers edge cases (truncation). Complete for an agent to invoke correctly.

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

Parameters4/5

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

Schema coverage is 100%, baseline 3. The description adds value by specifying default (40) and max (100) for 'limit' and clarifying prioritization of most-connected nodes, beyond the schema's description.

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 it generates a Mermaid.js flowchart of the knowledge graph for a domain. The verb 'generate' and resource 'flowchart' are specific, and the tool is distinct from siblings like trace or search.

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?

Provides a usage tip: 'Best used on focused domains with fewer than 60 nodes.' Does not explicitly state when not to use or compare to alternate tools, but the tip guides effective usage.

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/corbym/memoryweb'

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