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

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

Annotations already establish readOnlyHint=true and openWorldHint=false, and the description adds meaningful behavioral details: results are normalized (lowercased/trimmed) and ranked by occurrence count. It also positions the tool as a high-level analytics entry point, which informs the agent's expectations about granularity.

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 sentences with no filler: the first delivers the core result and normalization behavior, the second explains why and how to use it. Every sentence earns its place and the most important information is front-loaded.

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 low parameter count, high schema coverage, output schema presence, and read-only annotations, the description is complete. It adds the key non-obvious context—normalization, ranking, and the recommended pairing with read_sessions—leaving no critical gap for an agent to call it correctly.

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?

Schema description coverage is 100%, so the schema fully documents both 'limit' and 'time_filter' parameters, including defaults and formats. The description adds no parameter-specific meaning beyond what the schema already provides, so the baseline of 3 is appropriate.

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 ('get top searches') and describes exactly what is returned: normalized, lowercased, trimmed user search queries ranked by occurrence count. The normalization detail adds precision and helps distinguish this from sibling analytics tools like get_top_clicked_urls or get_top_cited_sources.

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 says when to use this tool ('discover dominant user intents and content gaps') and provides a concrete complementary workflow: pair with read_sessions(search_query=...) to inspect specific sessions. This is clear, actionable guidance that routes the agent appropriately.

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

Each tool targets a distinct resource or metric. The many get_top_* endpoints are differentiated by the specific dimension measured, and read_* / list_* / get_* verbs consistently separate detail retrieval from aggregation and paginated listings. Explicit distinctions like get_top_languages vs get_top_locales and get_top_interaction_sources vs get_top_clicked_urls remove ambiguity.

Naming Consistency5/5

Tool names follow a predictable verb_noun pattern: create_* for mutations that add, update_* for edits, list_* for paginated collections, read_* for detailed record access, and get_* for aggregate analytics. Even with 33 tools the naming convention is uniform and readable.

Tool Count2/5

33 tools exceeds the 25+ threshold for 'too many' and is heavy for a single server surface. While the analytics getters are individually focused, the set is larger than typical for an MCP server and could be consolidated or grouped more tightly.

Completeness3/5

Analytics coverage is thorough, and nodes/prompts have create/read/update lifecycles. However, there are no delete operations anywhere, and data sources and tools support update but not create or delete, leaving notable lifecycle gaps for administrative tasks.

Resources