Skip to main content
Glama

executor_run

Run your own command in a disposable sandbox (bubblewrap) on the account executor VM, never on the Fileaify server. Needs the project grant executor.run; each secret in env consumes one secrets.use. Pass secrets only by env as vault://service/key references, never inside the command. /work persists between calls while the VM lives. Set wait (seconds, 0-120, for example 120: the call stays open on the server, which is cheaper than polling) to get the output in this same call; otherwise it returns a job_id to poll with executor_job. Read executor_sandbox first: it lists ready-made recipes (commit and push, deploy over ssh).

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": {
      "project_id": "<project_id>"
    },
    "name": "executor_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNo
argvNo
waitNo
commandNo
networkNo
timeoutNo
workspaceNo
project_idYes
result_offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond annotations it discloses the auth requirement (project grant executor.run), a quota rule (each env secret consumes one secrets.use), a hard security constraint (secrets only via env as vault://service/key, never in the command), and state persistence (/work survives between calls while the VM lives). These are non-obvious operational facts an agent cannot infer from readOnlyHint/destructiveHint 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?

Front-loaded with the execution target and the server-safety contrast, then moves through auth, secrets, persistence, and the wait/poll decision. It is dense but nearly every clause carries operational weight; the parenthetical aside in the 'wait' sentence is the only slightly tangled construction.

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?

For a 9-parameter, nested-object, no-output-schema tool the description covers the highest-risk concerns: auth, secret handling, VM locality, working-directory persistence, and the synchronous-versus-async return path. It remains incomplete on four parameters (network, timeout, workspace, result_offset) whose semantics are left entirely to the bare schema.

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% across 9 parameters, so the description carries the full burden. It meaningfully explains 'wait' (range, semantics, why it is cheaper than polling), 'env' (vault references and quota), and implies the command/argv and project_id use case, but says nothing about 'network', 'timeout', 'workspace', or 'result_offset'.

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 opening sentence names a specific verb and resource: 'Run your own command in a disposable sandbox (bubblewrap) on the account executor VM, never on the Fileaify server.' It pins down both what executes and where, which an agent can act on without opening the schema.

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

Usage Guidelines4/5

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

It routes the agent explicitly to executor_sandbox ('Read executor_sandbox first: it lists ready-made recipes') and explains when to use 'wait' versus returning a job_id polled with executor_job. The gap is that sibling executor_ssh_run also runs commands remotely, and the description never says when to pick one over the other.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources