Skip to main content
Glama

ask_in_thread

Ask a question in an existing conversation thread, using prior messages as context to retrieve relevant answers and source documents from the knowledgebase.

Instructions

Ask a question within an existing conversation thread. The AI answers with the thread's prior messages as context (so follow-ups like "and what about X?" work), running RAG over the published knowledgebase. Returns the answer plus source documents. Both your question and the answer are saved to the thread.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
questionYesThe next message/question in the conversation (max 4000 chars).
threadIdYesThe thread UUID from create_chat_thread or list_chat_threads.
categoryIdsNoOptional list of category UUIDs (from list_categories). On create/update, tags the document. On ask tools, restricts retrieval to these categories.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses the side effect ('Both your question and the answer are saved to the thread'), clarifies retrieval behavior ('running RAG over the published knowledgebase'), and notes the return value ('Returns the answer plus source documents'). This is good but not exhaustive (e.g., no mention of rate limits or permission requirements).

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-loaded with purpose, followed by behavior and return value. Every sentence earns its place; no padding.

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?

For a tool with no output schema, the description adequately explains the return value, usage context, and side effects. It is complete enough for an agent to select and invoke the tool correctly, given sibling tools.

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 description coverage is 100%, so the baseline is 3. The description adds some context (e.g., categoryIds restrict retrieval during RAG), but the schema already explains parameter meanings. The description does not substantially enrich the parameter semantics beyond the schema.

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 the tool's function: 'Ask a question within an existing conversation thread.' It distinguishes itself from siblings by emphasizing thread context ('prior messages as context') and follow-up capability, differentiating from ask_ai or search_documents.

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?

Usage context is implied clearly: use when an existing thread is held and contextual follow-ups are needed ('follow-ups like "and what about X?" work'). It does not explicitly name alternatives or exclusions, but the context is enough for an agent to decide.

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/deanjbrown/meetrupert-mcp'

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