Skip to main content
Glama

ask_book

Search book content to find relevant passages with citations using natural language questions. Scope searches with concept IDs for precise results and log retrieval steps for consultation tracking.

Instructions

DEEP CONTEXT — RAG search against book sections. Embeds a natural language question and returns the most relevant book passages with full text, chapter, page numbers, and section title. ALWAYS scope with concept_ids from get_subgraph for precision. Returns suggested_questions derived deterministically from graph edges. Pass consultation_id to log retrieval steps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
questionYesNatural language question to search for in the book
concept_idsNoOptional: scope search to sections linked to these concept IDs
max_passagesNoMaximum number of passages to return (default: 3)
consultation_idNoOptional consultation ID from match_concepts to log this step

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/marcus-waldman/Iconsult_mcp'

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