Skip to main content
Glama

Query Cronitor RUM analytics

query_site
Read-onlyIdempotent

Query RUM aggregations, breakdowns, time series, search options, or error groups, matching cronitor site query. Use describe_site_query for metric meanings, valid combinations, and complete local-day examples.

Input Schema

NameRequiredDescriptionDefault
endNoCustom ISO-8601 end time.
envNoEnvironment key or name; defaults to the organization's default environment.
pageNo
siteYesRUM site key.
timeNoNamed time range.
typeYesQuery shape.
startNoCustom ISO-8601 start time.
bucketNoTime bucket for a timeseries query.
searchNoRequired for search_options only; empty string is allowed. Use filters for analytics queries.
compareNoCompare with the previous time range.
filtersNo
metricsNoMetric fields; describe_site_query explains meanings and query compatibility. search_options instead takes search fields.
group_byNoDimension used for a breakdown.
order_byNoUp to two selected metric or group_by fields (error_groups also accepts key), with '-' for descending. Omit for default ordering.
timezoneNoIANA timezone; defaults to UTC, not the account timezone.
page_sizeNo
filters_behaviorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / order_by / description
      Previous value: -"Up to two selected metric or group_by fields, with '-' for descending. Omit for default ordering."New value: +"Up to two selected metric or group_by fields (error_groups also accepts key), with '-' for descending. Omit for default ordering."
    • removedInput schema / properties / order_by / items / minLength
      Removed value: -1
    • addedInput schema / properties / order_by / items / pattern
      Added value: +"^-?[a-z0-9_]+$"
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds only that behavior mirrors the `cronitor site query` CLI command, which helps agents with prior CLI knowledge. It says nothing about pagination behavior for the `page`/`page_size` params, result caps, or how large breakdown/error_groups responses can get.

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 sentences, both load-bearing: the first establishes scope and the CLI analogue, the second routes to the documentation tool. Nothing is repeated from the schema and the operational guidance is front-loaded.

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?

This is a high-complexity tool with a 17-parameter conditional schema (allOf branches that flip required fields per `type`), and the description correctly delegates the combinatorial rules to `describe_site_query` rather than under-specifying them. With no output schema, one might expect a note on return shape, but that is a minor gap against the strong hand-off to the companion tool.

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 76% across 17 parameters, so the schema carries most of the semantic load with per-field descriptions for `site`, `time`, `bucket`, `filters`, `metrics`, `order_by`, and `timezone`. The description adds no parameter-level meaning beyond pointing to `describe_site_query` for metric interpretations. Baseline 3 is appropriate given the coverage level.

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 uses a specific verb (Query) against a specific resource (RUM analytics) and enumerates the five query shapes that map directly onto the `type` enum, so an agent can match intent to tool immediately. It also names the sibling `describe_site_query` that handles documentation, drawing a clean boundary between the two.

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?

It gives an explicit routing rule: use this tool to run queries, use `describe_site_query` for metric meanings, valid combinations, and examples. That covers the main ambiguity for an agent. It stops short of saying when to pick each `type` (aggregation vs breakdown vs timeseries) or when not to use this tool at all.

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