Skip to main content
Glama

pangea_check_directory

Validate a local app directory offline to catch Dockerfile, port, read-only rootfs, SQLite, and secret packaging issues before deployment.

Instructions

Run offline preflight validation (pangea doctor) on a local directory to catch Dockerfile, port, read-only rootfs, SQLite, or secret packaging issues before deploying.

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_check_directory"
  }
}

Input Schema

NameRequiredDescriptionDefault
directoryYesLocal application directory path
dockerfileNoOptional relative Dockerfile path inside directory (default: Dockerfile or pangea.yaml)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It contributes one useful behavioral fact – the check is 'offline' and preflight-only, implying no side effects on the target – but says nothing about what the run produces (pass/fail, report, exit status), whether it writes any files or state, or whether a failing check blocks anything. For a validation tool mapping to `pangea doctor`, the result semantics are the key missing behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the action verb first and zero filler. The parenthetical command name (`pangea doctor`) is a useful anchor rather than waste.

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 simple two-parameter tool this covers purpose and timing adequately, but with no output schema the description should say what a validation run returns or how failures surface, since that is what an agent needs to act on the result. Annotations are absent as well, so nothing else fills the gap.

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 coverage is 100%, so both parameters (directory, dockerfile) are already documented in the schema, including the default Dockerfile/pangea.yaml resolution. The description merely echoes 'local directory' and names Dockerfile among checked items; it adds no new meaning such as path format constraints or how an explicit dockerfile interacts with pangea.yaml.

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?

Specific verb and resource: 'Run offline preflight validation (`pangea doctor`) on a local directory', plus the class of problems it detects (Dockerfile, port, read-only rootfs, SQLite, secret packaging). The phrase 'before deploying' situates it relative to the deploy sibling, so an agent can distinguish the two without inspecting schemas.

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?

Usage timing is explicit ('before deploying'), which is genuine when-to-use guidance. However, it names no alternatives (e.g., pangea_deploy_directory) and states no exclusion or prerequisite conditions, so it falls short of a 5.

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