Skip to main content
Glama

research

Decomposes complex questions into sub-queries, searches sources in parallel, and synthesizes a cited report with findings, highlights, and gaps.

Instructions

Multi-step research on a complex question. Decomposes into sub-queries, searches in parallel, fetches sources, synthesizes a cited report. Beats chaining search + fetch manually for multi-source synthesis.

LLM-optional: with a synthesis LLM configured, the returned report is a written answer. Without one it returns a structured, cited brief (key_findings/highlights/sections) — YOU write the final answer from it; do not hand the user the raw structure as a weak result. For the best research quality a free Gemini API key (or any provider) is strongly recommended.

Key parameters:

  • question: the research question.

  • depth: 'quick' (~15s, 2 sub-queries) | 'standard' (~40s, 4 sub-queries, default) | 'comprehensive' (~80s, 7 sub-queries).

  • max_sources: override per-depth source count.

  • include_domains / exclude_domains: scope.

  • schema: optional JSON Schema — structures the report.

  • stream: progress notifications per phase.

  • max_tokens_out / include_full_markdown / citation_format: budget + shape controls.

Returns report (markdown with [N]), citations[], sources[], sub_queries[], depth, total_time_ms, sampling_supported, and brief with topics, highlights, key_findings, sections (overview.cross_references, comparison, gaps — gaps lists any named sub-entity research could not corroborate).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
depthNoResearch depth: quick (~15s), standard (~40s, default), comprehensive (~80s)
schemaNoOptional JSON Schema -- structure the report to extract these fields
streamNoSend progress notifications as each research phase completes
questionYesThe research question to investigate
max_sourcesNoOverride the default source count for the chosen depth (max 50)
max_tokens_outNoToken-budget cap on total output. Uses cl100k-base BPE; non-OpenAI tokenizer counts may drift ~5-15%. When both max_tokens_out and max_chars are set, max_tokens_out wins.
citation_formatNoCitation rendering style. 'numbered' (default) inline [N] markers; 'json' returns a citations[] array; 'anthropic_tags' wraps sources in <source id='...'> tags.
exclude_domainsNoExclude results from these domains
include_domainsNoOnly search results from these domains
include_full_markdownNoInclude full markdown body in the response. Default false on multi-result tools (returns evidence excerpts only); set true to restore.
Behavior5/5

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

With no annotations, the description fully discloses behavior: decomposes into sub-queries, parallel search, fetching, synthesis, and returns detailed structures (report, brief with key_findings/highlights/sections, gaps). It also explains optional LLM dependency and parameter effects on timing and output.

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

Conciseness4/5

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

The description is long but well-structured, with a clear summary first, then LLM-optional nuance, then parameter details, then return shape. Every sentence adds value, though it could be slightly more terse without losing clarity.

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 complex tool with 10 parameters, no output schema, and nested objects, the description is remarkably complete. It covers return fields (citations, sources, brief with topics/highlights/gaps), phases, and optional LLM behavior. Missing only error/exception details and explicit prerequisites (API key mentioned as optional).

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

Parameters5/5

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

Schema coverage is 100%, but the description adds significant meaning: explains depth time estimates, max_sources usage, citation formats, include_full_markdown effects, and schema parameter for structuring output. This goes beyond the schema's basic descriptions.

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 is for multi-step research on complex questions, decomposing into sub-queries, searching, and synthesizing a cited report. It distinguishes itself from manual chaining of 'search' and 'fetch' by offering multi-source synthesis.

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?

The description explains when to use this tool (complex questions requiring multi-source synthesis) and how it compares to alternatives (beats chaining search+fetch manually). It also provides guidance on handling outputs when no synthesis LLM is configured. However, it does not explicitly state when not to use it.

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/KnockOutEZ/wigolo'

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