Skip to main content
Glama
Browser Controller

Browser Controller

by compnew2006

browser_safety

Configure per-site or default allow/ask/block policies for submit, delete, upload, and browser evaluation actions; ask prompts require client confirmation.

Instructions

Session policy for submit/delete/upload and browser_evaluate. Site rule or default applies; ask requires client elicitation.

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": "browser_safety"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYes
siteRulesNo
defaultActionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.5.0

TDQS

B3/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 and does disclose two real behaviors: session-scoped policy with per-site overrides, and that an "ask" verdict triggers client elicitation. It omits what enabled=false does, whether changes are reversible, and whether policy changes apply retroactively or per page/navigation.

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 short, front-loaded sentences with no filler. The telegraphic style ("Site rule or default applies") is efficient but occasionally reads as compressed notes rather than a spec.

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 configuration tool with no annotations, no output schema, and a nested object parameter, the description covers intent, precedence, and the ask/elicitation consequence. It still leaves the most basic state question unanswered: what turning the policy on or off actually does to submit/delete/upload and browser_evaluate calls.

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

Parameters2/5

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

Schema description coverage is 0% with three parameters including a nested map. The single clause "site rule or default applies" maps loosely onto siteRules and defaultAction but never explains the required "enabled" flag or what the siteRules keys should be (the 253-char max strongly suggests origins/URLs, yet the description says nothing). Partial compensation only.

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

Purpose3/5

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

"Session policy for submit/delete/upload and browser_evaluate" names the resource and the exact operations it governs, which separates it from execution siblings like browser_evaluate. But it is a noun phrase with no verb: an agent must infer that this sets/configures the policy rather than reports or checks it.

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

Usage Guidelines3/5

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

"Site rule or default applies" gives the precedence rule and implies this is the place to change gate behavior, and "ask requires client elicitation" warns of a client prompt. There is no explicit when-to-use versus when-not statement, and nothing says whether this affects in-flight actions or only future ones.

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