Skip to main content
Glama

Plan a deployment

plan_deploy

What a deployment would change, block by block, and what each block costs per month; the plan is kept for apply_plan.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plan_deploy"
  }
}

Input Schema

NameRequiredDescriptionDefault
trialNoThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.
intentNoContent of while.yaml; without it, the one in the latest commit at while (like deploy_app), otherwise the last one deployed.
plan_idNoReread this plan (computed earlier) instead of computing one.
projectNoThe project.
from_stateNoGo back to a state version (number given by observe_app { view: "history" }): the plan says what to change to get it back; then apply_plan.
environmentNoProduction or a preview.production
timeout_secondsNoLongest wait, in seconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / trial / description
      Previous value: -"The key returned by the first deploy_app (trial_key), passed again on each call."New value: +"The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
  2. Changed1 schema field changed
    • changedInput schema / properties / intent / description
      Previous value: -"Content of while.yaml. Without this field: the one in the sources at while (the latest commit, like deploy_app), otherwise the last one deployed."New value: +"Content of while.yaml; without it, the one in the latest commit at while (like deploy_app), otherwise the last one deployed."
  3. Changed1 schema field changed
    • changedInput schema / properties / intent / description
      Previous value: -"Content of while.yaml. Without this field, the last known file is used."New value: +"Content of while.yaml. Without this field: the one in the sources at while (the latest commit, like deploy_app), otherwise the last one deployed."
  4. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false; the description adds the important detail that a plan artifact is persisted ('kept for apply_plan'), which explains the non-readOnly hint. It does not clarify that no infrastructure is actually changed, nor blocking/timeout behavior for a potentially long computation.

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 single compact sentence that front-loads the concrete outcome (changes and cost) before the persistence note. No filler, though the semicolon-joined workflow clause is slightly compressed.

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 7-parameter planning tool with no output schema, the description conveys the two things an agent most needs about the result: it is a per-block change list with monthly cost, and it is stored for apply_plan. Remaining details (timeout, environment defaults) are fully covered by the schema.

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 every parameter is already documented, and the description adds no parameter-level meaning — it never references plan_id (reread an existing plan), from_state (rollback planning), trial, or environment. Baseline 3 is appropriate.

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?

States a concrete resource and output: what a deployment would change 'block by block' plus per-month cost. This distinguishes it from apply_plan by noting the plan is persisted for later application, though it never uses an explicit verb like 'preview' or 'compute'.

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

Usage Guidelines3/5

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

The clause 'the plan is kept for apply_plan' implies this is the step that precedes apply_plan, which is useful workflow context. However, it never states when to use this vs. apply_plan or deploy_app directly, nor any prerequisites (e.g. an existing trial or project).

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