Skip to main content
Glama

Pricing (free)

get_pricing
Read-onlyIdempotent

Use when you need current per-call prices, network and payTo before paying. Free: current per-call prices for every cryptofeed402 route (USDC on Base, eip155:8453, via x402), payTo address, launch discount and billing rule (charged only on a valid 200). Example: GET https://cryptofeed402.site/pricing

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_pricing"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
payToYesReceiving address
networkYeseip155:8453
currencyYesUSDC
effectiveYesRoute -> effective price map, plus billing rule
launch_discountYesDiscount factor vs list
list_prices_usdYesList prices

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "currency": {
      +      "description": "USDC",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "effective": {
      +      "description": "Route -> effective price map, plus billing rule",
      +      "properties": {
      +        "/attention": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/attention/{symbol}": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/audit/agent-ready?url=": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/audit/sample": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/brief/latest": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/brief/sample": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/brief/teaser": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/briefs/history": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/bundle/brief-sentiment-perps": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/candles/{symbol}": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/coverage/heat": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/feedback/schedule": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/funding/extreme": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/funding/history/{symbol}": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/funding/spread": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/history (cap per call)": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/history (per day)": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/hyperliquid/liq-levels/{coin}": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/liquidations/weekly/{symbol}": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/liquidations/{symbol}": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/narratives/weekly": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/oi/history/{symbol}": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/outlook/{symbol}": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/perps/context": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/perps/{symbol}": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/price/{symbol}": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/request/asset/top": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/samples/{price|funding|perps|sentiment|history|outlook|funding-history|candles|spot|oi-history|attention|narratives-weekly|perps-context|funding-spread|liquidations|liquidations-weekly|hl-liq-levels|bundle|coverage-heat|briefs-history}": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/sentiment": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/sentiment/{symbol}": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "/spot/{symbol}": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "POST /feedback/schedule": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "POST /request/asset": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "billing": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "launch_discount": {
      +      "description": "Discount factor vs list",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "list_prices_usd": {
      +      "description": "List prices",
      +      "properties": {
      +        "brief": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "historyCap": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "historyDay": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "lookup": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "outlook": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "network": {
      +      "description": "eip155:8453",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "payTo": {
      +      "description": "Receiving address",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "currency",
      +    "effective",
      +    "launch_discount",
      +    "list_prices_usd",
      +    "network",
      +    "payTo"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description adds meaningful behavior: the tool is free, covers all routes, uses USDC on Base via x402, includes launch discount details, and clarifies that billing applies only on a valid 200 response. These details materially help an agent understand cost and payment implications.

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 compact and front-loads the primary use case. The example endpoint is useful and the remaining details all support correct invocation or interpretation.

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?

With no parameters, rich annotations, and an output schema, the description supplies the remaining context an agent needs: payment network, payTo data, discount and billing semantics, and the example route. Nothing essential is missing.

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 no parameters, so the baseline is 4. The description adds useful context about what the returned pricing information represents without needing to explain any arguments.

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 states a specific resource and scope: current per-call prices for every cryptofeed402 route, including network, payTo address, launch discount, and billing rule. It clearly distinguishes pricing metadata from asset-price tools such as get_price.

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 gives explicit timing guidance with 'Use when you need current per-call prices, network and payTo before paying.' It clearly frames the tool as a pre-payment lookup, though it does not name an alternative or an exclusion case.

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.