Skip to main content
Glama

News sentiment (paid, x402) — $0.002

get_sentiment
Read-onlyIdempotent

Use when you need bullish/bearish crypto news sentiment and top headlines for one coin. Crypto news sentiment for one coin ($0.002/call, USDC on Base via x402): score -1..1, bearish/neutral/bullish label, positive/negative/neutral headline counts and up to 5 top headlines with links and stance. Headlines labeled by a local LLM, refreshed about every 15 min. Free list of covered symbols: GET /sentiment. Uncovered or stale: no charge. Example: GET https://cryptofeed402.site/sentiment/BTC

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
symbolYesTicker, e.g. BTC, ETH, SOL

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "accepts": {
      +          "items": {
      +            "properties": {
      +              "amount": {
      +                "description": "USDC atomic units (6 decimals)",
      +                "type": "string"
      +              },
      +              "asset": {
      +                "type": "string"
      +              },
      +              "extra": {
      +                "type": "object"
      +              },
      +              "maxTimeoutSeconds": {
      +                "type": "number"
      +              },
      +              "network": {
      +                "const": "eip155:8453",
      +                "type": "string"
      +              },
      +              "payTo": {
      +                "type": "string"
      +              },
      +              "scheme": {
      +                "const": "exact",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "scheme",
      +              "network",
      +              "amount",
      +              "asset",
      +              "payTo"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "resource": {
      +          "properties": {
      +            "description": {
      +              "type": "string"
      +            },
      +            "mimeType": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "accepts"
      +      ],
      +      "title": "x402 PaymentRequired (what this MCP tool returns, isError=true)",
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "age_seconds": {
      +          "description": "Snapshot age",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "counts": {
      +          "description": "{n_headlines, pos, neg, neu}",
      +          "properties": {
      +            "n_headlines": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "neg": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "neu": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "pos": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "disclaimer": {
      +          "description": "Not financial advice notice",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "generated_at": {
      +          "description": "ISO-8601 UTC",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "label": {
      +          "description": "bearish|neutral|bullish",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "method": {
      +          "description": "Scoring method",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "model": {
      +          "description": "Labeling model",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "provenance": {
      +          "description": "Optional provenance on paid 200s",
      +          "properties": {
      +            "data_sha256": {
      +              "type": "string"
      +            },
      +            "fetched_at": {
      +              "type": "string"
      +            },
      +            "max_age_s": {
      +              "type": "number"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "sources": {
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "score": {
      +          "description": "-1..1 sentiment score",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "symbol": {
      +          "description": "Ticker",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "top_headlines": {
      +          "description": "[{title, source, url, stance}] up to 5",
      +          "items": {
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "window_minutes": {
      +          "description": "Lookback window",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "age_seconds",
      +        "counts",
      +        "disclaimer",
      +        "generated_at",
      +        "label",
      +        "method",
      +        "model",
      +        "score",
      +        "symbol",
      +        "top_headlines",
      +        "window_minutes"
      +      ],
      +      "title": "Paid HTTP 200 body of GET /sentiment/{symbol}",
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "symbol": "BTC"
      +  }
      +]
    • addedInput schema / properties / symbol / examples
      Added value: +[
      +  "BTC"
      +]
  3. Added

TDQS

A3.8/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 covered. The description nonetheless adds real value beyond that: the $0.002/call x402 USDC-on-Base pricing, the no-charge guarantee for uncovered/stale symbols, and the ~15-minute refresh cadence with local-LLM labeling. This is useful, though billing edge cases (retries, partial failures) are unstated.

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 when-to-use clause is front-loaded and the payload description follows immediately, so an agent gets the gist in one sentence. The dense parenthetical pricing block is slightly hard to parse but each sentence carries distinct information, so little is wasted.

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?

For a paid, single-parameter read tool with an output schema, the definition covers cost, billing exemptions, refresh cadence, data origin, and a coverage-discovery endpoint. Nothing an agent needs to call it correctly or predict charges is missing.

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% and the single `symbol` parameter is already documented with pattern and examples, so the baseline of 3 applies. The description only reinforces the one-coin constraint and gives an example URL; it adds no format or normalization rules beyond the schema.

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 names a specific resource and scope: 'Crypto news sentiment for one coin', and enumerates what comes back (score -1..1, label, headline counts, up to 5 headlines). That is enough to tell it apart from history/brief-style siblings. It stops short of explicitly naming an alternative tool, so a 4 rather than a 5.

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?

'Use when you need bullish/bearish crypto news sentiment and top headlines for one coin' gives a clear triggering condition. It also warns that uncovered or stale symbols incur no charge, which implicitly signals a possible empty result. There is no explicit when-not or pointer to a sibling for alternative sentiment needs.

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.