Skip to main content
Glama

browser_list_resources

List all resources loaded by a web page, including scripts, stylesheets, images, and fonts, to analyze page composition and identify files for API inspection.

Instructions

[Disabled] List all resources (scripts, stylesheets, documents, images, fonts, etc.) loaded by a page. Returns resources from the browser cache — does not re-fetch anything. Use the type filter "Script" to find JavaScript files for API analysis, or "Stylesheet" for CSS. CDP resource types: Document, Stylesheet, Image, Media, Font, Script, TextTrack, XHR, Fetch, Prefetch, EventSource, WebSocket, Manifest, SignedExchange, Ping, CSPViolationReport, Preflight, Other. Pair with browser_get_resource_content to read the source of a specific resource.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabIdYesTab ID to list resources for
typeNoFilter by resource type (e.g. 'Script', 'Stylesheet', 'Document', 'Image', 'Font'). Case-sensitive — must match CDP resource types exactly.
Behavior4/5

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

Without annotations, the description carries the full burden and successfully discloses critical behavioral traits: the '[Disabled]' status, that it returns cached resources without re-fetching, and enumerates all 16 valid CDP resource type values. It misses explicit read-only/safety declarations and error conditions, preventing a perfect score.

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?

Every sentence earns its place: status/purpose, behavioral scope (cache), usage examples, valid enum reference, and workflow pairing. The information is front-loaded with the '[Disabled]' warning and primary action first, followed by operational details and reference data. The enum list is dense but necessary given the lack of schema constraints.

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 explains the conceptual return (cached resources list) and provides the complete type enumeration necessary for successful invocation. It appropriately defers content retrieval details to the paired tool. It lacks explicit return structure description, but remains complete enough for agent selection and basic operation.

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

Parameters4/5

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

While the schema has 100% coverage (baseline 3), the description adds significant value by providing concrete usage examples for the 'type' parameter ('Script' for API analysis) and listing all valid CDP resource type values that the schema lacks as an enum constraint, effectively compensating for schema limitations.

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

Purpose5/5

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

The description clearly states the specific action (List) and resource (resources loaded by a page), including examples (scripts, stylesheets, images). It distinguishes from siblings by specifying it returns cached resources versus live network requests, and explicitly pairs with browser_get_resource_content for content retrieval.

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

Usage Guidelines5/5

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

Provides explicit when-to-use guidance with concrete examples: 'Use the type filter "Script" to find JavaScript files for API analysis, or "Stylesheet" for CSS.' Also clearly directs the workflow: 'Pair with browser_get_resource_content to read the source,' effectively distinguishing this listing tool from the content-fetching sibling.

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/opentabs-dev/opentabs'

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