Skip to main content
Glama

launch

Destructive

Start and attach to a PyWebView Qt app by argv from an absolute cwd and return the session_id required by all other driver tools.

Instructions

Start here: launch a PyWebView (Qt) app by argv from an absolute cwd, then call snapshot. Use the project's own interpreter, e.g. ["uv","run","python","main.py"]. Returns session_id needed by all other tools. No shell expansion; isolated temporary profile; reload off unless reload_config is given. Set readiness.bridge=false for apps without js_api. Call get_guide(quickstart) for details.

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": {
      "argv": "<argv>",
      "cwd": "<cwd>"
    },
    "name": "launch"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdYes
envNo
argvYes
targetNo
timeoutNo
readinessNo
profile_modeNotemporary
reload_configNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=true, openWorldHint=true; the description adds real behavioral context beyond that: no shell expansion, an isolated temporary profile, reload disabled unless reload_config is supplied, and a returned session_id required by all other tools. It doesn't discuss timeout behavior or how to terminate the launched process (presumably the stop sibling).

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 action, then sequencing, then constraints and a pointer to get_guide. Dense but nearly every clause adds a distinct constraint; the parenthetical '(Qt)' and example argv are justified, though the sentence chain is somewhat packed.

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?

A destructive, open-world launch tool with 8 parameters and no output schema; the description covers the critical unknowns (interpreter choice, no shell expansion, profile isolation, reload default, session_id return, next step). Omitted timeout semantics, env injection, and target selection keep it short of complete.

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 reported at 0%, so the description must carry the load; it partially does by explaining argv ('use the project's own interpreter', no shell expansion), absolute cwd, readiness.bridge, reload_config, and the temporary profile. env, target, and timeout receive no meaning from the description at all, leaving clear gaps.

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?

States a specific verb and resource ('launch a PyWebView (Qt) app by argv from an absolute cwd') and frames itself as the entry point ('Start here'), so an agent can distinguish it from siblings like attach or reload without opening a 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?

Gives an explicit sequence ('launch ... then call snapshot'), points to get_guide(quickstart) for details, and names a conditional configuration case (readiness.bridge=false for apps without js_api). It never states when not to use it, e.g. attaching to an already-running app instead of launching a new one.

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