Skip to main content
Glama

get_source_event_metrics

Read-onlyIdempotent

Get source event-volume metrics including counts by event type/name. filteredEvents lists every event a destination filter dropped in the window; events rows carry their filteredCount

Input Schema

NameRequiredDescriptionDefault
pageNoPage number. Default: 0
sort_byNo
end_timeNoEnd time in RFC3339 format. Defaults to now
search_byNoFilter by exact event name
source_idYesID from list_sources
sort_orderNo
start_timeNoStart time in RFC3339 format. Defaults to 2 hours before end_time
workspace_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add return-shape context. It does add some: filteredEvents lists every event a destination filter dropped in the window, and events rows carry filteredCount. That is genuinely useful, but it is stated so tersely that the agent cannot tell the response structure or how the two collections relate.

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

Conciseness3/5

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

Two sentences with the purpose front-loaded, so no padding. However, the second sentence crams two output-field names (filteredEvents, filteredCount) into one clause without enough context to be parseable on a first read.

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

Completeness3/5

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

For an 8-parameter metrics tool with no output schema, the definition is only partly adequate. It hints at the return payload but does not describe aggregation window behavior, pagination, or what the counts represent, leaving real gaps for an agent composing a query.

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

Parameters2/5

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

Eight parameters with 63% schema coverage, and the description explains none of them. sort_by, sort_order and workspace_id are undocumented anywhere, and start_time/end_time are only obliquely gestured at via 'in the window' without stating the default 2-hour lookback or RFC3339 format. It adds essentially no meaning beyond the schema.

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?

"Get source event-volume metrics including counts by event type/name" states a specific verb (get), resource (source event metrics), and what the payload contains. The 'source' qualifier separates it in spirit from get_destination_event_metrics and get_transformation_event_metrics, though those siblings are never named.

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?

There is no when-to-use or when-not-to-use guidance and no alternative is named. An agent must infer from the name alone whether this or get_source_tracking_plan_event_metrics / get_source_event_properties is the right tool for a given question.

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