Skip to main content
Glama

crypto_portfolio_value

Read-only

Crypto portfolio value — Value a list of crypto holdings at the latest prices: per-position price, value, weight and 24h/7d change, portfolio total, 24h change in money and percent, concentration level (LOW/MEDIUM/HIGH by largest weight) and stablecoin share. Give holdings as SYMBOL:amount pairs separated by commas (up to 40); optional currency (USD default, or EUR, GBP, JPY and other ECB currencies). Unrecognized symbols are listed in unknown. Prices from alternative.me. Price: $0.003 USDC (Base, via x402).

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": {
      "holdings": "<holdings>"
    },
    "name": "crypto_portfolio_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
holdingsYesBTC:0.5,ETH:2,SOL:10

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, and the description builds on that with details the annotations cannot carry: the upstream data source (alternative.me), the 40-holding cap, the fallback behavior for unrecognized symbols (listed in unknown), and the cost of the call ($0.003 USDC on Base via x402). Disclosing that the tool is paid and how billing works is exactly the kind of behavioral context an agent needs before invoking it.

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 definition is front-loaded: the operation and its outputs come first, then input format, then data source and price. Every sentence carries information, though the output inventory is crammed into a single long clause-heavy sentence that could be split for easier scanning.

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 no output schema, the description correctly takes on the burden of describing return values and does so thoroughly, plus it covers data provenance, limits, unknown-symbol handling and cost. The remaining gap is the currency option that the description promises but the schema does not expose, leaving ambiguity about whether that argument is actually accepted.

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 100% and there is only one parameter, so the baseline is 3; the description earns above that by specifying the concrete encoding (comma-separated SYMBOL:amount pairs), the upper bound of 40, and the default/alternative currency behavior. The one blemish is that it advertises an optional currency argument (USD default, EUR/GBP/JPY and other ECB currencies) that does not appear in the input schema, which could lead an agent to pass an unsupported argument.

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?

The description opens with a specific verb and resource ("Value a list of crypto holdings at the latest prices") and then enumerates exactly what is computed: per-position price, value, weight, 24h/7d change, portfolio total, 24h money/percent change, concentration level and stablecoin share. That output inventory distinguishes it from single-asset siblings like crypto_price and crypto_ticker without the agent needing to inspect a schema.

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

Usage Guidelines4/5

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

It clearly establishes the use context — batch valuation of multiple holdings supplied as SYMBOL:amount pairs — and caps the scale at 40 positions, which is practical guidance for choosing it over repeated single-price calls. It stops short of naming alternatives (crypto_price, crypto_convert, chain_portfolio) or stating when not to use it.

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