Skip to main content
Glama

Pay: Latest market news

get_latest_news

Use for the last 48 hours across all markets: stocks, forex, commodities, macro and crypto. For crypto-only headlines use get_crypto_news; for a past day use get_news_day. Recent crypto, stock, forex and macro headlines with publisher, times, labels and AI scores where available: returns a JSON object with count and items, or stored label counts with format=sentiment_summary. Call without payment to see the price and matching count; pay to get the records. Parameters combine as filters: limit: 1-100, default 50; coin: optional case-insensitive ticker; call list_supported_coins or GET /v1/coins for recent labels; market: optional lower-case market label; tag: optional lower-case label; relevant: optional true; sentiment: optional positive, neutral, negative or unscored stored label; missing labels do not match; q: optional keyword search in headline titles, 2-60 characters; since: optional UTC timestamp ending Z; before: optional next_before cursor for the next older page; stable: true pins pages to the first feed revision for at most three hours; restart if unavailable; format: compact, sentiment_summary, or omit for full fields. Costs $0.005 USDC via x402; without payment returns an offer. No account or API key required. USDC on Base or Solana. Invalid, empty or stale requests are refused before payment. Retrying the same payment reuses a remembered settlement when its record is available; availability is not guaranteed.

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

Input Schema

NameRequiredDescriptionDefault
qNoOptional keyword or phrase, 2 to 60 characters, matched case-insensitively in the headline title, such as ETF or rate cut. A paid request with no matching headline is refused before any charge.
tagNoOptional label to match, lower case: a ticker (btc, nvda, eurusd, xau), a topic or an event type (token_listing, etf_approval).
coinNoOptional ticker such as BTC, ETH, NVDA or EURUSD, matched against the AI-tagged coins and the tickers named in each record. Call list_supported_coins or GET /v1/coins for recent labels.
limitNoMaximum records to return, 1 to 100. Default 50.50
sinceNoOptional UTC time such as 2026-11-13T09:00:00Z: only records first seen after it, so a bot polling every hour pays for new items only.
beforeNoOptional page cursor: pass next_before from the previous response to get the next older page of the same query. A response carries next_before while older matching records remain.
formatNoOptional compact fields or sentiment_summary counts for the selected page. Summary counts stored labels and finite numeric scores without returning records. Omit for the full response.
marketNoOptional market label: crypto, equities, forex, commodities, rates, macro, energy or real_estate.
stableNoOpt in to a snapshot-bound cursor; keep the same selection and stable=true. Expired or unavailable snapshots require a fresh first page before payment.
relevantNoOptional: true keeps only market-relevant records: a market, ticker, crypto asset, exchange or event label, a Binance announcement, or an AI score away from neutral (positive or negative). Drops general news such as sport and politics without market content.
sentimentNoOptional stored sentiment label: positive, neutral, negative or unscored. Records without a stored label do not match, including unscored.
first_in_groupNoOptional true: keep records explicitly marked repeat_first=true. Missing flags are excluded; groups are source-defined and do not guarantee unique real-world events. Omit to retain all observations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / stable
      Added value: +{
      +  "description": "Opt in to a snapshot-bound cursor; keep the same selection and stable=true. Expired or unavailable snapshots require a fresh first page before payment.",
      +  "enum": [
      +    "true"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / format / description
      Previous value: -"Optional compact view: retain selected headline or market fields and omit other fields. Omit for the full response."New value: +"Optional compact fields or sentiment_summary counts for the selected page. Summary counts stored labels and finite numeric scores without returning records. Omit for the full response."
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "compact"
      -]New value: +[
      +  "compact",
      +  "sentiment_summary"
      +]
  3. Changed1 schema field changed
    • addedInput schema / properties / first_in_group
      Added value: +{
      +  "description": "Optional true: keep records explicitly marked repeat_first=true. Missing flags are excluded; groups are source-defined and do not guarantee unique real-world events. Omit to retain all observations.",
      +  "enum": [
      +    "true"
      +  ],
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / sentiment
      Added value: +{
      +  "description": "Optional stored sentiment label: positive, neutral, negative or unscored. Records without a stored label do not match, including unscored.",
      +  "enum": [
      +    "positive",
      +    "neutral",
      +    "negative",
      +    "unscored"
      +  ],
      +  "type": "string"
      +}
  5. Changed2 schema fields changed
    • addedInput schema / properties / before
      Added value: +{
      +  "description": "Optional page cursor: pass next_before from the previous response to get the next older page of the same query. A response carries next_before while older matching records remain.",
      +  "maxLength": 400,
      +  "pattern": "^[A-Za-z0-9_-]{4,400}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / q
      Added value: +{
      +  "description": "Optional keyword or phrase, 2 to 60 characters, matched case-insensitively in the headline title, such as ETF or rate cut. A paid request with no matching headline is refused before any charge.",
      +  "maxLength": 60,
      +  "pattern": "^[A-Za-z0-9 .,'&$%+/-]{2,60}$",
      +  "type": "string"
      +}
  6. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, openWorldHint=true and destructiveHint=false; the description adds the critical behavior they do not cover: a $0.005 USDC x402 charge, an unpaid preview returning price and matching count, no account or API key needed, refusal of invalid/empty/stale requests before payment, and settlement reuse on retry without guaranteed availability.

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?

Purpose and sibling routing are front-loaded, and nearly every sentence carries operational content. It is dense and long, with payment mechanics placed before parameter detail, which costs a little readability but wastes little space.

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 12 optional parameters, payment gating and no output schema, the description still covers return shape ('JSON object with count and items'), the summary variant, pagination via next_before, and cost/failure behavior. An agent has what it needs to call it correctly.

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 already 100%, so the baseline is 3; the description goes further by explaining that parameters combine as filters, that missing labels do not match for sentiment, that stable pins pages to a first revision for at most three hours, and that format=sentiment_summary returns stored label counts instead of records.

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?

States a specific resource and scope: 'the last 48 hours across all markets: stocks, forex, commodities, macro and crypto.' It explicitly distinguishes itself from two siblings, get_crypto_news for crypto-only and get_news_day for a past day, so an agent can route without opening 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 Guidelines5/5

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

Gives explicit when-to-use and when-to-use-something-else rules ('For crypto-only headlines use get_crypto_news; for a past day use get_news_day'), plus conditional guidance for format=sentiment_summary, stable snapshot cursors, and paginating with before/next_before.

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.