Skip to main content
Glama

Set sandbox egress allowlist

set_egress_allowlist

Replaces the allowed outbound domain list for a sandbox using network 'allowlist'; an empty list blocks all outbound access, equivalent to 'none'.

Instructions

Replaces the list of domains a sandbox may reach when run with network: 'allowlist'. An empty list disables all outbound access, identical to network: 'none'.

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": {
      "domains": "<domains>"
    },
    "name": "set_egress_allowlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainsYesDomains to allow, e.g. ['api.example.com']

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 usefully discloses that the operation overwrites any existing list and that an empty array blocks all egress, which is meaningful behavioral context. However, it says nothing about permissions required, whether changes apply to already-running sandboxes, or how invalid domains are handled.

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?

Two tight sentences with the core overwrite semantics front-loaded and the edge case second. No redundant restatement of the schema.

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?

For a one-parameter tool with no output schema this covers the essentials, including the important empty-list behavior. Gaps remain around persistence scope, validation rules, and failure modes that an agent would want before mutating a security-relevant setting.

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% and the single parameter already has a description and example, so the baseline applies. The description adds genuinely non-obvious semantics for the empty-array case, but does not address format constraints such as wildcards or subdomain matching.

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 precise verb and resource: 'Replaces the list of domains a sandbox may reach'. 'Replaces' correctly signals full overwrite rather than append. It does not explicitly differentiate from siblings like run_sandboxed, but the scope is unmistakable.

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 the condition under which this setting matters ('when run with network: \'allowlist\'') and clarifies the empty-list edge case. It stops short of naming an alternative tool or stating when not to call it, but the applicable context is clear.

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

Deploy Server

Other Tools