Skip to main content
Glama

get_subgraph

Explore relationships between architecture concepts by traversing a knowledge graph to identify prerequisites, alternatives, conflicts, and synergies in multi-agent system designs.

Instructions

QUERY PLANNER — Bounded graph traversal from seed concepts. Given one or more concept IDs (from match_concepts or list_concepts), performs BFS up to max_hops and returns all reachable nodes and edges. Use relationship types to discover what the user is missing: alternative_to for competing approaches, requires for prerequisites, conflicts_with for incompatibilities, complements for synergies. Pass consultation_id to log traversal steps for coverage tracking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
concept_idsYesList of concept IDs to start traversal from
max_hopsNoMaximum traversal depth (1-3, default: 2)
confidence_thresholdNoMinimum edge confidence to traverse (0.0-1.0, default: 0.5)
max_edgesNoMaximum edges to return (1-200, default: 50)
include_descriptionsNoInclude edge description text (default: false)
consultation_idNoOptional consultation ID from match_concepts to log this step

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/marcus-waldman/Iconsult_mcp'

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