Skip to main content
Glama

SaaS Pro Max

Get metric series

get_metric_series
Read-onlyIdempotent

One metric aggregated into time buckets with sum, average, count, p50, p95, p99, max or min, optionally filtered by label. Short ranges read raw points and longer ones read five-minute rollups, which the response says explicitly in source.

Input Schema

NameRequiredDescriptionDefault
aggNo
appYesApplication id, or orgSlug/appSlug as returned by list_apps
nameYes
rangeNo1h, 6h, 24h, 7d, 30d or 90d; defaults to 24h
labelsNoLabel equality filters, e.g. { region: 'eu' }
intervalNo
environmentNoEnvironment slug: production, staging or development. Defaults to production.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive semantics, so the description is not needed for the safety profile. It does add genuinely useful behavior beyond annotations: short ranges return raw points while longer ranges return five-minute rollups, and the response discloses which in `source`. It stops short of saying when the rollup boundary kicks in or how dense the buckets become.

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 with no filler: the first defines the operation and its options, the second explains the resolution behavior. Front-loaded and appropriately sized for the tool's complexity.

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?

With no output schema, it usefully mentions the `source` field in the response, covering the main return-value concern. For a 7-parameter tool with only 2 required, however, it leaves defaults for `agg` and `interval` and the interaction between `range` and `interval` unexplained.

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 57%, and the description largely restates the agg enum and label filtering that the schema already defines. Its one real addition is explaining that `range` changes data resolution (raw vs five-minute rollups), which gives that parameter meaning the schema lacks. The `interval`, default agg and environment parameters get no additional explanation.

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?

The description states a specific operation: aggregating a single metric into time buckets, with the exact aggregation functions and label filtering named. It is clear what the tool returns, but it never distinguishes itself from the close sibling get_timeseries (or list_metrics), so an agent cannot tell which to pick from the text alone.

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 explicit when-to-use or when-not-to-use guidance, and no mention of the obvious alternatives get_timeseries, get_breakdown or list_metrics. Usage is only implied by the fact that it works on 'one metric', which an agent could also infer from the name.

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