Skip to main content
Glama
mlei06

Elasticsearch MCP (VSee Fork)

by mlei06

top_change

Identify accounts or groups with the largest visit increases or decreases between consecutive time periods to monitor usage trends and subscription impacts.

Instructions

Find top N accounts or groups with highest visit/usage increase or decrease between two consecutive time periods. Returns items ranked by change with current period count, previous period count, absolute change, and percentage change. The previous period is automatically calculated to match the duration of the current period, ending where the current period starts. Supports filtering by subscription tier.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupByYesGroup by: "account" to find top accounts by visit change, "group" to find top groups by visit change
directionYesDirection: "increase" for highest growth, "decrease" for highest decline
topNNoNumber of top items to return (default: 5, max: 50)
startDateNoStart date for current period in ISO format (YYYY-MM-DD) or date math (e.g., "now-30d", "now-1y"). Defaults to "now-30d"
endDateNoEnd date for current period in ISO format (YYYY-MM-DD) or date math (e.g., "now"). Defaults to "now"
subscriptionNoOptional subscription tier to filter by
Behavior4/5

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

With no annotations provided, the description carries the full burden and does well by disclosing key behaviors: it explains how the previous period is automatically calculated, describes the return format (ranked items with counts and changes), and mentions support for filtering. However, it lacks details on permissions, rate limits, or error handling, leaving some gaps for a tool with 6 parameters.

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 efficiently structured in two sentences: the first states the purpose and return format, the second adds behavioral details. Every sentence earns its place by providing essential information without redundancy, making it front-loaded and easy to parse.

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?

Given the complexity of a 6-parameter tool with no annotations and no output schema, the description is reasonably complete. It covers the core functionality, return format, and key behavioral aspects like period calculation. However, it could improve by detailing output structure more explicitly or addressing potential limitations, leaving minor gaps.

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 already documents all parameters thoroughly. The description adds minimal value beyond the schema, only implicitly referencing parameters like 'groupBy', 'direction', and 'subscription' without providing additional semantics. Baseline 3 is appropriate as the schema does the heavy lifting.

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 specific action ('Find top N accounts or groups with highest visit/usage increase or decrease'), identifies the resource ('accounts or groups'), and distinguishes from siblings by focusing on ranking by change between periods rather than general metrics or breakdowns. It explicitly mentions what it returns, making the purpose unambiguous.

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 analyzing changes in visits/usage over time, but does not explicitly state when to use this tool versus alternatives like 'get_visit_trends' or 'get_usage_summary'. It mentions filtering by subscription tier, which provides some context, but lacks clear guidance on scenarios or exclusions compared to sibling tools.

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/mlei06/elasticsearch-mcp-server'

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