Skip to main content
Glama

Graph Export

graph_export
Read-onlyIdempotent

Export your AI agent dependency graph in GraphML, Cypher, DOT, Mermaid, or JSON format for visualization and analysis.

Instructions

Export the agent dependency graph in graph-native formats.

    Formats:
    - **graphml** — yEd, Gephi, NetworkX compatible with AIBOM-typed attributes
    - **cypher** — Neo4j import script with AIBOM node labels (AIAgent, MCPServer, Package, Vulnerability)
    - **dot** — Graphviz (pipe through ``dot -Tsvg``)
    - **mermaid** — embed in markdown, GitHub, Notion
    - **json** — machine-readable nodes/edges list

    Returns:
        Graph in the requested format as a string.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
config_pathNoPath to MCP config directory. Omit to auto-discover.
formatNoExport format: graphml, cypher, dot, mermaid, or json (default).json

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, indicating a safe read operation. The description adds that it returns a string and lists formats, which is useful but does not disclose additional behavioral traits like required permissions or performance impact.

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 well-organized using bullet points for formats and a clear line for returns. It is concise, front-loaded with purpose, and every sentence adds value without 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?

Given that annotations fully cover safety and idempotency, and an output schema exists, the description adequately covers all needed information: format options, return type, and parameter purpose. No gaps are evident.

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%, so the meaning of config_path and format is already documented. The description goes beyond by listing available formats with explanations of compatibility and tools, adding value for the format parameter.

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 the agent dependency graph in multiple native formats, with specific format names and use cases. This distinguishes it from sibling tools like scan or analyze, which have different purposes.

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

Usage Guidelines3/5

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

The description does not explicitly state when to use this tool versus alternatives, nor does it provide conditions or exclusions. However, since there are no sibling export tools, this is less critical. It implies use when an export in a specific format is needed.

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/msaad00/agent-bom'

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