Skip to main content
Glama

view-network-logs

Retrieve paginated captured network requests from a running app to debug API calls and inspect outbound HTTP traffic. Each entry includes method, URL, status, resource type, size, and duration.

Instructions

Retrieve captured network (HTTP) requests from the running app. Returns a paginated list of requests with method, URL, status, resource type, size, and duration. Each entry includes a requestId that can be passed to view-network-request-details for full details. On React Native (iOS/Android) interception is injected into the JS runtime — it captures fetch() calls. On Chromium it reads the browser's native CDP Network domain (the active tab; all request types). Use when inspecting outbound HTTP traffic or debugging API calls in the running app. Fails if the app is not connected (RN) or the device is not reachable (Chromium).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portNoMetro server port (RN only; ignored on Chromium)
device_idYesDevice UDID (logicalDeviceId).
pageIndexNoPage index (0-based) or "latest" for the most recent page. Each page contains up to 50 entries.latest
Behavior5/5

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

With no annotations provided, the description carries full behavioral disclosure. It thoroughly explains platform-specific behavior (React Native vs Chromium), data fields in the returned list, pagination, and failure conditions. No contradictions.

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?

The description is well-structured, front-loading the purpose and return format. It is concise with about 8 sentences, each adding unique information, but could be slightly tighter.

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?

Given no output schema, the description adequately describes the paginated list and its fields. It covers platform specifics, failure conditions, and links to a related tool. It is complete for the tool's complexity.

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%, so the baseline is 3. The description adds minimal value beyond the schema: it mentions port is for RN only and pageIndex for pagination, but the schema already captures these details.

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 clearly states the tool retrieves captured network requests and provides details on the returned data. It also distinguishes from view-network-request-details by mentioning requestId for full details, but does not explicitly differentiate from the sibling native-network-logs, which suggests similar functionality.

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

Usage Guidelines3/5

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

The description advises using the tool when inspecting outbound HTTP traffic or debugging API calls, and notes failure conditions. However, it does not provide explicit guidance on when not to use it or compare to alternatives like native-network-logs.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/software-mansion/argent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server