Skip to main content
Glama

query_collection_handler_api_v1_retrieval_query_collecti

Query specified collections to retrieve relevant results using hybrid search and reranking. Accepts collection names, query text, and optional parameters for tailored retrieval.

Instructions

Query Collection Handler

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collection_namesYes
enable_enriched_textsNo
hybridNo
hybrid_bm25_weightNo
kNo
k_rerankerNo
queryYes
rNo
Behavior1/5

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

With no annotations, the description carries the full burden of disclosing behavioral traits. It fails to mention that this is a read-only query operation, any required permissions, or potential side effects. The description is essentially empty.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness1/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely short (4 words), but this is under-specification rather than conciseness. It lacks any structure or useful content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 8 parameters, no output schema, and no annotations, the description is completely inadequate. It provides no context for the agent to understand the tool's purpose or behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, meaning the description must compensate for the missing parameter explanations. The description adds no meaning to parameters like 'hybrid', 'k', or 'r'. The schema titles are not explained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Query Collection Handler' is a tautology that restates the tool name without specifying the action or resource. It does not convey that this tool performs a retrieval query against a specified collection, nor does it distinguish from siblings like 'query_doc_handler'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No usage guidelines are provided. The description offers no indication of when to use this tool versus alternatives (e.g., query_doc_handler, process_text) or any prerequisites or context.

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/TETRA-2023/open-webui-mcp'

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