Skip to main content
Glama

AIsa Finance

Coin Price by Token Addresses

get_coingecko_simple_token_price_id
Read-onlyIdempotent

This endpoint allows you to query one or more token prices using their token contract addresses

Published reference price: $0.008 USD per successful request. Declared unit rate: $0 USD per provider_credit. Account-specific pricing and final settlement may differ.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesAsset platform's ID. *refers to [`/asset_platforms`](/reference/asset-platforms-list)ethereum
precisionNoDecimal places for currency price value
vs_currenciesYesTarget currency of coins, comma-separated if querying more than 1 currency. *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies)usd
include_24hr_volNoInclude 24-hour trading volume. Default: false
contract_addressesYesToken contract addresses, comma-separated if querying more than 1 token0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
include_market_capNoInclude market capitalization. Default: false
include_24hr_changeNoInclude 24-hour change percentage. Default: false
include_last_updated_atNoInclude last updated price time as a UNIX timestamp. Default: false

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • addedInput schema / properties / contract_addresses / default
      Added value: +"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"
    • changedInput schema / properties / contract_addresses / description
      Previous value: -"Comma-separated contract addresses."New value: +"Token contract addresses, comma-separated if querying more than 1 token"
    • removedInput schema / properties / contract_addresses / example
      Removed value: -"0xdAC17F958D2ee523a2206206994597C13D831ec7"
    • addedInput schema / properties / id / default
      Added value: +"ethereum"
    • changedInput schema / properties / id / description
      Previous value: -"Platform ID (e.g., `ethereum`, `binance-smart-chain`, `polygon-pos`)."New value: +"Asset platform's ID. \n*refers to [`/asset_platforms`](/reference/asset-platforms-list)"
    • removedInput schema / properties / id / example
      Removed value: -"ethereum"
    • addedInput schema / properties / include_24hr_change / description
      Added value: +"Include 24-hour change percentage. \nDefault: false"
    • addedInput schema / properties / include_24hr_vol / description
      Added value: +"Include 24-hour trading volume. \nDefault: false"
    • addedInput schema / properties / include_last_updated_at / description
      Added value: +"Include last updated price time as a UNIX timestamp. \nDefault: false"
    • addedInput schema / properties / include_market_cap / description
      Added value: +"Include market capitalization. \nDefault: false"
    • changedInput schema / properties / precision / description
      Previous value: -"`full` or a value from `0` to `18` to specify decimal places for currency price values."New value: +"Decimal places for currency price value"
    • addedInput schema / properties / precision / enum
      Added value: +[
      +  "full",
      +  "0",
      +  "1",
      +  "2",
      +  "3",
      +  "4",
      +  "5",
      +  "6",
      +  "7",
      +  "8",
      +  "9",
      +  "10",
      +  "11",
      +  "12",
      +  "13",
      +  "14",
      +  "15",
      +  "16",
      +  "17",
      +  "18"
      +]
    • removedInput schema / properties / precision / example
      Removed value: -"2"
    • addedInput schema / properties / vs_currencies / default
      Added value: +"usd"
    • changedInput schema / properties / vs_currencies / description
      Previous value: -"Comma-separated target currencies."New value: +"Target currency of coins, comma-separated if querying more than 1 currency. \n*refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies)"
    • removedInput schema / properties / vs_currencies / example
      Removed value: -"usd"
  2. Changed4 schema fields changed
    • addedInput schema / properties / contract_addresses / example
      Added value: +"0xdAC17F958D2ee523a2206206994597C13D831ec7"
    • addedInput schema / properties / id / example
      Added value: +"ethereum"
    • addedInput schema / properties / precision / example
      Added value: +"2"
    • addedInput schema / properties / vs_currencies / example
      Added value: +"usd"
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered elsewhere. The description contributes only the pricing note (a published reference rate per successful request), which is genuine cost context not present in structured fields. It adds nothing about rate limits, batching behavior, or result shape, so a 3 is appropriate given the low bar set by rich annotations.

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?

The functional sentence is front-loaded and wastes nothing. The appended pricing block is boilerplate rather than author-chosen content, but it still adds length that dilutes the one useful sentence, keeping this just below a 5.

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?

With an output schema present, the description need not explain return values, and rich annotations cover safety. The schema carries all parameter detail. The only real gap is the unstated boundary with the ID-based simple-price sibling, which is a minor omission for an otherwise well-specified endpoint.

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 description coverage is 100%, so all eight parameters — including precision enum, comma-separated multi-value handling, and the include_* flags — are documented in the schema itself. The description says 'one or more' tokens, which lightly reinforces the multi-address capability the schema already states. Baseline 3 applies when the schema does the heavy lifting.

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: query one or more token prices using token contract addresses. Combined with the title and the required contract_addresses parameter, an agent can tell it apart from get_coingecko_simple_price (which keys on coin IDs). It stops short of explicitly naming that sibling or stating the address-vs-ID distinction, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

No explicit when-to-use or when-not-to-use guidance is given. Usage is only implied by the phrase 'using their token contract addresses', which suggests this is the right call when you have contract addresses rather than coin IDs. The agent must infer the boundary against get_coingecko_simple_price and get_coingecko_token_data on its own.

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.

Resources