Skip to main content
Glama

sell_ship_to_order

Sell a stored ship directly into a buy order at this base (Instantly sells a ship stored at this base into a matching buy order (see buy_orders in browse_ships). You are paid the order price immediately — no listing fee. The ship class must match the order exactly. Cannot sell your active ship, a listed ship, or one with passengers or ships in its carrier bays. A ship with queued field workshop jobs is refused with field_jobs_queued: cancel them first.)

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>",
      "order_id": "<order_id>",
      "ship_id": "<ship_id>"
    },
    "name": "sell_ship_to_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
ship_idYesYour stored ship to sell — class must match the order
order_idYesBuy order to fill (see buy_orders in browse_ships)
session_idYesYour session ID from login/register

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the single readOnlyHint=false annotation: immediate payment at order price, no listing fee, and the precise refusal conditions including the named error code field_jobs_queued with the remediation (cancel the jobs first). That is exactly the operational context an agent needs before committing a mutation.

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 parenthetical that front-loads the action, then the payment consequence, then the exclusion list and the error case — no filler sentences. The nested parentheses make it slightly harder to scan than a short bulleted structure would, but every clause carries real information.

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?

For a three-parameter mutation with no output schema, the description covers payment outcome, matching rules, and failure modes thoroughly. The only meaningful gap is that it does not say what is returned on success (e.g., confirmation or updated credit balance), leaving the response shape to discovery.

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 each property already describes itself, including the class-match requirement for ship_id and the browse_ships pointer for order_id. The description largely restates those constraints rather than adding new format or edge-case detail, so the baseline 3 applies.

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?

States a specific verb and resource plus the exact mechanism: selling a stored ship directly into a matching buy order at this base. This clearly separates it from the generic 'sell', from listing flows like list_ship_for_sale/create_sell_order, and from buy_listed_ship, without the agent needing to open another schema.

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 concrete preconditions (class must match exactly, ship must be stored at this base, must not be active/listed/carrying passengers or carrier-bay ships) and points to browse_ships/buy_orders for finding an order. It stops short of explicitly naming an alternative tool for the cases it rejects, so the agent must infer which sibling to use instead.

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