Skip to main content
Glama

Commerce Prices

commerce_prices
Read-onlyIdempotent

Bulk Guild Wars 2 Trading Post buy/sell quotes for many numeric item IDs at once; returns the raw copper unit_price and open quantity on each side for every ID passed. Use guild_wars_2_item_price for a single item looked up by its name with gold/silver/copper formatting.

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_prices"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
countNoNumber of items returned.
itemsNoTrading post prices

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / items / items / properties
      Added value: +{
      +  "buys": {
      +    "properties": {
      +      "quantity": {
      +        "type": "number"
      +      },
      +      "unit_price": {
      +        "type": "number"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "id": {
      +    "type": "number"
      +  },
      +  "sells": {
      +    "properties": {
      +      "quantity": {
      +        "type": "number"
      +      },
      +      "unit_price": {
      +        "type": "number"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "whitelisted": {
      +    "type": "boolean"
      +  }
      +}
    • 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,19721\"."
  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": {
      -    "properties": {
      -      "quantity": {
      -        "description": "Buy quantity",
      -        "type": "number"
      -      },
      -      "unit_price": {
      -        "description": "Buy unit price",
      -        "type": "number"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "id": {
      -    "description": "Item ID",
      -    "type": "number"
      -  },
      -  "sells": {
      -    "properties": {
      -      "quantity": {
      -        "description": "Sell quantity",
      -        "type": "number"
      -      },
      -      "unit_price": {
      -        "description": "Sell unit price",
      -        "type": "number"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "whitelisted": {
      -    "description": "Whether item is whitelisted",
      -    "type": "boolean"
      -  }
      -}
    • 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 prices",
      +      "items": {
      +        "properties": {
      +          "buys": {
      +            "properties": {
      +              "quantity": {
      +                "description": "Buy quantity",
      +                "type": "number"
      +              },
      +              "unit_price": {
      +                "description": "Buy unit price",
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "id": {
      +            "description": "Item ID",
      +            "type": "number"
      +          },
      +          "sells": {
      +            "properties": {
      +              "quantity": {
      +                "description": "Sell quantity",
      +                "type": "number"
      +              },
      +              "unit_price": {
      +                "description": "Sell unit price",
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "whitelisted": {
      +            "description": "Whether item is whitelisted",
      +            "type": "boolean"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "items",
      +    "count"
      +  ],
      +  "type": "object"
      +}
  5. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds useful behavioral context beyond that: results are bulk, denominated in raw copper with no gold/silver/copper formatting, and include open quantity on each side. It stops short of mentioning rate limits or behavior for unknown IDs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: what it returns first, then the alternative. No filler, no repetition of the title, and the disambiguating information is front-loaded.

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?

With an output schema present, return values need not be described at length, and annotations carry the safety profile. For a one-parameter bulk-read tool, the description covers purpose, output denomination, and the sibling routing rule — nothing an agent needs is missing.

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 coverage is 100% and the single ids parameter is already documented as comma-separated numeric IDs with an example. The description reinforces that many IDs are expected in one call and that the response is per-ID, but adds no syntax or edge-case detail (e.g., invalid IDs, max batch size) beyond the schema.

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 — bulk Trading Post buy/sell quotes for numeric item IDs — and explicitly scopes the result to raw copper unit_price plus open quantity per side. It also names the single-item sibling, so the agent can distinguish the two without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit routing rule: use this for many numeric IDs at once, use guild_wars_2_item_price for one item looked up by name. The distinguishing conditions (bulk vs single, ID vs name, raw copper vs formatted) are stated rather than inferred.

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.