Skip to main content
Glama

cancel_commission

Cancel a pending or in-progress ship commission (Cancel a commission that hasn't finished yet. While the yard is still sourcing, all unspent or recovered sourcing funds, labor, and the yard fee are refunded, and all gathered materials return to station storage. After sourcing, the yard fee plus 50% of held labor is refunded; the remaining labor pays station workers. Gathered materials, including purchased materials, return to station storage. Fully player-supplied orders return all requirements. Faction-funded cancellations return materials to faction storage and apply the faction cancellation policy. A ManageBases member of the bound faction can also cancel a capital mobile-base order; the refund still goes to the player who placed it, and refunded_to names the recipient. A finished mobile base returns not_cancellable. Other players get not_yours. credits_total is your own wallet balance.)

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>",
      "commission_id": "<commission_id>"
    },
    "name": "cancel_commission"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idYesYour session ID from login/register
commission_idYesID of the commission to cancel

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

With only readOnlyHint=false supplied, the description carries the burden and does so thoroughly: it discloses the staged refund policy before vs. after sourcing, where materials go (station vs. faction storage), the faction cancellation policy, the ManageBases capital mobile-base path, and the refunded_to recipient field. It also flags the credit balance semantics of credits_total.

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 leading sentence is a clean, front-loaded summary, and the parenthetical organizes detail into cancellation-stage clauses. The nested parenthetical is dense and covers several policy branches in one block, which costs some readability but every clause carries substantive information.

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?

No output schema exists, and the description does well to name key return states (not_cancellable, not_yours) and the refunded_to and credits_total fields. However, it never enumerates the overall success response shape, so an agent still lacks a complete picture of what a normal successful cancellation returns.

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 both parameters are documented at baseline. The description adds meaning beyond the schema by tying commission_id to commission lifecycle states and clarifying that refunds go to the placer even when another player cancels, though it does not restate session_id semantics.

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?

Names a specific verb (cancel) and resource (ship commission) with a clear scope qualifier: pending or in-progress orders only. It is readily distinguishable from siblings like cancel_order or cancel_ship_listing, and it explicitly states the not_cancellable outcome for finished mobile bases.

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?

Clearly delimits when the tool applies (commission hasn't finished yet) and gives explicit negative conditions: finished mobile base returns not_cancellable, other players' commissions return not_yours. It does not name a sibling alternative for post-completion reversal, so it falls just short of full routing 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