Skip to main content
Glama

edge_get_console_logs

Retrieve console messages and runtime errors from the active Edge tab or a specified tab, with severity and limit filters for debugging.

Instructions

Inspect browser console messages and runtime errors produced on the active page or target tab.

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

Input Schema

NameRequiredDescriptionDefault
typeNoFilter by log severity (default: all)
limitNoMaximum number of recent log entries to return (default: 50)
tabIdNoOptional tab ID (if omitted, uses active tab)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does not say whether logs are buffered from before the call or only captured live, whether messages from iframes/workers are included, whether retrieval clears the buffer, or what the response shape looks like — and there is no output schema to cover the last point. "Inspect" implies a read, but that is inference rather than disclosure.

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?

A single well-formed sentence with the resource front-loaded and the page/tab scope trailing. No filler, but at one sentence it is near the minimum rather than an example of efficient richness.

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

Completeness3/5

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

All parameters are optional and fully documented, so invocation itself is unambiguous. However, for a diagnostics tool with no annotations and no output schema, the description should say more about what comes back (message text, level, source location, timestamps) and about capture timing.

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%, with each of the three parameters documented in the schema including the severity enum and defaults. The description's phrase "active page or target tab" only loosely echoes the tabId parameter, adding no new semantics. Baseline 3 applies.

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?

The description gives a specific verb ("Inspect") and two named resources ("browser console messages and runtime errors"), scoped to "the active page or target tab." This is enough to distinguish it from siblings like edge_get_network_activity or edge_get_html, though it never names an alternative explicitly.

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?

There is no explicit when-to-use statement, no prerequisites, and no routing to alternatives such as edge_get_network_activity for network-level failures. An agent must infer from the noun "console" that this is the debugging tool for client-side errors.

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