Skip to main content
Glama

query_ckg

Retrieve a concept's subgraph (prerequisites + dependents) up to N hops. Use this to traverse the knowledge graph.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hopsNoTraversal depth (1-5, default 3)
domainYesDomain to query
conceptYesExact concept label (e.g. 'Flex Credit', 'Lifetime Token Allocation')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description must carry full burden. It only says 'retrieve', implying read-only, but does not disclose potential side effects (e.g., large result sets, performance impact), authentication needs, or any constraints beyond what the schema covers.

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 concise sentences: first defines the action, second states the use case. No redundant phrases, every word earns its place.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has three parameters, no output schema, and no annotations. The description does not explain the output format (e.g., nodes, edges), error conditions, or domain selection guidance. Adequate but leaves gaps.

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% with clear descriptions for all three parameters. The description adds only 'up to N hops' which echoes the hops parameter. Minimal additional meaning beyond the schema, so baseline score of 3.

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?

Clearly states the tool retrieves a concept's subgraph (prerequisites and dependents) up to N hops. Distinguishes from siblings like get_prerequisites (which likely only gets prerequisites) and search_concepts (which searches, not traverses).

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?

Mentions 'Use this to traverse the knowledge graph' but provides no explicit guidance on when to use versus alternatives like get_prerequisites, no when-not-to-use conditions, and no exclusions.

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.

Resources