Skip to main content
Glama

pangea_deploy_directory

Deploy a local directory containing pangea.yaml by packaging the source and running an offline doctor preflight before upload unless skipped.

Instructions

Package and deploy a local directory containing a linked pangea.yaml (runs offline pangea doctor preflight automatically unless skip_doctor=true).

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": {
      "directory": "<directory>"
    },
    "name": "pangea_deploy_directory"
  }
}

Input Schema

NameRequiredDescriptionDefault
rebuildNoForce fresh build
directoryYesLocal path containing pangea.yaml
dockerfileNoOptional relative Dockerfile path inside directory (default: Dockerfile or pangea.yaml)
skip_doctorNoSkip automatic offline pangea doctor preflight before uploading source (default: false)
strict_doctorNoAbort deploy when offline pangea doctor reports warnings (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose one meaningful side effect — an automatic offline 'pangea doctor' preflight runs before upload unless skip_doctor=true — which is real behavioral value. But for a deploy/mutation tool it says nothing about irreversibility, what gets uploaded and where, authentication requirements, or failure modes.

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 front-loaded sentence with the artifact and the automatic preflight clause, no wasted phrasing. The parenthetical adds tightly relevant behavior rather than filler, though it could be split for readability.

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

Completeness3/5

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

For a deployment tool with no annotations and no output schema, the description covers the input contract and the preflight side effect but leaves out what the deploy returns (build output, URL, status) and what preconditions must hold. Adequate to attempt a call, incomplete for anticipating results or failures.

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 all five parameters are already documented in the schema, which sets the baseline at 3. The description reinforces skip_doctor semantics but adds no format, default, or interaction detail (e.g., how strict_doctor relates to skip_doctor) beyond what the schema states.

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 specific compound verb ('package and deploy') and a precisely scoped resource ('a local directory containing a linked pangea.yaml'), which an agent can distinguish from image-based deployment or directory checking. It does not name the sibling it contrasts with (pangea_deploy_image, pangea_check_directory), so the differentiation is implied rather than explicit.

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 'packages a local directory containing pangea.yaml' implies when this tool is appropriate versus its siblings, and the skip_doctor/strict_doctor notes imply gating use of preflight. However, it never states exclusions, prerequisites (e.g., authenticated session, project context), or which sibling to choose when the source is an image rather than a directory.

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

Deploy Server

Other Tools