Skip to main content
Glama

gem_exchange

Read-only

Calculate current Guild Wars 2 exchange rates between copper coins and gems for a chosen quantity and direction, so you can convert currency values accurately.

Instructions

Current currency exchange rate: how many gems you get for quantity copper, or coins for quantity gems.

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": {
      "direction": "<direction>",
      "quantity": "<quantity>"
    },
    "name": "gem_exchange"
  }
}

Input Schema

NameRequiredDescriptionDefault
quantityYes
directionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds that the rate is 'current', implying live rather than cached data, but says nothing about rate volatility, failure modes, or whether the quoted rate is guaranteed for a transaction.

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?

A single sentence with no filler, front-loaded with the core concept. The phrasing 'how many gems you get for quantity copper' is slightly circular in its use of `quantity` for two different units, costing a point on clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and both required parameters are at least semantically explained. However, the description omits whether the rate is fixed by the game or market-driven, which matters for an agent reasoning about openWorldHint behavior.

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 description coverage is 0%, so the description must carry the load, and it does explain that `quantity` is interpreted as copper in one direction and gems in the other. It does not name the `direction` field explicitly, but the enum values are self-describing in the schema.

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 states a concrete resource (current currency exchange rate) and the two conversion forms it supports, so an agent knows exactly what it returns. It does not contrast itself with adjacent tools like currency_history or get_prices, which leaves some ambiguity about freshness vs. historical pricing.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives such as currency_history for past rates. The only usage signal is implicit in the described conversion directions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.