Skip to main content
Glama

agentanalytics.sh: Analytics Your Agent Can Use

Errors

errors
Read-only

Use errors as the post-ship guardrail next to compare. Returns grouped $error rows (GET /errors). Pro read. 403 PRO_REQUIRED is not metered, and a success is one metered read. new_since matches listing occurred_at and title. approximate is always set. When true, caps is an array of distinct_triples and window_rows. There is no singular cap.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project": "<project>"
    },
    "name": "errors"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax groups. Defaults to 20 and maxes at 100
sinceNoLookback window: 7d or YYYY-MM-DD. Defaults to 7 days
untilNoInclusive end date YYYY-MM-DD. Defaults to today UTC
projectYesProject name or ID
new_sinceNoDate or annotation title. Ambiguous titles return 400.

Output Schema

NameRequiredDescriptionDefault
dataNo
typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly/non-destructive, and the description adds genuinely useful operational context: it is a Pro read, 403 PRO_REQUIRED is unmetered, a success costs one metered read, approximate is always set, and the caps shape uses distinct_triples and window_rows with no singular cap. This goes well beyond the annotations, though the caps/approximate statements are hard to interpret without knowing the output fields they refer to.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Length is appropriate and the usage framing is front-loaded, but the text is written in clipped fragments whose referents are undefined ('approximate is always set', 'There is no singular cap'), so several sentences do not clearly earn their place without the reader guessing at output-schema fields.

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?

An output schema exists, so return values need not be spelled out, and metering/auth behavior is covered. However, for a grouped-errors tool the description never says what rows are grouped by (message, route, status) or how to page through groups, leaving a meaningful gap for correct invocation.

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 the schema already documents limit, since, until, project and new_since. The description only adds one clarification — that new_since matches listing occurred_at and title — which is marginal over the schema's existing 'Date or annotation title. Ambiguous titles return 400.' 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 concrete verb and resource: returns grouped $error rows (GET /errors), and positions itself relative to the compare sibling as a 'post-ship guardrail'. The grouping dimension itself is never named, and 'post-ship guardrail' is somewhat jargon-laden, but an agent can tell it apart from compare.

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?

'Use errors as the post-ship guardrail next to compare' implies when to reach for this tool (after a ship, as a follow-up to compare), but there is no explicit when-not guidance, no prerequisites, and no statement of what to reach for if a project-level or non-Pro account scenario applies.

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