Skip to main content
Glama
olaj

unofficial-trackjs-mcp

by olaj

Errors per hour

errors_by_hour
Read-onlyIdempotent

Pinpoint when an error spike started by retrieving hourly error totals with affected-user counts and TrackJS links, optionally narrowed by date-time, application, and sort order.

Instructions

Hourly error totals with affected-user counts and TrackJS links (GET /errors/hourly), newest hour first by default. Use to pinpoint when a spike started. Pass date-times (e.g. 2026-10-18T06:00:00Z) to narrow the window.

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page number. Defaults to 1. Use paging.nextPage from a previous result to continue.
sizeNoItems per page, 1-1000. TrackJS defaults to 20. Set to the number of hours wanted, e.g. 48.
sortByNoSort field: date (default), count, or usercount.
endDateNoOnly include data before this ISO 8601 date/date-time (UTC), e.g. 2026-10-08 or 2026-10-08T00:00:00Z. Precision is 1 second.
startDateNoOnly include data after this ISO 8601 date/date-time (UTC), e.g. 2026-10-01 or 2026-10-01T14:00:00Z. Precision is 1 second.
applicationNoLimit results to one TrackJS application key (as configured in TrackJS). Omit for all applications.
sortDirectionNoSort direction. Defaults to desc.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the description only needs to add what they don't cover. It does exactly that by disclosing the default ordering (newest hour first) and the returned fields (hourly totals, affected-user counts, links). Pagination behavior is left to the schema.

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?

One tightly written sentence plus a usage clause; the return contents and default ordering are front-loaded before the guidance, and nothing is redundant.

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?

No output schema exists, so the description usefully enumerates what comes back, which is what an agent needs here. The remaining gaps (paging continuation, application scoping) are already fully handled by the schema.

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 100%, with every parameter documented including enums, defaults and paging.nextPage guidance, so the baseline is 3. The description only echoes the date-time format already given in the schema's startDate/endDate descriptions and adds no new parameter meaning.

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 and resource: hourly error totals with affected-user counts and TrackJS links, and names the underlying endpoint GET /errors/hourly. It is clearly distinguishable from errors_by_day, but that distinction comes mainly from the name rather than the prose.

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?

"Use to pinpoint when a spike started" gives a concrete selection condition, and the date-time guidance tells the agent how to narrow the window. It does not name an explicit alternative (e.g. errors_by_day for trends) or state when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.