Skip to main content
Glama
@mitr-analytics/mcp

@mitr-analytics/mcp

by shiv9thakur

Get an app's most recent raw events

get_recent_events
Read-only

Fetch recent raw telemetry events for a single app to spot-check what is actually being tracked, including event type, path, referrer, UTM, device, geo, and custom properties.

Instructions

Fetch the most recent raw telemetry events for one app — event type, path, referrer, UTM, device/geo, and custom properties. Useful for spot-checking what's actually being tracked, alongside get_app_report's aggregated view.

Input Schema

NameRequiredDescriptionDefault
limitNoMax events to return (default 20, max 50).
siteIdYesThe app's siteId, from list_apps.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare a safe read-only, closed-world operation, so the description's job is to add context — and it does, by disclosing the returned field set (event type, path, referrer, UTM, device/geo, custom properties) and the recency ordering. It omits pagination/truncation behavior around the 50-event cap, which is the only remaining gap.

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?

Two tight sentences: the core action and returned fields come first, and the sibling differentiation is deferred to the end. No redundant restatement of the title.

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 two-parameter read tool with full annotation coverage and no output schema, the description supplies enough return-content detail to call it correctly and interpret results. Only the behavior at the event cap is 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%, so both siteId and limit (default 20, max 50) are already fully documented in the schema. The description adds only the implicit notion of recency ordering and does not elaborate on parameters, so baseline 3 applies.

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 specific verb ('Fetch') and resource ('most recent raw telemetry events for one app') and enumerates the fields returned. It explicitly contrasts with get_app_report's aggregated view, so an agent can distinguish it from the sibling without reading either 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?

Names the alternative (get_app_report) and the selecting condition ('spot-checking what's actually being tracked' vs 'aggregated view'). It does not state exclusions or a limit/volume caveat, but the raw-vs-aggregated routing is clear.

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