Skip to main content
Glama

Try the app

try_app
Read-only

Run the app in a private, offline browser and return what the script returns plus photos. The script is the body of an async function: read the page and return a value. Helpers: wait(ms), $(sel), $$(sel), click(sel), set(sel, value), log(...); like a player: await tap() (centre) or tap(x, y) or tap('#start'), await key('w', 1500) holds a key, await look(dx, dy) moves the mouse, await snap('label') takes a photo (up to 6). Up to 25 s. The frame is 1280x720 (phone: true for 844x390). Heavy 3D draws slowly here; check state with code too.

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>",
      "script": "<script>"
    },
    "name": "try_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneNo
scriptYes
wait_msNoHow long to let the app load first (default 1500).
end_photoNoAlso photograph where the run ended.
project_idYesThe project's id, from list_projects or create_project.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior5/5

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

Without relying on the readOnlyHint annotation, the description discloses the sandbox model (private, offline browser), the hard run limit (25 s), the photo cap (up to 6), viewport dimensions and how phone changes them, and a real performance caveat about heavy 3D. This is exactly the behavioral context an agent needs and cannot get from the schema.

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 contract (run in sandbox, return script value plus photos) is front-loaded, then helpers, then limits. The helper/player enumeration is dense and slightly run-on, but every clause carries information an agent would otherwise have to guess.

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?

With no output schema, the description correctly explains the return shape ('what the script returns plus photos'). For a sandboxed execution tool the environment, limits, and viewport are all covered. The main omission is error/timeout behavior and whether the sandbox persists between runs.

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 only 60%, and the description compensates well for the weakest parameter: phone is a bare boolean in the schema, and the text explains 'phone: true for 844x390' versus the 1280x720 default. It also gives real semantics to script (async function body + available helpers), which the schema only types as a string. wait_ms and end_photo are left to their schema descriptions, which is acceptable.

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 opening sentence gives a specific verb and resource ('Run the app in a private, offline browser') plus what comes back ('what the script returns plus photos'). It is clear what the tool does, though it never distinguishes itself from the neighboring open_preview or explains why one would pick this over that.

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

Usage Guidelines3/5

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

There is strong guidance on HOW to invoke it (script is an async function body, helper list, tape-style player API, 25 s budget), but nothing on WHEN to choose it versus open_preview or other siblings, and no explicit exclusions. Usage context is implied rather than stated.

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