Skip to main content
Glama

Get console logs

get_console_logs
Read-only

Get the captured browser console log for one bug as text — one line per entry with level, message, and time relative to capture start. Use this instead of downloading the console artifact URL from get_bug_context yourself.

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_console_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
ticketIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/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 the description only needs to add context; it does, by describing the rendered text output and its line format, which lets an agent parse results without a separate artifact download. It does not mention truncation, size limits, or empty-result behavior for bugs without a capture.

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, zero waste: the output contract comes first, then the routing guidance. Every clause earns its place and nothing is repeated from the annotations or schema.

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?

For a single-parameter read-only tool with no output schema, the description covers the essential return format and the alternative path, which is enough to call it correctly. Edge cases (no log captured, very large logs) are the only material omissions.

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 0%, so the description carries the burden for ticketId; it adds only the implicit mapping "for one bug," with no syntax or format detail despite the schema's ^[^/]+$ pattern. The parameter name is largely self-explanatory, so this is minimum viable rather than inadequate.

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 captured browser console log for one bug") plus the exact return shape (one line per entry with level, message, and time relative to capture start). It is unambiguously distinguishable from get_bug_context, which only offers the raw artifact URL.

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?

Explicitly routes the agent away from an alternative: "Use this instead of downloading the console artifact URL from get_bug_context yourself." It gives a clear condition for choosing this tool but offers no exclusion, such as what to do when a bug has no captured console log.

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