Skip to main content
Glama

ask_brain

Ask natural-language questions about your browsing history and get AI-powered answers using RAG. Filter results by event type, domain, or time window.

Instructions

Ask a natural-language question about the user's browsing history.

Uses RAG (Retrieval-Augmented Generation) to find relevant browsing events and generate an AI-powered answer. Requires Ollama or OpenRouter.

Args: question: Natural language question (e.g. "What was I working on yesterday related to RAG?") event_type: Filter by type: page_visit, selection, copy, paste, focus_time, page_content domain: Filter by website domain last: Time window (e.g. "7d", "24h", "2w")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
questionYes
event_typeNo
domainNo
lastNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries full burden. It discloses use of RAG and requirement of Ollama/OpenRouter, which is helpful. However, it omits details on response behavior, error handling, or performance implications.

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 concise, front-loaded with purpose, then details. Every sentence adds value without redundancy. The Args list is structured and clear.

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

Completeness4/5

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

The tool has an output schema (not shown) so return values need not be described. The description covers input semantics, technology, and requirements. It is complete for basic use, though a note on answer format or limitations would improve it.

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 0%, but the description's Args section adds meaning: examples for question, allowed values for event_type, domain description, and format for last. This compensates well, though further detail on defaults could elevate it.

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 it answers natural-language questions about browsing history using RAG. It distinguishes from siblings like search_history by emphasizing natural language and AI-powered answers.

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

Usage Guidelines3/5

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

The description implies usage for natural language queries but does not explicitly contrast with sibling tools or state when not to use it. No exclusions or alternatives are provided, leaving the agent to infer 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/ArpitaSethi-12/digital-brain'

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