Skip to main content
Glama

Get bug context

get_bug_context
Read-only

Get the full captured context for one bug: title, description, page/route, repro steps, console & network evidence, and links to the session replay/video. Ground your fix in this evidence; do not invent details not present here. For console/network evidence prefer get_console_logs and get_network_requests (parsed text); the artifacts map holds raw signed URLs.

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": {
      "ticketId": "<ticketId>"
    },
    "name": "get_bug_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
ticketIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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 real value beyond that by disclosing that an artifacts map contains raw signed URLs and that console/network data appears both parsed here and raw via URLs. It stops short of saying anything about freshness, size, or error behavior when a ticket is missing, but the added context is substantial for a read-only tool.

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?

Three tight sentences, front-loaded with the payload contents before the sibling routing and the raw-URL caveat. No filler or restatement of the title.

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?

There is no output schema, so the description correctly takes on the burden of enumerating return fields, including the parsed-versus-raw distinction. The one real hole is the undocumented ticketId, which leaves an agent unsure how to source the required argument.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single required parameter ticketId has no documentation in either the schema or the description. The description says "one bug" but never clarifies the identifier format, where ticketId comes from (e.g., list_open_bugs), or what happens on an unknown ID. With low coverage, the description was expected to compensate and does not.

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 and resource ("Get the full captured context for one bug") and then enumerates the returned fields: title, description, page/route, repro steps, console & network evidence, and replay/video links. That enumeration makes it immediately distinguishable from get_console_logs, get_network_requests, and get_bug_annotations, which cover narrow slices.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent to alternatives and states the selection condition: "For console/network evidence prefer get_console_logs and get_network_requests (parsed text); the artifacts map holds raw signed URLs." It also gives a use-time constraint ("Ground your fix in this evidence; do not invent details not present here"), which tells the agent to consult this tool before proposing a fix.

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