Skip to main content
Glama

x402_market_overview

Analyze crypto market sentiment to identify trends and top movers across major coins. Provides aggregate data for informed decision-making.

Instructions

Get a broad crypto market sentiment overview covering major coins and trends. Price: $0.05 USDC per query.

Provides aggregate sentiment across the crypto market. Without X402_PRIVATE_KEY, only the free test endpoint is available.

Returns: market-wide sentiment data, top movers, and trend analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler implementation for the 'x402_market_overview' MCP tool, which fetches market sentiment data from either a paid or free endpoint based on the presence of a private key.
    server.tool(
      "x402_market_overview",
      `Get a broad crypto market sentiment overview covering major coins and trends.
    Price: $0.05 USDC per query.
    
    Provides aggregate sentiment across the crypto market.
    Without X402_PRIVATE_KEY, only the free test endpoint is available.
    
    Returns: market-wide sentiment data, top movers, and trend analysis.`,
      {},
      async () => {
        const base = APIS.sentiment.baseUrl;
    
        try {
          const usePaid = !!PRIVATE_KEY;
          const endpoint = usePaid ? "/market/overview" : "/test/market/overview";
    
          const data = await apiGet(base, endpoint, usePaid);
          return textResult({
            mode: usePaid ? "paid" : "free_test",
            cost: usePaid ? "$0.05" : "free",
            ...data,
          });
        } catch (err: any) {
          return errorResult(err.message);
        }
      }
Behavior4/5

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

No annotations provided, so description carries full burden. Discloses financial cost, authentication constraints, and return value structure ('market-wide sentiment data, top movers, and trend analysis'). Missing rate limits or test endpoint functional limitations, but covers primary behavioral concerns for a paid API.

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?

Well-structured with logical flow: purpose → cost → scope → auth → returns. Each sentence delivers distinct value (pricing, auth, return types). Slightly verbose but information-dense given the financial and authentication constraints that must be communicated.

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?

No output schema exists, but description compensates by detailing return values ('top movers, trend analysis'). Appropriately covers payment and authentication complexity despite simple parameter structure. Sufficient for agent to understand complete operational contract.

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?

Input schema has 0 parameters (empty object). Per scoring rules, 0 parameters warrants baseline score of 4. No parameter semantics needed or provided.

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?

Excellent specificity: 'Get a broad crypto market sentiment overview' provides clear verb and resource. Explicitly scopes to 'major coins' and 'aggregate' sentiment, distinguishing from sibling x402_sentiment which likely handles specific/targeted sentiment analysis.

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?

Strong operational guidance disclosing cost ('$0.05 USDC per query') and authentication requirements ('Without X402_PRIVATE_KEY, only the free test endpoint'). Lacks explicit when-to-use comparison against x402_sentiment, but scope differentiation is clear from the description text.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jameswilliamwisdom/x402-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server