Skip to main content
Glama

query_context

Search stored semantic information using natural language queries to retrieve relevant context for AI agents. Enables semantic search with metadata filtering to help agents access knowledge.

Instructions

Search for relevant context based on a natural language query. Returns the most semantically similar stored contexts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe search query in natural language
topKNoNumber of results to return (default: 5, max: 20)
filterNoOptional filter expression for metadata (Upstash filter syntax)

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/Raunak-dev-18/context-mcp'

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