Skip to main content
Glama

Get the details sent with an event

get_event_properties
Read-only

The properties a site sends with a custom event (for example which book, which city, which plan) and, for each, its most frequent values over a period with their number of occurrences and visitors (ten values per property at most). Use it to answer "which …" about an event: which workshop gets the clicks, which book, which button. Without event, gives the properties of every event of the site. An event sent without properties has none.

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": {
      "site": "<site>"
    },
    "name": "get_event_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd date YYYY-MM-DD (site timezone), included.
fromNoStart date YYYY-MM-DD (site timezone), with `to`.
siteYesThe site: its domain (example.com), its id, or its public id. See list_sites.
eventNoThe event's name, as list_events gives it. Omit for every event.
periodNoA preset period ending today: today, 7d, 30d, 90d, 1y (one year) or all (everything since the site's first visit, five years at most). Default 30d. Ignored when from/to are given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered. Beyond that, the description adds genuinely useful behavior: at most ten values per property, a time window for the frequency counts, and the edge case that events sent without properties return none. It does not describe ordering of the returned values; the top-ten cap is the main addition and it carries the weight here.

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?

Front-loaded with what is returned and why it matters, then the no-`event` behavior and the empty-properties edge case. The illustrative examples are slightly redundant (books and cities appear twice, "which …" twice), but no sentence is filler.

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?

With no output schema, the description carries the burden of describing the return shape and does so: per property, its most frequent values with occurrence counts and visitor counts, top ten at most. Combined with the ordering-free answer format and the omit-event behavior, an agent has enough to call it and interpret results.

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 coverage is 100%, so `site`, `event`, `from`/`to`, and the `period` enum are already fully documented, including the 30d default and that from/to override period. The description adds only the interpretation of omitting `event` (every event on the site), which the schema largely states too — baseline 3 is correct.

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 precise verb and resource: the properties sent with a custom event, plus each property's most frequent values with occurrence and visitor counts, capped at ten values per property. The scope variant (omit `event` to get every event's properties) is spelled out, so an agent can distinguish this from raw-log tools like get_event_log without opening the schema.

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

Usage Guidelines4/5

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

Gives an explicit use case — answering "which …" questions such as which workshop, book, or button — which tells the agent when this tool fits. It does not name a when-not case or point to a specific alternative such as get_event_log or get_breakdown, so the routing is implied rather than exhaustive.

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