Skip to main content
Glama

Queue history

queue_history
Read-only

Summarize per-project queue activity over the last N days, including total jobs, failures, skips, and waiting time.

Instructions

Totals of the queue journal per project: jobs, failures, skips and time spent waiting. The same as dotime-queue history --days <n>.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "queue_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoNumber of days to sum up, ending today. Default: 7.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context: it discloses that results are aggregated per project and enumerates the metrics returned, which matters because there is no output schema. It stops short of noting ordering or empty-result behavior.

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 short sentences, zero filler, with the core purpose front-loaded and the CLI equivalence placed afterward as supporting context for agents that know the underlying tool. 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?

With no output schema, the description carries the burden of describing results, and it does list the aggregated fields per project. It is nearly complete for a single-parameter read tool, though it omits details like whether days includes today beyond what the schema states.

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%, and the schema already documents the days parameter, its 1-365 bounds and the default of 7. The description only echoes this via the CLI equivalent '--days <n>', adding a familiar reference but no new semantics; 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?

The description names the resource (queue journal) and the exact aggregates produced (jobs, failures, skips, waiting time), grouped per project, so an agent knows this is a historical aggregation tool rather than a single-job query. It does not explicitly contrast itself with siblings like queue_status or queue_job, which keeps it from a 5.

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 only implied: the phrase 'totals ... per project' and the day-window parameter suggest this is for aggregated historical reporting rather than inspecting one job or current state. There is no explicit statement of when to prefer this over queue_status or queue_passed, and no exclusions.

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