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. 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. Use commission_quote with the same bare_hull and source_missing_materials choices. On completion the server pushes ship_commission_complete.)

Input Schema

TableJSON 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)
fund_from_factionNoAt your own faction's station: build from faction 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. Added
  2. Removed
  3. 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)"
  4. 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"
      +}
  5. 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)."
  6. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, which is minimal. The description adds significant behavioral context: what the ship arrives with (default module loadout), the three payment modes and their effects, the prohibition on combining material flags, the faction-funded mode, and the push notification on completion. It doesn't describe failure modes or exact fee structure, but it discloses the key behavioral traits an agent needs.

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?

The description is dense yet well-organized, front-loading the core action before branching into payment modes and faction context. It packs a lot of necessary nuance into a compact space. Slightly overcrowded with detail, but every sentence earns its place; a 5 would require tighter structure with clearer separation of the three shipyard contexts.

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

Completeness4/5

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

Given the tool's complexity (6 params, multiple shipyard types, multiple payment modes) and no output schema, the description covers the important choices, the companion quote tool, and the completion event. It doesn't mention the specific output/return value or potential errors, but the parameter semantics are well-covered and the behavioral context is strong. A small gap remains around what the API returns when the commission is placed.

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 description adds meaning beyond the schema: it explains the semantic contrast between provide_materials and source_missing_materials, states bare_hull's default behavior, and clarifies that fund_from_faction is required at faction stations where other modes are rejected. This goes beyond the schema's per-parameter descriptions.

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?

The description states a specific verb ('Commission') and resource ('a ship to be built at this shipyard'), and identifies it as placing a build order at the current base's shipyard. This clearly differentiates it from siblings like buy_ship, commission_quote, commission_status, cancel_commission, and supply_commission.

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?

The description provides explicit when-to-use guidance across contexts: bare_hull=true vs default, empire/NPC shipyard vs faction station, and which parameter combinations are valid (credits default, provide_materials, source_missing_materials; do not combine; fund_from_faction required at faction stations). It also names commission_quote as the companion tool for the same choices. This is explicit routing and exclusionary 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.

Resources