Skip to main content
Glama
aside-combination-jev

aside-combination-jev

Run safe browser task

run_safe_browser_task

Executes policy-gated, receipt-logged browser tasks via host-supplied browser and judgment adapters; standalone stdio calls fail closed until adapters are configured.

Instructions

Run a policy-gated, receipt-logged browser task (observe -> judge -> policy -> act -> verify completion). This standalone stdio server binds no browser or judgment adapter, so every call returns error AJV_E_REQUEST_INVALID (retryable=false) without touching a browser or writing receipts; embed the Python API aside_jav.run_safe_browser_task(request, browser, judgment) in a host to execute tasks. Use check_health to see whether adapters are configured.

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": {
      "request": "<request>"
    },
    "name": "run_safe_browser_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesTask request object. Allowed keys: run_id (unique id, [A-Za-z0-9][A-Za-z0-9._-]{0,127}), goal (must include a non-empty 'completion' list of exact rules {path, op: eq|set_eq|normalized_eq|exists|absent, expected}), allowed_actions, forbidden_actions, sensitive_classes, budgets, browser_context, metadata, secret_handles (vault://, keychain:// or secret:// handles only, never raw secrets), dry_run (boolean). Not inspected by this stdio server.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses the universal failure mode, the exact error code, retryable=false, and that no browser is touched and no receipts are written. This is the critical behavioral fact an agent needs and cannot get from readOnlyHint/destructiveHint/openWorldHint alone.

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?

Three sentences, no filler, with the pipeline summary front-loaded and the failure/alternative guidance following. The arrow notation and inline error code are slightly dense but each element carries 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?

The tool is effectively an inert stub with a complex nested request object; the description covers exactly what matters — that no work happens here, why, and how to actually execute. With no output schema needed for a guaranteed-error path, nothing an agent needs is missing.

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 request object documents each allowed key in detail, including the secret_handles restriction. The description adds no parameter-level meaning beyond noting the request is 'not inspected by this stdio server,' which the schema already states, so 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 ('Run a policy-gated, receipt-logged browser task') and outlines the internal pipeline (observe -> judge -> policy -> act -> verify completion). It also distinguishes itself from the sibling check_health by assigning that tool the adapter-status role.

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

Usage Guidelines5/5

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

Explicitly says every call in this standalone stdio server fails with AJV_E_REQUEST_INVALID and directs the agent to embed aside_jav.run_safe_browser_task(request, browser, judgment) in a host instead. It also names check_health as the way to check adapter configuration, giving a clear when-not-to-use and an alternative.

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