Skip to main content
Glama

Directly run ONE browser tool (bypass the worker)

agent_call_tool

Directly executes a browser engine tool from the director model, bypassing worker delegation for precise control. Provide tool name and args from agent_tools; returns 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 / addons_query / addons_manage
workspaceRootNo本次调用的工作目录绝对路径(影响 fs_*/run_node/trace 落盘);省略=引擎默认

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv0.3.7
    • changedInput schema / properties / name / description
      Previous value: -"工具名(来自 agent_tools),如 code_search / signer_trace / page_eval / jsvmp_trace"New value: +"工具名(来自 agent_tools),如 code_search / signer_trace / page_eval / addons_query / addons_manage"
  2. Addedv0.3.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well. It discloses token cost, the ok/data/error envelope, never-throw dispatch behavior, validation of unknown tools/missing args, concurrency rejection, and the minimum browser version.

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?

The description is dense but well-organized: purpose, cost tradeoff, prerequisites, return envelope, and concurrency warning each earn their place. The warning is clearly marked and front-loaded enough to prevent misuse.

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?

Despite having no output schema, the description covers invocation semantics, error model, concurrency constraints, version requirements, and discovery flow. This is complete for a generic direct-dispatch tool with three parameters.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds value by telling the agent to populate args per agent_tools params and clarifying that workspaceRoot affects fs_*/run_node/trace persistence, which reinforces the schema rather than merely repeating it.

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 states a specific action: directly run one browser engine tool, bypassing the DeepSeek worker. It clearly distinguishes this from delegation-based sibling tools like agent_start and agent_send, so an agent can select it correctly.

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?

The description explicitly tells the agent to look up names/params via agent_tools first, to prefer agent_start/agent_send for cost-saving flows, and to stop any running agent session before direct calls. This is strong when-to-use and when-not-to-use guidance.

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

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