Skip to main content
Glama

deep_search

Read-only

Traverse a knowledge graph from top search results to surface semantically connected items missed by flat search. Returns connected results and exploration count.

Instructions

Multi-hop knowledge search: runs adaptive_search then traverses the knowledge graph from the top-3 results up to max_hops deep, surfacing semantically connected items that a flat search would miss. Returns direct_results + graph_connected + total_nodes_explored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query
max_hopsNoGraph traversal depth from each top result (default 2)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
direct_resultsYes
tainted_directYes
graph_connectedYes
total_nodes_exploredYes
Behavior4/5

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

Annotations indicate readOnlyHint=true, so the tool is safe. The description adds behavioral detail: it runs adaptive_search, traverses up to max_hops from top-3 results, and returns specific graph data. No contradictions; description enriches understanding.

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 sentences front-load the core purpose and process, then list return fields. Every word adds value; no redundancy or filler. Excellent efficiency.

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 2 parameters, annotations, and an output schema (though not shown), the description covers the algorithm, input roles, and output structure. No gaps for the tool's complexity.

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 description coverage is 100%, but the description adds meaning by explaining how parameters are used: query is the search input, max_hops controls traversal depth, and it relates to the process (top-3 results). This goes beyond the schema's bare descriptions.

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 a specific verb and resource ('Multi-hop knowledge search') and explains the process (adaptive_search then graph traversal) and return fields. It distinguishes from sibling tools like search_knowledge by emphasizing connected results beyond flat search.

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 implies when to use: for deep connected results that flat search would miss. However, it does not explicitly state alternatives or when not to use, but the sibling tools list provides context. Clear usage context but lacks explicit exclusions.

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/lildaddyo/braintube-mcp'

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