Skip to main content
Glama

APEX x402 Full MCP Hub

Commodity price

commodity_price

Price of ONE Citizens City commodity in APEX from its on-chain AMM pool: price, token and APEX reserves (depth), fee and burn in basis points, whether it is tradeable or paused, and the minimum buy. Pass the name, e.g. "Tomato", "Truffle", "Voidbloom"; an unknown name returns the list of names. For every market at once use commodity_markets; to trade, commodity_swap_build.

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": {
      "commodity": "<commodity>"
    },
    "name": "commodity_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
commodityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does well: it enumerates returned fields (price, token and APEX reserves/depth, fee and burn in bps, tradeable/paused flag, minimum buy) and the unknown-name fallback behavior. It does not explicitly state that the call is a read-only on-chain query with no state change, which is the main residual gap.

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?

Front-loaded with the core purpose, then the return payload, then the parameter examples, then the alternatives. Three sentences with no filler; the field enumeration earns its length because no output schema exists.

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?

For a single-parameter lookup with no output schema and no annotations, the description supplies return contents, pause/tradeable status, fee/burn context, error fallback, and sibling routing. An agent has everything needed to call it correctly and interpret the result.

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 coverage is 0% and the single parameter has no description, so the description must compensate — and it does, specifying that a name is passed and giving three concrete examples ("Tomato", "Truffle", "Voidbloom"). It stops short of stating matching semantics such as case sensitivity or whether partial names are accepted.

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 resource (one Citizens City commodity price in APEX) and verb (fetch), and emphasizes scope with 'ONE' so it is not confused with a bulk listing. It distinguishes itself from commodity_markets (all markets) and commodity_swap_build (trading) by name.

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 explicit routing: use commodity_markets for every market at once, commodity_swap_build to trade. It also covers the edge case of an unknown name returning the list of names, so an agent knows how to recover without guessing.

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.