Skip to main content
Glama

get_search_history

Read search history to avoid duplicate work and save credits. Returns empty list when no history exists.

Instructions

Read the locally saved search history (data/searchHistory.json).

Check this before launching a new search to avoid duplicate work and save credits. Returns an empty list when nothing has been saved yet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Without annotations, the description carries the burden. It states it reads a local file, returns an empty list if nothing saved, and implies no destructive effects. It is transparent about the read-only nature and the return format.

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 has three sentences, each serving a purpose: action, usage, return. It is concise and front-loaded with the most important information.

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?

For a tool with no parameters and no output schema, the description covers purpose, usage, and return behavior adequately. It could be slightly more explicit about the local scope, but it is otherwise complete.

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?

There are no parameters (0 params), and the description does not add parameter information. According to guidelines, baseline is 4 for 0 parameters. The description is consistent with the schema.

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 reads the locally saved search history, with a specific file path and the behavior when empty. It distinguishes from other search-related tools by emphasizing it's for review before a new search.

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 explicitly advises checking history before a new search to avoid duplicate work and save credits, providing clear when-to-use guidance. It does not name specific alternative tools but implies this is the pre-search check tool.

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/webloom-agency/link-finder-mcp'

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