Skip to main content
Glama

get_event_trends

Event counts over time. Needs a plan with analytics.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_event_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO 8601 upper bound
fromNoISO 8601 lower bound
typeNoevent type
bucketNotime bucket, e.g. day or week
group_byNogrouping dimension
severityNoseverity filter
jurisdictionNojurisdiction code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden, and it discloses only one behavioral fact: an analytics-plan entitlement is required. It says nothing about defaults for unset parameters (e.g., what bucket or range applies when from/to are omitted), result limits, pagination, or what failure looks like without the required plan. For a 7-parameter aggregation tool with zero annotation coverage, this is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no filler, and the core purpose is front-loaded before the prerequisite. The terseness is efficient even though it slides into under-specification rather than being genuinely complete.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There are 7 optional parameters, no output schema, and no annotations, so the description is the only place an agent could learn response shape, defaults, or entitlement failure behavior — and it covers none of these. Given the tool's complexity, the definition leaves the agent guessing about what a valid, useful call looks like beyond the prerequisite.

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 all seven parameters (to, from, type, bucket, group_by, severity, jurisdiction) are already documented in the schema. The description adds no further meaning such as accepted bucket values, timezone handling for the ISO bounds, or the interaction between bucket and group_by. Baseline 3 is appropriate since the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says "Event counts over time," which identifies a specific aggregation (counts) over a temporal dimension, so the agent can distinguish it from get_event (single record) or search_events (listing). However, it never states what is being counted or how the trend is shaped (bucketed series, grouped series), and it does not name any sibling tool to route against. Purpose is recognizable but only loosely specified.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage condition given is "Needs a plan with analytics," which is an entitlement prerequisite rather than when-to-use guidance. Nothing tells the agent when to prefer this over search_events or get_event_hotspots, or when a time-bucketed trend is the wrong request. No exclusions or alternatives are mentioned.

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.

Resources