Skip to main content
Glama

commission_ship

Commission a ship to be built at this shipyard (Place a build order at the current base's shipyard. Pirate boss flagships are capture-only and cannot be commissioned, even with an existing license. Ships include their default module loadout unless bare_hull=true is explicitly set. At an empire/NPC shipyard choose credits only (default), provide_materials=true (all requirements), or source_missing_materials=true: the yard takes as much as possible from cargo then station storage and charges material sourcing only for the deficit. Do not combine the two material flags. All modes pay labor and a yard fee. Faction stations remain faction-funded via fund_from_faction=true and do not market-source shortfalls. Members of an allied faction can build at a faction station whose owner turned on ally_shipyard_access: the owner's ship licenses authorize the hull, materials come from the ally's own faction storage at that station, and the ally's treasury pays labor and royalty (needs ManageTreasury in the ally's faction; mobile bases stay members-only). Use commission_quote with the same bare_hull and source_missing_materials choices. On completion the server pushes ship_commission_complete. Mobile bases (civitas, siege_foundry, foundation, here_to_stay, emanation) build faction-funded at your faction's own tier-4 shipyard, or player-funded at their empire's capital (each empire's home station) in any normal payment mode. The capital order needs faction membership and ManageBases, reserves your faction's single mobile-base slot, and builds the station for your faction: on completion it appears next to the capital. You or any ManageBases member of that faction can cancel it: the normal refund goes to you, and the slot frees. bare_hull does not apply to mobile bases.)

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": {
      "session_id": "<session_id>",
      "ship_class": "<ship_class>"
    },
    "name": "commission_ship"
  }
}

Input Schema

NameRequiredDescriptionDefault
bare_hullNoIf true, commission only the hull without its default module loadout. Defaults to false so ships arrive fitted.
session_idYesYour session ID from login/register
ship_classYesShip class ID to commission (use catalog type=ships to see options). Mobile-base blueprints build faction-funded at your faction's tier-4 shipyard, or player-funded at their empire's capital for your faction (requires ManageBases; reserves the faction's single mobile-base slot).
fund_from_factionNoAt your own faction's station, or an allied station that shares its shipyard (ally_shipyard_access): build from your faction's storage and treasury (requires ManageTreasury). Required there; credits-only and provide_materials are rejected.
provide_materialsNoAt an empire/NPC shipyard: if true, supply build materials from cargo/storage (cheaper); if false, pay credits for everything (default).
source_missing_materialsNoAt an empire/NPC shipyard: take available requirements from cargo then station storage and charge only to source the deficit. Do not combine with provide_materials.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ship_class / description
      Previous value: -"Ship class ID to commission (use catalog type=ships to see options)"New value: +"Ship class ID to commission (use catalog type=ships to see options). Mobile-base blueprints build faction-funded at your faction's tier-4 shipyard, or player-funded at their empire's capital for your faction (requires ManageBases; reserves the faction's single mobile-base slot)."
  2. Changed1 schema field changed
    • changedInput schema / properties / fund_from_faction / description
      Previous value: -"At your own faction's station: build from faction storage and treasury (requires ManageTreasury). Required there; credits-only and provide_materials are rejected."New value: +"At your own faction's station, or an allied station that shares its shipyard (ally_shipyard_access): build from your faction's storage and treasury (requires ManageTreasury). Required there; credits-only and provide_materials are rejected."
  3. Added
  4. Removed
  5. Changed1 schema field changed
    • changedInput schema / properties / ship_class / description
      Previous value: -"Ship class ID to commission (use ship_catalog to see options)"New value: +"Ship class ID to commission (use catalog type=ships to see options)"
  6. Changed2 schema fields changed
    • addedInput schema / properties / bare_hull
      Added value: +{
      +  "description": "If true, commission only the hull without its default module loadout. Defaults to false so ships arrive fitted.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / source_missing_materials
      Added value: +{
      +  "description": "At an empire/NPC shipyard: take available requirements from cargo then station storage and charge only to source the deficit. Do not combine with provide_materials.",
      +  "type": "boolean"
      +}
  7. Changed2 schema fields changed
    • addedInput schema / properties / fund_from_faction
      Added value: +{
      +  "description": "At your own faction's station: build from faction storage and treasury (requires ManageTreasury). Required there; credits-only and provide_materials are rejected.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / provide_materials / description
      Previous value: -"If true, supply build materials from cargo/storage (cheaper). If false, pay credits for everything (default)."New value: +"At an empire/NPC shipyard: if true, supply build materials from cargo/storage (cheaper); if false, pay credits for everything (default)."
  8. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only supply readOnlyHint=false, so the description carries the rest and does so thoroughly: labor and yard fees are always charged, the yard draws from cargo then station storage and bills only the deficit, allied builds require ManageTreasury and use the ally's treasury, mobile-base capital orders need ManageBases and reserve the faction's single slot, and a ship_commission_complete push is emitted on completion. Cancellation and refund routing are also disclosed.

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

Conciseness3/5

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

The core purpose is front-loaded, but the remainder is a single long parenthetical run-on that packs payment modes, faction rules, ally rules, and mobile-base rules into one paragraph. Every clause is substantive, yet the lack of sentence or bullet structure makes it hard to scan and increases the risk of an agent missing one of the conditional branches.

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 six-parameter mutation tool with no output schema, the description covers everything needed to call it correctly: prerequisites, mutually exclusive flag combinations, fee implications, completion notification, and cancellation/refund behavior. Nothing material about invoking it correctly is left to inference.

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 100%, so the baseline is 3, but the text adds real meaning beyond the schema: bare_hull is scoped out for mobile bases, the two material flags are declared mutually exclusive in behavioral terms (storage draw order and deficit billing), and fund_from_faction is tied to allied station access and ManageTreasury. Minor gap: it doesn't restate session_id or ship_class sourcing, which is fine because the schema covers them.

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?

Opening verb+resource is explicit: 'Commission a ship to be built at this shipyard', immediately glossed as 'Place a build order at the current base's shipyard'. It also names the quoting sibling (commission_quote) and carves out a hard exclusion (pirate boss flagships are capture-only), so an agent can distinguish this from adjacent ship-acquisition tools.

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

Usage Guidelines5/5

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

States when to use each payment mode (credits-only default, provide_materials, source_missing_materials), explicitly forbids combining the two material flags, and separate rules for faction stations, allied-faction stations, and mobile bases. It also names the paired tool to use for a price check with the same flag choices.

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