Skip to main content
Glama

get_research_session

Read-onlyIdempotent

Recover a sequential research session after context loss. Returns session summary, step index, and recent steps from the last 4 hours.

Instructions

Recover a sequential_search research session after context loss. Returns the session summary, step index, and most recent steps. Use stepId to retrieve full details of a specific earlier step. Sessions persist for 4 hours from last activity and survive server restarts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesThe session ID to recover.,required
stepIdNoRetrieve full details for a specific step number. Omit to get session overview.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
gapsNo
lastStepsNo
researchGoalNo
responseModeNo
sessionIdNo
sourcesNo
startedAtNo
stepNo
stepCountNo
stepIndexNo
summaryNo
Behavior4/5

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

Annotations already indicate readOnlyHint=true, destructiveHint=false, and idempotentHint=true. The description adds behavioral context beyond annotations, such as session persistence for 4 hours and survival across server restarts, without contradicting annotations.

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?

The description is three concise sentences, each serving a purpose: stating the tool's goal, explaining the stepId usage, and providing retention policy. No redundant information.

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?

Given the presence of an output schema and comprehensive annotations, the description is complete. It covers recovery use, step-id usage, and session persistence, ensuring the agent has sufficient context to use the tool correctly.

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

Parameters4/5

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

Schema coverage is 100%, but the description adds meaning beyond the schema: it clarifies that sessionId is for recovery and stepId is optional for retrieving specific step details. The schema description for sessionId has a typo, but the description compensates.

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 explicitly states 'Recover a sequential_search research session after context loss', providing a specific verb (recover) and resource (research session). It clearly distinguishes the tool from siblings like sequential_search and web_search by focusing on session recovery.

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 instructs to use stepId to retrieve full details of a specific earlier step, offering clear usage guidance. However, it does not explicitly state when not to use the tool or mention alternatives like starting a new search session.

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/zoharbabin/web-researcher-mcp'

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