Skip to main content
Glama

get_prices

Retrieve current prices for all tokens on Humble Swap to support swap planning and token valuation.

Instructions

Get current prices for all tokens on Humble Swap.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden, but for a zero-parameter read call the risk surface is small. It states the resource is a live snapshot ('current') but says nothing about data freshness, latency, or that this is a bulk operation returning every token — context that would matter on a DEX with many tokens.

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 front-loaded sentence with no filler, boilerplate, or redundancy. It is efficient, though its brevity comes at the cost of the guidance gaps noted elsewhere rather than through tight editing of a richer statement.

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?

With no annotations and no output schema, the description is the only place an agent can learn what comes back, and it never says whether the result is a token-to-price map, a list, or how large it is. For a simple zero-param read tool this is arguably adequate, but the return shape is left entirely to inference.

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?

The tool takes zero parameters, so the baseline of 4 applies; there is no parameter syntax for the description to explain. The description correctly conveys that the call is unfiltered and returns all tokens, which is the only semantic available here.

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?

Specific verb ('Get'), resource ('prices'), and scope ('for all tokens on Humble Swap'), with 'current' marking it as a spot snapshot. The 'all tokens' scope implicitly distinguishes it from single-token siblings like get_token_price, but no sibling is named, so the agent must infer the boundary itself.

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?

No when-to-use or when-not-to-use guidance, and no alternatives named despite a crowded sibling set (get_token_price, get_price_aggregated, get_price_history, get_price_trends, get_tickers). Only 'current' hints that this is not the historical variant; the agent gets no explicit routing rule.

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