Skip to main content
Glama

e2e_network_logs

Query network request and response logs for a specific test run to debug failures. Filter by HTTP method, status code, URL pattern, or test name using the runDbId.

Instructions

Query network request/response logs for a specific test run. Returns filtered logs from SQLite. Use the runDbId from e2e_run results to drill down into network details on demand.

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": {
      "runDbId": "<runDbId>"
    },
    "name": "e2e_network_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodNoFilter by HTTP method (GET, POST, etc.)
runDbIdYesThe run database ID (returned by e2e_run in the summary)
testNameNoFilter by test name
statusMaxNoMaximum HTTP status code
statusMinNoMinimum HTTP status code (e.g. 400 for errors only)
errorsOnlyNoOnly return requests with status >= 400
urlPatternNoRegex pattern to match against request URLs
includeBodiesNoInclude request/response bodies (default: false, implies includeHeaders)
includeHeadersNoInclude request/response headers (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the backing store (SQLite) and that results are filtered, and 'query' implies a read operation, but it says nothing about result volume, pagination limits, or the cost of requesting bodies.

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?

Three short sentences, scope stated first followed by the return source and the calling convention. The middle sentence about SQLite is mildly redundant but not wasteful.

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?

It covers what the tool returns at a high level and how to obtain the required ID, which is the core need. For a nine-parameter tool with no annotations and no output schema, it leaves return shape and payload-size caveats unaddressed.

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%, so the schema already documents all nine parameters including the includeBodies-implies-includeHeaders behavior. The description adds no filter syntax or combination semantics beyond the schema, so the 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?

States a specific verb and resource: query network request/response logs for a specific test run, drawn from SQLite. The domain ('network logs') is distinct enough from siblings like e2e_run and e2e_analyze that an agent can route here, though it never explicitly contrasts with them.

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?

Gives a concrete entry condition: take the runDbId from e2e_run results and drill down on demand, which sets up the parent/child workflow. It stops short of stating exclusions or when NOT to fetch bodies/headers.

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