Skip to main content
Glama

opencode-workbench

Install one Workbench component

install_component
DestructiveIdempotent

Install a single Workbench component by id (e.g. node, opencode, npm-mcps, skills) on a target; component must be an id from get_workbench_info. Idempotent and consent-gated: without confirm:true it returns the plan. Use it for one targeted component; use apply_clone for a component subset, or bootstrap_host for a first-time end-to-end provision — do not combine them for the same host and change.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesThe machine to operate on: this host (local) or a remote host over SSH (ssh).
confirmNoSet true to actually install. When absent, the call returns a plan and makes no changes.
componentYesComponent id from get_workbench_info.
workspaceNoTarget directory for the profile repo.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
planNoPresented when confirmation is required.
modelYesDefault model selected for the target (DeepSeek when its key is present, else the OpenCode Zen free floor).
dryRunYesTrue when the run made no changes.
targetYesLabel of the target.
envPathYesPath of the written ~/.env.workbench template.
envVarsYesEnvironment variable names listed in the env template.
skippedYesComponent ids skipped (already present or manual).
degradedYesCapabilities disabled because required credentials are absent; fill the named env vars to enable them.
installedYesComponents installed, with exit codes and output.
workspaceYesDirectory where the profile repo was cloned.
configPathYesPath of the written opencode.json.
providerModeYesWhich provider the model resolves to.
requiresConfirmationNoTrue when the call returned a plan without applying; re-call with confirm:true to install.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare idempotentHint and destructiveHint, so the 'Idempotent' claim is partly redundant, but the description adds genuinely new behavior: the consent gate ('without confirm:true it returns the plan'), which explains the dry-run semantics an agent must know before mutating a host. It does not cover credential/permission requirements or SSH auth failure modes, which list_required_credentials and run_auth_flow imply are relevant.

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?

A dense but well-ordered paragraph: what it does, the consent/idempotency contract, then routing to siblings. Every clause carries information, though the idempotent/consent sentence and the routing sentence could be split for faster scanning.

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 an output schema present, return values need no explanation, and the description covers scope, consent behavior, and sibling routing adequately for a 4-param install tool. The main remaining gap is prerequisites — which credentials the target needs and when to call list_required_credentials first.

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 100%, so target/mode/confirm/component are already documented in the schema. The description restates that component must come from get_workbench_info and repeats the confirm plan behavior rather than adding format or constraint detail (e.g. workspace/profile repo semantics). Baseline 3 applies.

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 (Install) plus resource (a single Workbench component) with concrete id examples, and explicitly distinguishes itself from apply_clone (subset) and bootstrap_host (first-time provision). An agent can select it without opening any sibling schema.

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

Usage Guidelines5/5

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

Gives explicit routing rules: 'Use it for one targeted component; use apply_clone for a component subset, or bootstrap_host for a first-time end-to-end provision', plus an anti-pattern warning ('do not combine them for the same host and change'). This is textbook when-to-use guidance.

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.