Skip to main content
Glama

Ship

ship
Destructive

Ship your draft as one commit through the normal path (gate, deploy, one code change) and clear it — or discard: true drops the draft without deploying (message and wait ignored). Rebases onto the current head when it moved, or answers conflict with current_sha when the draft no longer applies.

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": {
      "app": "<app>"
    },
    "name": "ship"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app slug.
waitNoWait for the deploy (default true). False returns immediately; poll deploy_status. Ignored with `discard`.
discardNoDrop the staged draft without deploying. The deployed app is untouched; `message` and `wait` are ignored.
messageNoCommit message, 1-500 chars. Required unless `discard` is true (which ignores it).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint, non-idempotent), the description discloses meaningful traits: it rebases onto the moved head, answers with conflict/current_sha when the draft no longer applies, and that discard leaves the deployed app untouched while ignoring message and wait. Auth/permission requirements and the exact return shape are not covered, keeping it from a 5.

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?

One dense sentence, front-loaded with the primary action and the discard alternative. It packs rebase/conflict detail efficiently, though the run-on construction 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 destructive, non-idempotent ship action with full schema coverage and no output schema, the description covers process, cancel/discard path, rebase behavior, and conflict signaling. Nothing critical to correct invocation is missing.

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% and the schema already documents discard ignoring message/wait and wait's deploy semantics. The description restates these but adds no syntax or format detail beyond the schema, so baseline 3 applies.

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 verb (Ship) and resource (your draft) and spells out the mechanism: 'as one commit through the normal path (gate, deploy, one code change) and clear it.' An agent can see this bundles staging/gate/deploy rather than a plain commit, though no sibling like commit is named explicitly.

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?

Gives clear when-behavior: use discard:true to drop the draft without deploying, and it explains the rebase/conflict path when the head moved. It stops short of explicitly contrasting with the commit sibling, but the 'normal path' framing and discard branch give solid guidance.

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.