Skip to main content
Glama

opencode-workbench

Bootstrap a bare Linux host

bootstrap_host
DestructiveIdempotent

Provision a bare Linux target end-to-end in one call: scan the platform from the kernel up and return a dry-run upgrade plan, install the latest stable OpenCode and record the resolved version, apply the VDD profile config, and verify parity. Pass help:true for full parameter documentation without contacting the target. Consent-gated: without confirm:true it returns a plan and changes nothing. Set upgrade:true (root/sudo) to run the platform upgrade; default is plan-only. Never reads or transmits secret values. Use it for a first-time provision of a bare host — do NOT also call inspect_target, plan_clone, apply_clone, or install_component for the same host and change; use those granular tools instead when you need step-by-step control of an existing profile.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
helpNoReturn parameter documentation and skip all target access.
dryRunNoReport only; make no changes.
targetNoThe machine to operate on: this host (local) or a remote host over SSH (ssh).
confirmNoSet true to actually provision. When absent, the call returns a plan and makes no changes.
upgradeNoExecute the platform upgrade (default false: plan only).
skipRepoNoDo not clone/update the profile repo on the target.
assumeYesNoUse non-interactive upgrade flags (default true).
workspaceNoTarget directory for the profile repo.
componentsNoComponent ids to include; defaults to required+core.
profileUrlNoOverride profile git URL.
opencodeVersionNoPin a specific OpenCode version (default: latest stable).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
helpNo
modeYes
resultNo
confirmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (openWorldHint, idempotentHint, destructiveHint): it discloses the consent gate ('without confirm:true it returns a plan and changes nothing'), that upgrade needs root/sudo, that upgrade defaults to plan-only, that secrets are never read or transmitted, and that help:true avoids contacting the target. These are exactly the behavioral traits an agent needs for a destructive provisioning call.

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 provisioning action and its sub-steps, then the consent/dry-run behavior, then the sibling exclusion. Every sentence carries weight, though the middle section is densely packed and could be split for readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex, destructive, multi-step, SSH-capable tool with 11 params, nested target object, and an output schema, the description covers scope, consent, privilege requirements, secret handling, and alternative tools. Nothing material an agent needs before calling is missing.

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 100%, so the baseline is 3, but the description adds real meaning: it explains the semantics of help:true (full docs, no target access), confirm:true (consent gate), and upgrade:true (root/sudo, plan-only default) in terms of behavior rather than just naming the flags.

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 ('Provision a bare Linux target end-to-end in one call') and enumerates the concrete steps performed (scan, dry-run plan, install OpenCode, apply VDD profile, verify parity). It explicitly distinguishes itself from the granular siblings, so an agent can select it without opening any 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?

Explicit when-to-use ('first-time provision of a bare host') and when-not-to-use ('do NOT also call inspect_target, plan_clone, apply_clone, or install_component for the same host and change'), naming the four alternatives to use instead for step-by-step control.

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