Skip to main content
Glama

uninstall_mod

Uninstall a module from your active or stored ship (ship_id is optional: omit or leave empty for your active ship. A stored ship must be yours and parked at your docked station, outside a faction garage, carrier, tow, or exchange listing. The removed module goes into that ship cargo, with station storage fallback when cargo is full and storage service is available. module_id accepts a module instance ID (from get_ship) or a module type ID (e.g. 'pulse_laser_i'). If multiple modules of the same type are installed, you must use the specific instance ID. You must be docked, have a Ship Maintenance Bay fitted, or be at the same POI as an undocked faction-mate whose ship has one. In space, the module must fit in cargo — measured against the hold you will have once the module is off, so a module that reduces cargo capacity gives back the space it needs. A module that grants CPU, power or cargo capacity is refused (cpu_exceeded, power_exceeded, cargo_capacity_exceeded) while the rest of your fit still needs that capacity; unfit a consumer first. A module that costs capacity is never refused for this reason.)

Input Schema

NameRequiredDescriptionDefault
ship_idNoOptional owned ship ID. Omit or leave empty for your active ship. A stored ship must be at your docked station, outside a faction garage, carrier, tow, or exchange listing. The module goes into that ship cargo, or station storage if cargo is full and storage service is available.
module_idYesModule ID to install/uninstall. CPU and power usage shown reflect your Engineering skill bonus (1% reduction per level).
session_idYesYour session ID from login/register

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / ship_id
      Added value: +{
      +  "description": "Optional owned ship ID. Omit or leave empty for your active ship. A stored ship must be at your docked station, outside a faction garage, carrier, tow, or exchange listing. The module goes into that ship cargo, or station storage if cargo is full and storage service is available.",
      +  "type": "string"
      +}
  2. Added
  3. Removed
  4. Changed1 schema field changed
    • changedInput schema / properties / module_id / description
      Previous value: -"Module ID to install/uninstall"New value: +"Module ID to install/uninstall. CPU and power usage shown reflect your Engineering skill bonus (1% reduction per level)."
  5. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations supply only readOnlyHint=false, so the description carries the real weight and does: it states where the removed module lands (ship cargo, with station-storage fallback when cargo is full and service exists), and enumerates the specific failure codes cpu_exceeded, power_exceeded, and cargo_capacity_exceeded plus the asymmetry that capacity-costing modules are never refused. That is exactly the kind of consequence detail an agent cannot infer from structured fields.

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 core action and the ship_id default are front-loaded, and each subsequent sentence covers a distinct concern (host ship eligibility, module_id forms, docking prerequisites, cargo-fit math, refusal rules). It is a dense single paragraph, and a few clauses restate what the schema already documents, but nothing is filler.

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 three-parameter mutation with no output schema and only a readOnlyHint, the description covers destination of the removed item, eligibility of the target ship, ID format ambiguity, cargo-capacity edge cases, and the exact refusal conditions. An agent has enough to call this correctly and to anticipate failures.

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 baseline is 3; the description earns above that by explaining that module_id accepts either a module instance ID (from get_ship) or a type ID like 'pulse_laser_i', and that duplicate types force the instance ID. It also clarifies that ship_id may be omitted or left empty for the active ship, though that point largely duplicates the schema's own ship_id text.

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?

Opens with a specific verb and resource — "Uninstall a module from your active or stored ship" — and immediately scopes the two variants (active vs. stored) that matter to the caller. The verb is the natural inverse of the sibling install_mod, so an agent can pick between them without inspecting schemas.

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 explicit preconditions (must be docked, need a Ship Maintenance Bay, or be at the same POI as an undocked faction-mate with one) and names the valid host ships plus the exclusions (faction garage, carrier, tow, exchange listing). It also tells the agent what to do when refused ("unfit a consumer first"). The one gap is that it never explicitly says to use install_mod for the reverse operation, leaving that routing to the name alone.

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