Skip to main content
Glama

PrivateByte

Turn whitelist-only mode on or off

set_proxy_whitelist_only
Destructive

Set whether the proxy accepts connections from whitelisted addresses only. With it on and an empty or wrong whitelist, every connection is refused, including ones with the correct credential. Turning it off restores access at once. Needs a key with proxy:whitelist.

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": {
      "enabled": "<enabled>"
    },
    "name": "set_proxy_whitelist_only"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYestrue = whitelisted addresses only
request_idNoAn id you choose for this one action, 8 to 64 characters. Send the same id again when retrying, so nothing is done twice. Use a new id for a new action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=true) by disclosing the exact failure mode: enabling with an empty or wrong whitelist refuses every connection including correctly credentialed ones, and disabling restores access at once. It also names the required permission scope (proxy:whitelist), which is behavior an agent cannot infer from annotations.

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?

Four short sentences, front-loaded with the core action, then the risk, then the reversal, then the permission requirement. Nothing is redundant and no sentence could be dropped without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter boolean toggle with no output schema, the description covers purpose, the dangerous failure mode, reversibility, and required auth scope. An agent has everything needed to decide whether to call it and what to expect.

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 description coverage is 100%, so both parameters are already documented, including request_id idempotency semantics. The description explains the operational effect of 'enabled' but adds no parameter-level detail beyond what the schema provides, so the baseline 3 applies.

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?

States a specific verb and resource: set whether the proxy accepts connections from whitelisted addresses only. This is unmistakably the toggle, distinct from read (get_proxy_whitelist_only) and edit (add/remove_proxy_whitelist_ip) siblings, and an agent can act without opening another schema.

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?

Provides clear usage context by spelling out the consequence of turning it on with an empty or wrong whitelist (total lockout, even with correct credentials) and that turning it off restores access immediately. It does not explicitly name a sibling to call first (e.g. add_proxy_whitelist_ip), so the alternative routing is left implicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources