Skip to main content
Glama

setup_workflow

Guides hosts through ordered setup steps to install Playwright, choose unconfigured providers, retrieve login instructions, and locate where API keys are stored.

Instructions

Deterministic setup workflow: guide the host to get API keys installed.

Run steps in order. Step 1: check/install Playwright (optional). Step 2: get list of remaining (unconfigured) providers — then prompt the user to choose which to set up. Step 3: pass that selection as provider_selection to get login instructions and where to save each key. Step 4: summary of where keys are stored (config path, configure_key tool, env vars).

Many providers support GitHub SSO; the response marks them so the host can tell the user they may only need to click "Sign in with GitHub" and allow.

Args: step: 1 (Playwright), 2 (remaining providers), 3 (login + save), 4 (where to save). provider_selection: For step 3 only. List of provider keys (e.g. groq, openrouter) the user chose from step 2. If omitted at step 3, response tells you to prompt the user and call again with selection.

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": {
      "step": "<step>"
    },
    "name": "setup_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepYes
provider_selectionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.1
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.7.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does disclose real behavior: step 1 may install Playwright, step 2 returns only unconfigured providers, responses mark GitHub-SSO-capable providers, and step 4 reports config paths, the configure_key tool, and env vars. However it never states that step 1 mutates the host environment, whether installs require permissions or network access, or whether steps are idempotent and safe to re-run.

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?

It is front-loaded with the one-line purpose, then the ordered steps, then the args, so an agent can act after reading the first two lines. The Args section restates the step meanings already given in the numbered list, which is mild redundancy but aids lookup.

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 two-parameter, multi-stage orchestration tool, the description covers sequencing, per-step intent, the SSO shortcut, and the missing-selection recovery path; an output schema exists so return shape needn't be described. The remaining gap is host-side side effects of step 1 and whether steps are resumable.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must define both parameters, and it does: step is enumerated as 1/2/3/4 with the meaning of each value, and provider_selection is scoped to step 3 only, typed as a list of provider keys with examples (groq, openrouter), and given explicit omitted-value behavior. This is meaning the schema alone cannot supply.

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 opens with a specific verb and resource: a deterministic setup workflow that guides the host through getting API keys installed, and it enumerates the four concrete steps. It is clearly a guided onboarding flow rather than a single key write (configure_key) or a static help page (setup_guide), though it never names those siblings to draw the line explicitly.

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 explicitly says to run steps in order and assigns each step a job (1 Playwright, 2 remaining providers, 3 login + save, 4 where things live), plus a concrete fallback: if provider_selection is omitted at step 3, prompt the user and call again. What's missing is any statement about when to skip this tool entirely in favor of configure_key or provider_status.

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