Skip to main content
Glama

get_event_segmentation

Query event segmentation data for a specified event type and date range, with optional grouping and interval, to analyze how user activity changes over time.

Instructions

Get event segmentation data

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "event_type": "<event_type>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_event_segmentation"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYesEnd date (YYYY-MM-DD)
group_byNoProperties to group by
intervalNoInterval in days
event_typeYesEvent type to analyze
start_dateYesStart date (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing: no note that it is a read-only aggregation, no rate limits, no result shape (per-interval series vs. flat rows), and no explanation of how missing data or empty buckets are handled.

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

Conciseness2/5

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

The single sentence is short and front-loaded, but the brevity is under-specification rather than efficiency. Every word simply echoes the tool name, so nothing in the sentence earns its place.

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

Completeness1/5

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

This is a 5-parameter analytics query with no annotations and no output schema, so the description must supply the context the structured fields cannot. Instead it offers five words, leaving aggregation semantics, return shape, and usage conditions entirely unaddressed.

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%, with each of the five parameters documented in the schema (including the interval enum and group_by array), so the baseline of 3 applies. The description adds no extra meaning about interaction between interval and group_by or the significance of the required date range.

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

Purpose2/5

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

The description 'Get event segmentation data' essentially restates the tool name, adding no verb or scope beyond 'get'. It does not say what 'segmentation' means here (event counts broken out by group_by/interval) or how it differs from siblings like get_cohort_data or get_user_activity.

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

Usage Guidelines1/5

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

There is no when-to-use guidance at all: no indication of when to pick this over get_cohort_data or get_user_activity, no prerequisites, and no mention of what event_type/date-range combinations are valid. The agent must infer everything from the schema alone.

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