Skip to main content
Glama

query_graph

Query the typed Wheel of Heaven content graph: the 1-hop ego network of any corpus node, with typed edges (see_also, in_body, cites_source, same_tradition, same_age, comparison_of) in both directions plus resolved neighbor titles/URLs. Useful for finding everything connected to a concept, or how two entries relate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesNode slug, e.g. 'elohim'
sectionYesSection of the node
edge_typeNoOnly return edges of this type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of explaining behavior. It does this well by disclosing the 1-hop limit, bidirectional edges, typed edge list, and resolved neighbor titles/URLs. It does not mention error handling, auth, or rate limits, but for a read-only graph query, this is reasonably transparent.

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 two sentences long and front-loaded with the core purpose. Every clause adds value: the graph type, the 1-hop ego network, the typed edges, both directions, resolved titles/URLs, and a usage hint. There is no wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 and no annotations, the description covers the essential return behavior (edges, directions, resolved titles/URLs) and provides a practical use case. It lacks explicit notes on empty results or errors, but the description is sufficiently complete for an agent to select and invoke the tool correctly.

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 description coverage is 100% for all three parameters, so the baseline is 3. The description adds minimal extra meaning beyond the schema, such as clarifying that slug and section identify a node and that edge_type filters edges. It does not expand on parameter syntax or provide examples beyond the schema itself.

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 identifies the tool as a query operation on a typed content graph, specifying the exact resource ('typed Wheel of Heaven content graph') and the scope ('1-hop ego network of any corpus node'). It also lists the edge types explicitly, distinguishing it from sibling tools like search_corpus or get_entry.

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?

The description states when to use the tool: 'finding everything connected to a concept, or how two entries relate.' This gives clear context, though it does not explicitly exclude alternatives or mention when not to use it. It implies these use cases separate it from searching or retrieving single entries.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.