Skip to main content
Glama

MCP Server By TestMu AI

Get Analytics Errors

getAnalyticsErrors
Read-only

Summarises failed and errored web automation tests in a date range: counts by failure category and by status, and the failing tests themselves with build and environment. Failure categories exist only for about the last 7 days of tests; older failures are counted as uncategorised.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum failing tests to list, 1 to 200. Defaults to 20.
toDateNoEnd date, YYYY-MM-DD. Defaults to today.
fromDateNoStart date, YYYY-MM-DD, within the last 59 days (older results are not served). Defaults to 30 days before toDate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / fromDate / description
      Previous value: -"Start date, YYYY-MM-DD. Defaults to 30 days before toDate."New value: +"Start date, YYYY-MM-DD, within the last 59 days (older results are not served). Defaults to 30 days before toDate."
  2. Changed3 schema fields changed
    • changedInput schema / properties / fromDate / description
      Previous value: -"Start date (ISO 8601 format)"New value: +"Start date, YYYY-MM-DD. Defaults to 30 days before toDate."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of results to return"New value: +"Maximum failing tests to list, 1 to 200. Defaults to 20."
    • changedInput schema / properties / toDate / description
      Previous value: -"End date (ISO 8601 format)"New value: +"End date, YYYY-MM-DD. Defaults to today."
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, non-open-world), so the description's job is to add context — and it does: the ~7-day window for failure categories and the fact older failures fall back to 'uncategorised' is a real, non-obvious data caveat. It stops short of noting ordering, latency, or empty-result behaviour.

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, zero filler. The core purpose and return shape are front-loaded, and the second sentence is a genuine caveat that earns its place rather than padding.

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

Completeness5/5

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

With no output schema, the description carries the burden of describing returns and does so — counts by failure category and status, plus the failing tests with build and environment. Combined with the fully documented input schema and safety annotations, an agent has everything needed to call this correctly.

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%, with limit, fromDate and toDate all fully documented including defaults and the 59-day bound. The description only restates 'date range' generically and adds no format or boundary detail beyond the schema, so the baseline 3 applies.

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 verb (summarises) and a tightly scoped resource (failed and errored web automation tests) plus the exact breakdowns returned, which separates it from broad analytics tools. However, it never names the neighbouring tools (getAnalyticsData, getFlakyTests, getTestTrends), so an agent must infer the distinction from scope alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the 'date range' framing and the failure-only scope let an agent infer it is for troubleshooting recent failures. There is no explicit when-to-use, no when-not-to-use, and no pointer to alternatives such as getTestTrends for pass/fail trends or getFlakyTests for intermittency.

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