Skip to main content
Glama

Directly run ONE browser tool (bypass the worker)

agent_call_tool

Directly invoke a browser engine tool from the director model, bypassing the worker for faster and more accurate execution. Returns a tool envelope with ok/data/error.

Instructions

★你(director)亲自跑一个浏览器引擎工具,跳过 DeepSeek worker —— 强模型直驱引擎级工具,比委派 worker 磨更快更准。代价:每个工具回合都花 director 的 token(打破默认成本拆分;按需用、不用就仍走 agent_start/agent_send 省钱流)。先 agent_tools 查 name 和参数。返回工具信封(ok/data/error);浏览器侧 dispatch 永不抛、已校验未知工具与缺参。⚠ 任一会话(agent_start 起的)正在跑时会被拒绝:raw 直调与运行中的 agent 共享同一标签页/hook/trace 状态,并发会串味——先 agent_stop/agent_wait_for_stop 再直调。需浏览器 v0.20.0+。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNo该工具的参数对象(按 agent_tools 给的 params 填);省略=空对象
nameYes工具名(来自 agent_tools),如 code_search / signer_trace / page_eval / jsvmp_trace
workspaceRootNo本次调用的工作目录绝对路径(影响 fs_*/run_node/trace 落盘);省略=引擎默认
Behavior4/5

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

With no annotations, the description covers key behaviors: return envelope format (ok/data/error), browser-side dispatch never throws, validation of unknown tools and missing params, concurrency constraints, token cost, and browser version requirement. Lacks explicit statement of read/write nature or idempotency.

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?

Single paragraph with front-loaded purpose, uses symbols (★, ⚠) for emphasis. Every sentence adds distinct value. Could be slightly more structured with bullet points, but current format is efficient and scannable.

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 3 parameters, 1 required, no output schema, and nested objects, the description adequately covers prerequisites, return format, concurrency rules, and requirements. It does not exhaustively list all error scenarios but delegates tool-specific details to agent_tools.

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%, so schema already documents parameters. Description adds context by advising to consult agent_tools for parameter details and gives examples of tool names. It clarifies workspaceRoot's effect on file operations. Overall, description adds marginal value beyond schema.

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?

The description clearly states that this tool directly runs a browser engine tool, bypassing the DeepSeek worker, and contrasts it with delegating to the worker. It explicitly identifies the director agent as the user and distinguishes from sibling tools like agent_send by highlighting performance and cost tradeoffs.

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?

Provides explicit guidance: use when direct, fast execution is needed; explains token cost implications; instructs to check agent_tools first for name and parameters; warns about concurrency conflicts with active agent sessions and provides steps to resolve (agent_stop/agent_wait_for_stop).

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/WhiteNightShadow/frx-director-mcp'

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