Skip to main content
Glama

cache

Query the LOCAL CACHE of every page this server has fetched and every search it has run. Check here BEFORE re-fetching or re-searching — a hit is instant and free while a fresh fetch costs 5-60s. Use query for full-text search (works for Chinese substrings and English words), get to pull a page's full cached content, stats for counts, clear to delete rows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNoWith clear: delete everything cached for this caller
getNoReturn the FULL cached content of this exact URL instead of listing hits
urlNoOnly rows whose URL contains this substring
kindNoWhich rows to search: "auto" (default, pages + searches), "pages", or "searches"
clearNoDelete matching rows instead of returning them (requires url, since_hours, or all)
limitNoMaximum rows returned (default: 10, max 100)
queryNoFull-text search over cached page contents, titles, URLs and past search queries. Omit to list the latest rows.
statsNoReturn row counts and database size instead of rows
since_hoursNoOnly rows stored within the last N hours

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only provide readOnlyHint=false, so the description carries the behavioral burden. It clearly discloses the destructive clear behavior ('clear to delete rows'), notes the performance difference, and adds functional specifics like Chinese substring and English word full-text support. This is strong coverage, though it does not mention irreversibility or permission requirements.

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?

Three dense sentences carry the core message: what the tool accesses, when to use it, and how the main query modes map to parameters. No filler, and the most important guidance is front-loaded.

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 9-parameter tool with no output schema and read-write behavior, the description provides a strong operational overview and covers the main modes. Remaining parameter details (limit, since_hours, kind) are documented in the schema, so the description is sufficiently complete for selection and invocation.

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%, so baseline is 3. The description adds genuine semantic value by mapping modes to parameters: query for full-text search, get for full cached content, stats for counts, clear for deletion. This goes beyond the individual schema 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?

States a specific verb and resource: 'Query the LOCAL CACHE of every page this server has fetched and every search it has run.' This clearly distinguishes it from siblings like fetch and search, making the tool's scope immediately obvious.

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?

Explicitly instructs the agent to 'Check here BEFORE re-fetching or re-searching' and contrasts the instant/free cache hit with a costly fresh fetch. This directly routes usage away from fetch/search when a cached result may already exist.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.8/5.0
Disambiguation4/5

Most tools have distinct purposes, but there's overlap between session_click/click and session_eval/eval. Descriptions clarify that session_* tools operate on persistent sessions while the others are one-off, so ambiguity is low.

Naming Consistency4/5

The session_* prefix is consistently used for session-related tools (17 of 23), while the remaining tools (cache, click, download, eval, fetch, search) are single-word lowercase verbs. This is a clear pattern, though not strictly verb_noun.

Tool Count4/5

23 tools is above the typical 3-15 range but reasonable for a browser automation server that needs both one-off and session-based operations. The count is justified by the breadth of features, though it's slightly heavy.

Completeness5/5

The surface covers all major browser automation needs: navigation, clicking, typing, scrolling, screenshot, state inspection, console/network logs, cookies/storage management, JavaScript eval, waiting, and even session export. No obvious gaps for the stated purpose.