Skip to main content
Glama

set_scope

Limit proxy recording to a list of allowed domains, reducing noise by ignoring traffic outside the target scope.

Instructions

Limit which domains the proxy records. Call AFTER manage_proxy(action="start").

By default, ALL traffic is recorded. Use this to focus on specific target domains and reduce noise. Static assets (.jpg, .css, .woff, etc.) and OPTIONS requests are always ignored regardless of scope.

Examples:

  • set_scope(allowed_domains=["target.com", "api.target.com"]) — only record these domains

  • set_scope(allowed_domains=[]) — reset to record everything

Args: allowed_domains: List of domains to record. Subdomains must be listed explicitly. Empty list = record all traffic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allowed_domainsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of disclosing behavior. It states that static assets and OPTIONS requests are always ignored regardless of scope, and that subdomains must be listed explicitly. These details go beyond the schema and provide useful context for the agent.

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: a one-sentence purpose, usage context, behavioral note, and examples. It is not excessively verbose, though the reset behavior is mentioned twice (once in examples and once in Args). Minor redundancy prevents a perfect score.

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?

For a simple tool with one parameter and an output schema, the description covers essentials: when to call, what it does, parameter semantics, and behavioral quirks. It doesn't mention error behavior or what happens if called before proxy start, but the explicit 'Call AFTER' hint partially covers that. Overall, it's complete enough for typical use.

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

Parameters5/5

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

Schema coverage is 0%, so the description must fully explain parameters. It does so comprehensively: 'List of domains to record. Subdomains must be listed explicitly. Empty list = record all traffic.' Examples clarify the expected format and the reset behavior, leaving no ambiguity about the single parameter.

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 tool's function: 'Limit which domains the proxy records.' This specific verb+resource phrasing distinguishes it from sibling tools like manage_proxy or proxy_status. It also provides concrete examples showing the intended effect, making the purpose unambiguous.

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?

The description explicitly instructs to call AFTER manage_proxy(action="start"), providing a key usage prerequisite. It explains when to use the tool ('focus on specific target domains and reduce noise') and how to reset to default behavior. However, it doesn't explicitly mention when NOT to use it or name alternatives, so it falls short of a 5.

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/BobongKu/nodriver-proxy-mcp'

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