Skip to main content
Glama

get_exchange_all

Retrieve summary prices for all materials on one or more specified exchanges using single or comma-separated exchange codes for market comparison.

Instructions

Get summary prices for all materials on a specific exchange.

Args:
    exchange: Exchange code(s). Can be single (e.g., "CI1")
              or comma-separated (e.g., "CI1,NC1").
              Valid: AI1, CI1, CI2, IC1, NC1, NC2.

Returns:
    TOON-encoded list of all material prices on the exchange(s).

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": {
      "exchange": "<exchange>"
    },
    "name": "get_exchange_all"
  }
}

Input Schema

NameRequiredDescriptionDefault
exchangeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It implies a read-only retrieval and states that results are TOON-encoded lists, but it does not disclose error behavior for invalid exchanges, data freshness, pagination, or rate limits.

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?

The description is front-loaded with the purpose, then cleanly separated into Args and Returns sections. Every sentence contributes useful information with no redundant wording.

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?

For a simple one-parameter retrieval tool with an output schema, the description covers purpose, parameter format, valid values, and return encoding. It is only missing usage guidance and broader behavioral caveats.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description fully compensates by explaining that exchange accepts a single code or comma-separated codes, providing examples, and enumerating all valid values.

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 specific verb and resource: get summary prices for all materials on a specific exchange. It is clear what the tool retrieves, but it does not explicitly distinguish itself from similarly named sibling tools such as get_exchange_prices.

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?

The description lists valid exchange codes but gives no guidance on when to use this tool versus alternatives, no prerequisites, and no exclusions. Usage is only implied by the tool name and one-sentence purpose.

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