Skip to main content
Glama

ai_bug_report

Read-only

Bug report writer — Turn a messy bug complaint, chat message, log or stack trace (text=, up to 15,000 chars) into a clean, actionable bug report: specific title, summary, steps to reproduce (never invented), expected vs actual, severity (critical/major/minor/trivial) with reason, priority P0-P3, component guess, labels, workaround, likely cause (marked as a guess), user impact and questions to ask the reporter. Offline extraction adds environment (OS, browser, device, app version), error types, fatal signals, HTTP status codes, top stack frames, timestamps, request/trace ids and URLs, a completeness score with gaps, duplicate-search terms and a ready-to-paste GitHub/Jira Markdown issue. Optional: product= name for context. Llama 3.3 70B on Workers AI. Price: $0.006 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "ai_bug_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesCheckout broken on my iPhone 14 (iOS 17.2) Safari: tapping Pay shows Something went wrong. Console: TypeError: Cannot read properties of undefined (reading 'total'). POST /api/checkout returned 500. App version 3.4.1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely non-schema behavior: the backing model (Llama 3.3 70B on Workers AI), a priced x402 payment of $0.006 USDC on Base, an offline extraction pass, and quality guarantees ('steps to reproduce (never invented)', 'likely cause (marked as a guess)'). Only the payment mechanics (when/how the charge is collected) are left implicit.

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

Conciseness4/5

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

Front-loaded with the identity and the transformation, then a dense enumeration of output fields. Nearly every clause carries concrete information rather than filler, though the single run-on capability list could be broken up for scannability.

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 correctly carries the burden of describing return contents in detail, and does so thoroughly. The only completeness defects are the phantom 'product' parameter and the unstated mechanics of the x402 charge, both of which an agent needs before invoking.

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% for the single required 'text' parameter, so the baseline is 3; the description does add value by declaring the 15,000-character ceiling that the schema does not. But it also references 'Optional: product= name for context', a parameter that does not exist in the input schema, which could mislead an agent into passing an unsupported argument.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Bug report writer — turn ... into a clean, actionable bug report') and then enumerates the exact artifact produced: title, summary, repro steps, expected vs actual, severity, priority, component, labels, workaround, likely cause, impact, questions, plus GitHub/Jira Markdown. An agent can distinguish this from generic report siblings like ai_explain_error or ai_classify without opening the schema.

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?

It does define the accepted input shapes ('messy bug complaint, chat message, log or stack trace') and a size bound (up to 15,000 chars), which implicitly scopes usage. However it never states when to use this instead of a sibling such as ai_explain_error or ai_extract, and gives no exclusions, so routing is left to inference.

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