Skip to main content
Glama

logs

Retrieve tab console output, JavaScript errors, failed requests, or network activity since page load to debug browser tabs, with optional filters and line limits.

Instructions

Tab console, errors (JS + failed requests) or network since load.

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

Input Schema

NameRequiredDescriptionDefault
nNomax lines (30)
qNofilter
allNonetwork: include static assets
tabNo
kindNo
clearNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations at all, the description bears the full burden, and it does not disclose whether logs are returned oldest-first, truncated, or buffered per tab. Most concerning is the undocumented `clear` flag: the schema implies this tool can wipe the log buffer, yet the description never signals that any invocation is potentially destructive or irreversible.

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

Conciseness2/5

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

It is short, but this is under-specification rather than concision: a single telegraphic fragment with a dropped verb, awkward front-loading of "Tab", and parenthetical detail spent on the errors category while the destructive `clear` flag goes unmentioned. The words present do not earn their place against what is omitted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Six parameters, zero annotations, no output schema, and a description that covers neither the clearing behavior nor the shape of the returned log lines. For a diagnostic-capture tool that an agent may be tempted to call with `clear: true`, this leaves out information that materially affects correct invocation.

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 50% (n, q, all documented; tab, kind, clear bare). The description does add real meaning for `kind` by defining what belongs to the errors bucket ("JS + failed requests") and for `tab` implicitly, but it says nothing about `clear` or how `tab` is specified. That partial compensation for a 6-parameter tool lands at minimum-viable.

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

Purpose3/5

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

"Tab console, errors (JS + failed requests) or network since load" makes the resource identifiable (page-level console/error/network log entries scoped to the current document since load), but it is a verbless fragment and never states that it retrieves or returns anything. An agent can guess the subject matter but not the action, and nothing distinguishes it from siblings like "read" or "js".

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

Usage Guidelines2/5

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

No when-to-use guidance, no exclusions, and no mention of alternatives among the sibling set (read, js, nav, shot, tabs). The reader must infer that this is the diagnostic source when something misbehaves on the page, which is plausible but entirely unstated.

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

Deploy Server

Other Tools