Skip to main content
Glama

setup_workflow

Guide users through installing API keys for LLM providers with a step-by-step workflow covering Playwright setup, provider selection, login instructions, and key storage.

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepYes
provider_selectionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries full burden. It explains the step-by-step behavior and that the tool prompts the user, but does not disclose potential side effects, idempotency, or whether state changes persist.

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 description is well-structured with bulleted steps and a clear purpose upfront. It is slightly verbose but each sentence adds value, and the parameter descriptions are integrated logically.

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?

Given the tool's complexity as a multi-step workflow, the description covers all steps, parameter behavior, and user interaction. An output schema exists, so explaining return values is unnecessary. It is sufficiently complete for an AI agent.

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 description coverage is 0%, so the description compensates by explaining the meaning of 'step' (1-4) and 'provider_selection' (list from step 2). It adds context not present in the schema, such as the mapping of steps to actions.

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 description clearly identifies the tool as a deterministic setup workflow for getting API keys installed, with explicit steps. It distinguishes from sibling tools like 'configure_key' by presenting a multi-step interactive guide.

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?

The description specifies that steps must be run in order and details each step's purpose. It explains how to handle the provider_selection parameter when omitted at step 3, but does not explicitly state when not to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/srclight/model-radar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server