Skip to main content
Glama

Complete a browser task with Jev

browser_task

Runs natural-language browser tasks by choosing bounded page actions or grounded Chrome DevTools operations, and returns review prompts when confidence is low or sensitive confirmation is needed.

Instructions

Use Jev as the fast decision path for a natural-language browser task. Jev chooses among bounded page actions and grounded Chrome DevTools operations. If Jev confidence is low, the tool returns needs_llm_review with available action keys; the calling LLM can resume with the same taskId and fallbackActionKey, update the goal, or ask the user. If Jev has no grounded DevTools candidate, it hands the request to the calling LLM to select an operation from browser_devtools_catalog. Sensitive actions are also handed to the calling LLM and remain paused until user confirmation; then resume with taskId and confirmSensitiveActions=true. Use browser_devtools only when the calling LLM intentionally chooses an exact low-level DevTools operation and arguments.

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": {
      "goal": "<goal>"
    },
    "name": "browser_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYes
tabIdNo
taskIdNo
maxStepsNo
fallbackActionKeyNo
confirmSensitiveActionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/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 substantial work: it discloses the needs_llm_review outcome with available action keys, the pause-until-confirmation behavior for sensitive actions, and the resume protocol via taskId/confirmSensitiveActions. It stops short of describing the success return shape, what counts as 'sensitive', or what page state changes occur.

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?

Four dense sentences, front-loaded with the core purpose and followed by fallback branches and the sibling routing rule. Every sentence is load-bearing, though the conditional branches read as a single run-on block that could be split for scanability.

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 six-parameter, no-annotation, no-output-schema tool, the control-flow and handoff branches are well covered, but the success path, tabId scoping, and maxSteps limits are absent, so an agent still has gaps in how to invoke it correctly on the happy path.

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 0%, so the description must compensate. It gives real meaning to taskId, fallbackActionKey, and confirmSensitiveActions through the resume/confirmation flows, and implies goal, but it never mentions tabId or maxSteps, leaving two of six parameters undocumented anywhere.

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 specific verb+resource: a fast decision path for a natural-language browser task, where the backing engine picks among 'bounded page actions and grounded Chrome DevTools operations.' It also explicitly demarcates itself from browser_devtools ('use browser_devtools only when the calling LLM intentionally chooses an exact low-level operation'). The only abstraction left is what 'bounded page actions' concretely covers.

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?

Gives explicit routing rules: use this for natural-language goals, use browser_devtools for deliberately chosen low-level operations, and consult browser_devtools_catalog when no grounded candidate exists. It also names the conditions that produce a handoff (low confidence, no grounded candidate, sensitive actions) and how to resume each.

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