Skip to main content
Glama

do

Execute and verify one browser outcome per call, returning status, summary, and evidence; split multi-part tasks into separate invocations.

Instructions

Have the agent perform ONE verifiable outcome in the session's browser and verify it, e.g. "create a customer named {{runid}} and confirm it appears in the list". One verifiable outcome per do: split multi-part tasks into several calls. State expected values in the sentence. Credentials: write each secret as one {{env:NAME}} marker ({{totp:NAME}} for a one-time code), exactly as written: the marker alone, never the value and never $NAME. NAME must be set in the environment the MCP server was started with. Never ask the user for a secret value. Needs a model API key in the server environment. Returns the report (status, summary, evidence values). Exit 1 = the agent could not complete it.

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": {
      "instruction": "<instruction>"
    },
    "name": "do"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoProject directory (absolute) the command runs in; sitelooper.config.json is found from here. Default: the server's working directory.
sessionNoBrowser session name (default "default"). Each session is its own browser and daemon.
max_turnsNoAgent turn budget (--max-turns).
timeout_sNoOverall deadline in seconds (--timeout).
instructionYesThe outcome to achieve and how to verify it (sent on stdin, so any text is safe).

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?

Annotations only give openWorldHint, so the description carries real weight and delivers: it declares the prerequisite of a model API key in the server environment, specifies the return payload (status, summary, evidence values), and defines exit 1 as agent failure. It omits latency, cost, and partial-failure behavior, keeping it short of a 5.

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?

The core scoping rule is front-loaded, and every sentence carries a constraint rather than filler. The credentials block is telegraphic and dense, which slightly hurts readability but wastes no words.

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 non-deterministic agent-driving tool with no output schema, the definition covers purpose, prerequisites, secret handling, and return status. What is missing is how it relates to sibling verification tools (check, assert) and what a partial or ambiguous result looks like.

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 baseline is 3, but the description adds genuine meaning for the instruction parameter: it must contain one outcome, expected values, and secrets written as {{env:NAME}} or {{totp:NAME}} markers alone, never raw values or $NAME. cwd, session, and budget parameters are left entirely to the schema.

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?

The description uses a specific verb+resource pair: 'Have the agent perform ONE verifiable outcome in the session's browser and verify it', plus a concrete example. It is clear what the tool does, but it never distinguishes itself from siblings such as check, assert, or open, which also operate on the session.

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?

Strong usage constraints are stated: one verifiable outcome per call, split multi-part tasks across calls, and state expected values in the instruction. It gives credential-handling rules but no explicit when-not-to-use guidance or named alternatives.

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