Skip to main content
Glama

getEvents

Read-only

List events. Omit locationRef to list events across all locations, or provide it to scope to one location. Call getLocations to list locations, or getLocation to fetch one by locationId. Filter by startDate or endDate ranges (event times, not creation) or by createDate range. Sort with order (relevance, createDate, startDate, or endDate with :asc or :desc).

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": "getEvents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of events per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100.
orderNoSort order of events. One of relevance, createDate:asc, createDate:desc, startDate:asc, startDate:desc, endDate:asc, endDate:desc.
endDateNoFilter by end date (endDate). Provide gt, gte, lt, lte ISO datetimes.
startDateNoFilter by start date (startDate). Provide gt, gte, lt, lte ISO datetimes.
createDateNoFilter by create date (createDate). Provide gte, lte ISO datetimes.
locationRefNoUUID of the location whose events to list. Omit to list events across every location of the network.
nextPageTokenNoPagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page.

Output Schema

NameRequiredDescriptionDefault
eventsYes
nextPageTokenNoPass it back as nextPageToken, with the same filters, to get the next page. Absent on the last page.

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, destructiveHint=false and openWorldHint=false, so the safety profile is covered. Beyond that the description only adds that date filters apply to event times rather than creation dates; it says nothing about permissions, result volume, or pagination behavior, which the schema covers via nextPageToken and limit.

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?

It is front-loaded with the action and then proceeds in a tight scoping-to-filtering-to-sorting order, with no filler sentences. A few clauses (the full order enumeration) duplicate schema content and could be trimmed without loss.

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?

For a 7-parameter, zero-required list tool with annotations and an output schema, the description covers the decisions an agent actually has to make: scope, filters, and sort. Pagination and the limit default are left entirely to the schema, which documents them adequately.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3, but the description adds genuine meaning: it clarifies that startDate/endDate refer to event times and not creation, which is the one ambiguity the schema does not resolve on its own. The sort enumerations and locationRef omission semantics largely restate schema text.

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

Purpose4/5

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

"List events" gives a specific verb and resource, and the following sentences scope it (all locations vs. one, date filtering, sorting). It does not explicitly distinguish itself from the singular sibling getEvent, so an agent must infer that this tool is the collection/multi-item variant.

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?

It states exactly when to omit locationRef (all locations) versus provide it (one location), names getLocations and getLocation as the way to resolve a locationId, and enumerates the filter and sort knobs with their accepted values. Almost nothing about choosing or configuring this call is left to inference.

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