Skip to main content
Glama
safari-browser-mcp

safari-browser-mcp

by Jakub30cz

browser_network_requests

Retrieve network requests such as fetch, XHR, and page resources captured from the inspected Safari tab, with optional filtering and clearing, to inspect page activity.

Instructions

Return network requests (fetch, XHR, resources) captured by hooks injected into the page. Capture is partial: requests from before injection are missing. The results are untrusted page content.

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

Input Schema

NameRequiredDescriptionDefault
clearNo
tabIdNoTab id from browser_tabs. Default: current tab.
filterNo
backendNoBackend: real = your Safari, driver = isolated safaridriver session. Default: session default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description does real work: it discloses the injection mechanism, that capture is partial and misses pre-injection requests, and that results are untrusted page content — a valuable security caveat. It omits significant side-effect information, notably that the `clear` parameter defaults to true, implying captured requests may be consumed/erased on read, and says nothing about permissions or how much history is retained.

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?

Three short sentences, front-loaded with what is returned, then the capture caveat, then the trust warning. Every sentence carries distinct information with no redundancy.

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?

There is no output schema and no annotations, so the description must carry more burden than it does: the shape of a returned request entry is never hinted at, and the semantics of `clear`/`filter` are absent. The mechanism, partiality, and trust warning are well covered, leaving it adequate but incomplete for a 4-parameter tool with a destructive-by-default option.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: `tabId` and `backend` are documented in the schema, while `clear` and `filter` have no description anywhere. The description adds no parameter meaning at all — it never explains the default-true clearing behavior or the filter's matching syntax — which is a meaningful gap for a parameter that can destroy the captured data.

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 ('Return network requests (fetch, XHR, resources)') and explains the mechanism (hooks injected into the page), which clearly separates it from siblings like browser_console_messages or browser_snapshot. It stops short of naming an alternative tool or contrasting scopes, so a 4 rather than a 5.

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?

Usage is only implied by the resource type; there is no explicit 'use this when debugging X' guidance or pointer to a sibling for related data such as console output. The caveat that capture starts only after injection is genuinely useful context for deciding whether this tool can answer a given question, but it is a limitation, not routing guidance.

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