Skip to main content
Glama

plan_deployment

Preview what deploying a controller in AWS or GCP would create and cost before any changes. It creates nothing and shows the planned hostname, cloud account, subnet, telemetry, and access settings.

Instructions

Work out what deploying a controller would create and cost. Creates nothing. name is a short label for this deployment (lowercase letters, digits, dashes). admin_email becomes the first admin.

Naming, pick one. Default: hostname, the DNS name the controller will answer on, in a domain the user controls; nothing about the deployment is registered with Bowtie. Only if the user has no domain to use, or asks for the quickest start: bowtie_direct=true with org_name, and Bowtie assigns a name like bt0.-1234.bowtie.direct. That option sends the hostname, public IP and organization name to Bowtie, so say so when offering it.

cloud is "aws" or "gcp"; cloud_account is optionally an AWS profile name or a Google Cloud project id; subnet optionally names a subnet other than the default network's. telemetry is on by default: the controller sends Bowtie usage reports, as every Bowtie controller does. The plan lists what they contain. Pass false if the user wants them off; they are then switched off right after boot. starter_access adds one rule letting the admin reach the controller's own network.

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": {
      "name": "<name>",
      "cloud": "<cloud>",
      "admin_email": "<admin_email>"
    },
    "name": "plan_deployment"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
cloudYes
regionNo
subnetNo
hostnameNo
org_nameNo
telemetryNo
admin_emailYes
bowtie_directNo
cloud_accountNo
instance_typeNo
starter_accessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it declares the tool is non-mutating, discloses that telemetry is on by default and phones home usage reports, warns that `bowtie_direct` sends hostname, public IP and org name to Bowtie (and instructs the agent to say so), and notes telemetry-off takes effect only after boot. These are exactly the side effects an agent must surface before calling.

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 purpose and the non-mutating guarantee, then organized by decision (naming, cloud, telemetry, access) rather than by parameter order, which matches how an agent would gather inputs. The prose is dense and mostly earns its place, though the telemetry paragraph could be tightened slightly.

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 12-parameter planning tool with no output schema and no annotations, the description covers nearly everything an agent needs: purpose, safety profile, privacy trade-offs, and defaults. The gaps are `region` and `instance_type`, plus no hint of what the returned plan contains beyond "the plan lists what they contain."

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 coverage is 0% across 12 parameters, yet the description supplies meaning for ten of them — including the crucial "aws" or "gcp" value constraint for `cloud`, which the schema does not encode as an enum. It also explains `cloud_account` (AWS profile vs GCP project id) and `subnet` defaults. `region` and `instance_type` are left entirely undocumented.

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?

"Work out what deploying a controller would create and cost. Creates nothing." gives a specific verb (plan/preview), a specific resource (controller deployment), and states the scope boundary that separates it from apply_deployment. An agent can distinguish plan from apply without opening either 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?

Strong conditional routing for the naming choice: default to `hostname` when the user controls a domain, and use `bowtie_direct` only when the user has no domain or asks for the quickest start. It also gives explicit when-to-enable logic for telemetry and starter_access. It never names apply_deployment as the follow-up step, so the plan-then-apply sequence is implied rather than stated.

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