Skip to main content
Glama

get_recent

Return recent screenshots from the rolling capture buffer to review past screen activity without triggering a new capture.

Instructions

Return the most recent N screenshots from the rolling capture buffer.

Returns a list of capture entries (timestamp, monitor index, thumbnail reference, OCR snippet) ordered newest-first.

USE WHEN: you need to see what the user was looking at over the last few minutes/hours without triggering a fresh capture. NOT FOR: live state — use get_screenshot for "right now." ALTERNATIVES: get_context_at (specific point in time), search_history (query by OCR text).

BEHAVIOR: pure read from the local buffer. Buffer size and retention are governed by daemon config; defaults to ~last 24h. No side effects.

PARAMETERS: n: how many recent captures to return. Range 1-100. Default 10.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Despite no annotations, description fully discloses behavior: pure read from local buffer, no side effects, and defaults for retention (~24h). Equips agent with safety and impact understanding.

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?

Well-structured with clear sections (purpose, return, usage, behavior, parameters). Every sentence is informative and no redundancy.

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 tool's simplicity and existence of output schema, the description covers all necessary aspects: what it returns, when to use, how to configure, and behavior. No critical gaps.

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?

Input schema has no descriptions (coverage 0%), but the description adds range (1-100) and default (10) for parameter 'n', fully compensating for schema gap.

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?

Description clearly states the tool returns the most recent N screenshots from the rolling capture buffer, with a specific verb and resource. It distinguishes from siblings by naming alternatives like get_screenshot and search_history.

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

Usage Guidelines5/5

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

Provides explicit USE WHEN, NOT FOR, and ALTERNATIVES sections. Clearly guides the agent on when to use (past buffer) vs not (live state), and points to specific sibling tools.

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/ContextPulse/contextpulse'

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