Skip to main content
Glama
GDM-Pixel

Stellaris MCP

by GDM-Pixel

graph_export

Export a static architecture diagram from the dependency graph, grouped by semantic layer. Output formats: mermaid for README, SVG for standalone vector, HTML with legend.

Instructions

Export a static architecture diagram from the dependency graph. Groups files by semantic layer (Tools, Storage, Graph, Indexer, Analytics, API, Frontend, Backend, Security, Config) based on directory-name heuristics. Three output formats: mermaid (copy-paste in README, renders on GitHub/GitLab), svg (standalone dark-theme file), html (self-contained page with legend + download button). Requires a prior reindex. No API call needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoOutput format: mermaid (default, copy into README), svg (standalone vector file), html (interactive dark-theme page)
output_pathNoAbsolute or relative path for the output file. Default: .vectors/graph-export.{md|svg|html}
focus_dirNoOnly include files whose path contains this string (e.g., "src/graph"). Useful to zoom in on a sub-system.
top_coupledNoLimit diagram to the N most coupled files (sorted by in-degree + out-degree). Useful to reduce noise on large projects.
exclude_isolatedNoExclude files with no dependencies (in-degree = 0 and out-degree = 0). Default: true.
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses grouping heuristics, output formats, and preconditions. It covers key behavioral aspects without contradiction.

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?

Two sentences that front-load the core purpose, then efficiently detail grouping and formats. Every sentence adds value with no redundancy.

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?

Despite no output schema, the description explains the output behavior (file generation) and covers all parameters, preconditions, and grouping logic. It is complete for an export tool.

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%, so the schema already documents all parameters. The description adds minimal additional meaning, such as default output path pattern, but does not significantly enrich parameter understanding beyond the schema.

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 exports a static architecture diagram from the dependency graph, with specific grouping and output formats. It distinguishes itself from sibling analysis tools like graph_view or get_dependencies by focusing on export rather than interactive exploration.

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?

Explicitly mentions prerequisite (requires a prior reindex) and includes relevant context about output formats. While no direct comparisons to siblings are made, the description provides sufficient context for when this tool should be used.

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/GDM-Pixel/stellaris-code-search'

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