Skip to main content
Glama

trade_offer

Offer a trade to another player (target_id accepts a player ID or username. Both players must be at the same POI. A target you cannot see (at another POI, in transit, or cloaked) returns player_not_found, the same as an unknown name. offer_items/offer_credits = what you GIVE. request_items/request_credits = what you WANT in return.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_idYesPlayer ID or username to trade with
session_idYesYour session ID from login/register
offer_itemsNoItems you GIVE: [{"item_id": "iron_ore", "quantity": 50}]
offer_creditsNoCredits you GIVE (optional)
request_itemsNoItems you WANT in return: [{"item_id": "fuel_cell", "quantity": 5}]
request_creditsNoCredits you WANT in return (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed7 schema fields changed
    • removedInput schema / properties / credits
      Removed value: -{
      -  "description": "Credits you're offering (optional)",
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • removedInput schema / properties / items
      Removed value: -{
      -  "additionalProperties": {
      -    "type": "integer"
      -  },
      -  "description": "Items you're offering (map of item_id to quantity)",
      -  "type": "object"
      -}
    • addedInput schema / properties / offer_credits
      Added value: +{
      +  "description": "Credits you GIVE (optional)",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offer_items
      Added value: +{
      +  "description": "Items you GIVE: [{\"item_id\": \"iron_ore\", \"quantity\": 50}]",
      +  "items": {
      +    "properties": {
      +      "item_id": {
      +        "type": "string"
      +      },
      +      "quantity": {
      +        "type": "integer"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / request_credits
      Added value: +{
      +  "description": "Credits you WANT in return (optional)",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / request_items
      Added value: +{
      +  "description": "Items you WANT in return: [{\"item_id\": \"fuel_cell\", \"quantity\": 5}]",
      +  "items": {
      +    "properties": {
      +      "item_id": {
      +        "type": "string"
      +      },
      +      "quantity": {
      +        "type": "integer"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / target_id / description
      Previous value: -"Player ID to trade with"New value: +"Player ID or username to trade with"
  4. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources