Skip to main content
Glama

get_graph_ids

Retrieve all stored graph IDs to access and manage network data for visualization and analysis.

Instructions

Get a list of all stored graph IDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The @mcp.tool() decorated async function get_graph_ids() that returns the list of keys from the global graph_cache dictionary. This is the core handler logic for the tool and also serves as its registration via the decorator.
    @mcp.tool() async def get_graph_ids() -> List[str]: """Get a list of all stored graph IDs.""" return list(graph_cache.keys())

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/graphistry/graphistry-mcp'

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