Skip to main content
Glama

list_bug_reports

Scan a directory for TraceBug export files, summarize each report or site audit, and surface titles, severity, root causes, and captured-data counts to guide debugging.

Instructions

Scan a directory for TraceBug export files (.html/.json) and summarize each: kind ("bug" report or Site "audit"), title, summary, severity, root-cause hint, and captured-data counts. Start here.

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": "list_bug_reports"
  }
}

Input Schema

NameRequiredDescriptionDefault
dirNoDirectory to scan (default: the server's base directory). Scans up to 3 levels deep, skipping node_modules etc.

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?

No annotations are supplied, so the description carries the burden, and it does disclose meaningful behavior: the tool scans (read-only by implication), recognizes two export kinds, and reports a fixed set of per-file fields including root-cause hints and captured-data counts. Depth limits and node_modules skipping live in the schema rather than here, and it does not say what happens when no exports are found or how many files it will return, which keeps it below a 5.

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, front-loaded with the action and the output inventory, ending with a short directive that doubles as usage guidance. No filler, and the field list is packed rather than prose-expanded.

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 usefully enumerates the returned fields, which is the main thing an agent needs here, and the single parameter is fully covered by the schema. Remaining gaps are small: empty-result behavior and any cap on the number of summarized files are unstated.

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 single dir parameter is already documented with its default and the 3-level scan limit, so the schema does the heavy lifting. The description adds no meaning about the directory argument beyond what is structured, which matches the baseline of 3 for high coverage.

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 (scan) plus the resource (directory) and the file types targeted (.html/.json TraceBug exports), then enumerates exactly what each entry contains: kind, title, summary, severity, root-cause hint, and captured-data counts. The 'bug vs Site audit' distinction and the 'Start here' framing let an agent separate this discovery tool from the get_* siblings, though no sibling is named explicitly.

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?

'Start here' gives clear entry-point guidance: this is the first call before drilling into get_bug_report, get_audit, or the other retrieval tools. It stops short of explicit when-not conditions or naming an alternative for, say, already knowing an ID, so it is clear context rather than full routing logic.

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