Skip to main content
Glama

Commerce Listings

commerce_listings
Read-onlyIdempotent

Guild Wars 2 Trading Post order-book depth for numeric item IDs; returns every standing buy and sell listing tier with its copper unit price, listing count, and quantity, so you can see how deep the book is at each price level.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ids": "19684,24291"
    },
    "name": "commerce_listings"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoComma-separated numeric item IDs, e.g. "19976".

Output Schema

NameRequiredDescriptionDefault
countNoNumber of items returned.
itemsNoTrading post listings

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / items / items / properties
      Added value: +{
      +  "buys": {
      +    "items": {
      +      "properties": {
      +        "listings": {
      +          "type": "number"
      +        },
      +        "quantity": {
      +          "type": "number"
      +        },
      +        "unit_price": {
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "id": {
      +    "type": "number"
      +  },
      +  "sells": {
      +    "items": {
      +      "properties": {
      +        "listings": {
      +          "type": "number"
      +        },
      +        "quantity": {
      +          "type": "number"
      +        },
      +        "unit_price": {
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +}
    • changedOutput schema / properties / items / items / type
      Previous value: -"number"New value: +[
      +  "object"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / ids / description
      Added value: +"Comma-separated numeric item IDs, e.g. \"19976\"."
  3. Changed4 schema fields changed
    • changedOutput schema / properties / count / type
      Previous value: -"integer"New value: +"number"
    • removedOutput schema / properties / items / items / properties
      Removed value: -{
      -  "buys": {
      -    "items": {
      -      "properties": {
      -        "listings": {
      -          "description": "Number of buy listings",
      -          "type": "number"
      -        },
      -        "quantity": {
      -          "description": "Total quantity",
      -          "type": "number"
      -        },
      -        "unit_price": {
      -          "description": "Unit price",
      -          "type": "number"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "id": {
      -    "description": "Item ID",
      -    "type": "number"
      -  },
      -  "sells": {
      -    "items": {
      -      "properties": {
      -        "listings": {
      -          "description": "Number of sell listings",
      -          "type": "number"
      -        },
      -        "quantity": {
      -          "description": "Total quantity",
      -          "type": "number"
      -        },
      -        "unit_price": {
      -          "description": "Unit price",
      -          "type": "number"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  }
      -}
    • changedOutput schema / properties / items / items / type
      Previous value: -"object"New value: +"number"
    • removedOutput schema / required
      Removed value: -[
      -  "items",
      -  "count"
      -]
  4. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "ids": "19684,24291"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "description": "Number of items returned.",
      +      "type": "integer"
      +    },
      +    "items": {
      +      "description": "Trading post listings",
      +      "items": {
      +        "properties": {
      +          "buys": {
      +            "items": {
      +              "properties": {
      +                "listings": {
      +                  "description": "Number of buy listings",
      +                  "type": "number"
      +                },
      +                "quantity": {
      +                  "description": "Total quantity",
      +                  "type": "number"
      +                },
      +                "unit_price": {
      +                  "description": "Unit price",
      +                  "type": "number"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "id": {
      +            "description": "Item ID",
      +            "type": "number"
      +          },
      +          "sells": {
      +            "items": {
      +              "properties": {
      +                "listings": {
      +                  "description": "Number of sell listings",
      +                  "type": "number"
      +                },
      +                "quantity": {
      +                  "description": "Total quantity",
      +                  "type": "number"
      +                },
      +                "unit_price": {
      +                  "description": "Unit price",
      +                  "type": "number"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "items",
      +    "count"
      +  ],
      +  "type": "object"
      +}
  5. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds the return shape (buy and sell tiers with copper unit price, listing count, quantity), which clarifies units and structure, but says nothing about throttling, caps on returned listing tiers, or behavior with multiple IDs.

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 front-loaded sentence that puts the resource and key first, then the returned fields. The trailing 'so you can see how deep the book is at each price level' largely restates 'order-book depth', making it mild filler rather than a new fact.

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 an output schema present and full schema coverage on the sole parameter, the definition covers what an agent needs to select and call it. Minor gaps remain: bulk-limit behavior for the comma-separated list and any note on how deep the returned book goes are unaddressed.

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 description coverage is 100% and the single `ids` parameter is documented with a format example, so the baseline is 3. The description only restates that IDs are numeric and comma-separated — it adds no constraints such as a maximum number of IDs per call or behavior for invalid IDs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource and scope: Guild Wars 2 Trading Post order-book depth keyed by numeric item IDs. It is clearly distinct in kind from a simple price lookup, but it never names or contrasts with the price-oriented siblings (commerce_prices, guild_wars_2_item_price), leaving that differentiation to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the phrase 'so you can see how deep the book is at each price level', which suggests the depth-inspection use case. There is no explicit when-to-use/when-not guidance and no pointer to the cheaper price-only alternatives for cases where full book depth is unnecessary.

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.