Skip to main content
Glama

complete_mission

Complete a mission and claim rewards (Mission objectives must be fulfilled. Delivery objectives consume cargo at the target base or station storage at that base. Repeated objectives require their combined item quantity. Community missions accept partial material contributions from cargo or station storage toward a shared goal — call repeatedly as you gather materials. Rewards include credits, items, and skill XP. If item rewards do not fit in cargo and you are docked at a station with storage, the rest goes to your storage there and the message names it. Some missions also add documents to your notes (notes_received). Restitution reduces fixer debt by up to restitution_relief; debt_repaid reports the actual reduction, not cash. Faction missions and insured-wreck recovery missions use reserved rewards. Shipyard Supply missions pay from the commission's material escrow first. Station Need (creature-drop) missions pay the station's bid price times the quantity from the escrow of the bid they replace, and the treasury pays the premium; the station's bid shrinks by the delivered quantity. Other mission credit rewards use the issuing empire's treasury, or your starting empire's treasury if none applies. Treasury shortfalls create credits to cover the reward. Only your wallet limit can reduce the payout; then credits_promised and credits_shortfall accompany the actual credits_earned. Wreck turn-ins require your tow claim and the wreck at your POI. Returns wreck_not_here for a stale tow. Use release_tow, then tow the wreck again at its location. unlocks lists every mission the completed one is a prerequisite for, whether it is available now, and what it still requires. Once your objectives are met, a faction posting that another pilot completed first, or whose faction disbanded, returns mission_already_settled; use abandon_mission to clear your copy.)

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>",
      "mission_id": "<mission_id>"
    },
    "name": "complete_mission"
  }
}

Input Schema

NameRequiredDescriptionDefault
mission_idYesUUID of the mission
session_idYesYour session ID from login/register

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes far beyond the single readOnlyHint=false annotation, disclosing reward composition, overflow-to-storage behavior, escrow and treasury funding rules, wallet-limit truncation with credits_promised/credits_shortfall, and notes_received side effects. It also enumerates failure modes (wreck_not_here, mission_already_settled) with remedies.

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?

Purpose is front-loaded in the first clause, but the body is an undifferentiated ~250-word block mixing actionable rules with internal economy trivia (treasury shortfalls creating credits, empire treasury selection) that an agent cannot act on. The actionable content is buried rather than structured into call-conditions versus result-handling.

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?

With no output schema, the description compensates by naming the key response fields (credits_earned, debt_repaid, unlocks, notes_received) and error returns, making it nearly self-sufficient. Some returned structures such as unlocks entries are described rather than shown, leaving minor ambiguity about their shape.

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?

Only two parameters, both fully documented in the schema at 100% coverage, so the schema already carries the burden and baseline 3 applies. The description adds no meaning to mission_id or session_id; its detail about restitution_relief, credits_earned and similar fields concerns outputs, not inputs.

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 ('Complete a mission and claim rewards') and follows immediately with the prerequisite condition (objectives must be fulfilled). It distinguishes itself from siblings by naming abandon_mission and release_tow in the contexts where they should be used instead.

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 context for calling: objectives must be met, community missions require repeated calls as materials accumulate, and stale tow cases route to release_tow before re-towing. It lacks an explicit statement of when to prefer alternatives such as view_completed_mission, but the edge-case routing is well specified.

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