Skip to main content
Glama

SaaS Pro Max

Get timeseries

get_timeseries
Read-onlyIdempotent

One analytics metric bucketed over time as a dense series, so an empty bucket is a zero rather than a gap. Metrics are visitors, pageviews, sessions, events and conversions.

Input Schema

NameRequiredDescriptionDefault
appYesApplication id, or orgSlug/appSlug as returned by list_apps
rangeNoTime range: 24h, 7d, 30d, 90d, 12m, or custom:YYYY-MM-DD..YYYY-MM-DD. Defaults to 7d.
metricNo
filtersNoNarrow the read to exact values, as "dimension:value" pairs, e.g. ["country:DE", "source:google"]. Dimensions are the ones get_breakdown accepts and the first colon ends the dimension. Filters are combined with AND, cover at most the last 90 days, and the answer carries capped: true when the range had to be shortened.
intervalNo
environmentNoEnvironment slug: production, staging or development. Defaults to production.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds genuinely useful behavior: the series is dense and empty buckets are returned as zero rather than gaps, which affects how results must be interpreted.

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?

Two short, front-loaded sentences with no filler; the purpose leads and the zero-fill clarification follows. Slightly dense phrasing ('dense series') but nothing wasted.

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?

There is no output schema, so the description carries the burden of explaining the return value; it does convey the series shape and zero-fill rule but says nothing about pagination, point count, or interval defaults.

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 67% and the range, filters and environment parameters are documented well in the schema, including the 90-day filter cap and capped flag. The description only restates the metric enum values, adding no format detail 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?

States a specific action and resource ('one analytics metric bucketed over time as a dense series') and adds the key zero-fill semantics. It does not differentiate from the closely named sibling get_metric_series, leaving an agent to guess between them.

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?

Gives no when-to-use or when-not guidance and never mentions alternatives such as get_metric_series, get_breakdown, or get_analytics_overview. Usage is only inferable from the description of output shape.

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