Skip to main content
Glama

search_semantic

Find code symbols by meaning using hybrid semantic and keyword search across repositories. Combines natural language queries with structural analysis to locate relevant functions and symbols beyond exact name matches.

Instructions

Hybrid semantic + structural search across all symbols in a codebase.

Combines FTS5 keyword matching with vector similarity (if embeddings exist)
using Reciprocal Rank Fusion. Finds symbols by meaning, not just exact name match.

Example: search_semantic(repo, "handle user authentication") finds auth-related
functions even if they're named validate_token or check_credentials.

Run `python3 -m tempograph <repo> --embed` first to enable semantic vectors.

repo_path: absolute path to repository
query: natural language description of what you're looking for
limit: max results (default 10)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYes
queryYes
limitNo
exclude_dirsNo
output_formatNotext

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

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/Elmoaid/TempoGraph'

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