Skip to main content
Glama

list_events

Read usage events (paginated, read-only). Filter by meter, provider, consumer_class (internal|external|unknown), channel, outcome (ok|error), and ISO date range [since, until). Test-flagged events are excluded unless include_test=true. Returns events + next_cursor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
sinceNo
untilNo
cursorNo
channelNo
outcomeNo
meter_idNo
providerNo
include_testNo
consumer_classNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It states the tool is read-only, paginated, and describes filtering capabilities, including the exclusion of test-flagged events unless include_test=true. It also mentions the return value ('events + next_cursor'). This covers most key behaviors, though it omits rate limits or permission requirements.

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 two sentences: the first states the main purpose, the second details filters and return value. It is concise, front-loaded, and every sentence adds value.

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 10 parameters and presence of an output schema, the description covers read behavior, pagination, filtering options, and the special case for test events. It is fairly complete, though it could specify the ISO date format more precisely or mention related usage concepts.

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

Parameters5/5

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

Schema has 0% description coverage, so the description must compensate. It lists all major filters (meter, provider, consumer_class with values, channel, outcome with values, since/until as ISO date range) and implies pagination parameters. This adds significant meaning beyond the schema's minimal type/default information.

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 starts with 'Read usage events (paginated, read-only)', clearly specifying the verb 'Read', the resource 'usage events', and key traits. It distinguishes from sibling tools like list_meters and record_usage.

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 lists available filters but does not provide explicit guidance on when to use this tool versus alternatives, nor does it mention when not to use it. It implies usage context through the filter options but lacks explicit exclusions.

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.

TDQS

A3.5/5.0
Disambiguation5/5

Each tool targets a distinct aspect of usage metering: creating meters, recording events, generating reports, flagging synthetic data, closing periods, and verifying chain integrity. No two tools have overlapping purposes.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (e.g., close_period, create_meter, list_events). No deviations or mixed conventions.

Tool Count5/5

With 11 tools, the set is well-scoped for a metering server. It covers creation, recording, listing, reporting, admin flags, period closing, and chain verification without being unnecessarily large.

Completeness4/5

The core lifecycle is covered: create meter, record usage, list events, generate reports, close period. Missing are tools to update/delete meters or retrieve invoices, but these are minor gaps given the immutable design intent.