Skip to main content
Glama

get_top_searches

Read-only

Top user search queries (normalized: lowercased, trimmed), ranked by occurrence count. Use this to discover dominant user intents and content gaps; pair with read_sessions(search_query=...) to inspect specific sessions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of rows to return, ordered by count descending.
time_filterNoTime window for the analytics query. Accepts either: (a) a preset enum value: 'this_month', 'this_year', 'last_month', 'last_30_days' (default), 'last_6_months', 'last_12_months'; or (b) an explicit ISO date range as 'YYYY-MM-DD,YYYY-MM-DD' (inclusive).last_30_days

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses key transformations and ordering behavior: normalization via lowercasing/trimming and ranking by occurrence count. This is exactly the kind of behavioral context that helps an agent interpret results correctly.

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?

Two dense sentences with no filler. The core output definition is front-loaded, followed immediately by actionable usage guidance and a named companion tool.

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?

The tool has only two optional, well-documented parameters, an output schema, and read-only annotations. The description covers what the tool returns, how queries are normalized, how they are ordered, and how to use the results—nothing needed for correct invocation is missing.

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

Parameters3/5

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

The input schema already describes both parameters thoroughly with 100% coverage, including defaults, enums, and the custom date-range format. The description itself adds no parameter-specific meaning, but that is not a shortfall given the schema's completeness.

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 identifies the resource ('user search queries') and adds specific behavioral details: normalized (lowercased, trimmed) and ranked by occurrence count. This unambiguously distinguishes it from the many sibling get_top_* tools even without an explicit imperative verb.

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?

It explicitly states when to use this tool ('discover dominant user intents and content gaps') and names a complementary alternative ('pair with read_sessions(search_query=...)'). This gives an agent clear routing guidance and a concrete follow-up action.

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.6/5.0
Disambiguation5/5

Each tool targets a distinct resource or metric, and even the closely related analytics tools (e.g. get_top_languages vs get_top_locales, get_top_interaction_sources vs get_top_clicked_urls) are explicitly differentiated in their descriptions. There is no real overlap that would cause an agent to misselect.

Naming Consistency4/5

The verb prefixes create_, get_, list_, read_, and update_ are used predictably, and there is no mixing of camelCase or other conventions. The main inconsistency is that read_sessions is actually a list operation while list_nodes is the equivalent pattern for nodes, and read_session_detail is the singular read.

Tool Count2/5

At 33 tools, this set is well beyond the 16-25 'heavy' range and far above the typical well-scoped 3-15 range. Many of the get_top_* analytics endpoints are individually distinct but could likely be consolidated into fewer parameterized tools to reduce agent selection overhead.

Completeness3/5

The read and analytics side is comprehensive, but the management lifecycle has notable gaps: knowledge nodes support create/read/update but no delete, and data sources/tools lack create/delete operations. Agents can work around some gaps, but content deletion is a clear dead end for a knowledge-base management surface.

Resources