Skip to main content
Glama

set_network_policy

Control agent internet access by setting policy to strict, normal, or offline to block, limit, or disable external requests.

Instructions

Set the current network access policy for all agents.

'strict'  — No internet access. Only local DB, files, and MCP tools.
'normal'  — Default. Librarian and News Radar may access allowed domains.
'offline' — Airplane mode. All external requests blocked.

Args:
    policy: One of 'strict' | 'normal' | 'offline'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
policyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided; description lacks disclosure of side effects (e.g., impact on active operations, persistence, privilege requirements). A system-wide network policy change could have significant consequences, but no warnings are given.

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?

Description is concise with front-loaded purpose, followed by clear bullet-like explanations of policy options. No redundant information.

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 annotations and only one parameter, description covers purpose, argument semantics, and policy meanings. Missing mention of return value (output schema exists) and whether change is immediate/persistent, but overall adequate.

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 has no description for 'policy' (0% coverage); description fully compensates by listing valid values and explaining each one, providing essential semantics for correct usage.

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?

Clearly states 'Set the current network access policy for all agents' with specific verb and resource. Lists three distinct policy options, distinguishing from sibling 'get_network_policy'.

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?

Describes when to use each policy option ('No internet access', 'Default', 'Airplane mode') but does not explicitly state when not to use the tool or mention alternatives beyond implied get tool.

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/SVerITG/Metis'

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