Connecting AI Assistants to Market Data with MCP: Making Answers Verifiable

ShowHoliya0 repliesThis topic is about TickDB/tickdb-unified-realtime-marketdata-api

HoliyaNew member#1

When a stock is in the news, the questions I want answered go beyond a price chart. What has changed in trading? Which parts of the business matter? What is the next event, and which numbers are already reported?

AMD gave me a timely example. It had just published an update on its AI infrastructure partnership with Meta, and its next earnings report was due on November 3. I wanted an AI assistant to help assemble a research brief I could check.

I used TickDB MCP for the data queries below, with the tools already connected and authorized. MCP lets the assistant call data tools during a conversation. The useful part here was combining their results around one question.

These observations were collected on November 2, 2026, between 04:24 and 04:32 UTC. They describe that snapshot.

Give the assistant a research task

A prompt that captures the workflow is:

Prepare a research brief for AMD.US ahead of its next earnings report. Check company information, recent trading, revenue segments, trailing financial results, valuation, upcoming results and recent news. Preserve data timestamps and reporting periods. Show calculations and identify information that still needs checking.

This is a suggested prompt, not a transcript of a separate chat. The tool calls and values below were actually retrieved for this walkthrough.

I followed the same company from its recent trading activity to its business results and valuation, then used the calendar and news to decide what to check next.

Put the prices in their trading sessions

get_company_profile identified AMD.US as Advanced Micro Devices in the U.S. market. get_ticker returned a regular-session last_price of USD 504.80, timestamped October 30 at 20:00:01 UTC. It also contained an overnight_quote of USD 519.87, timestamped November 2 at 04:30:31 UTC.

Both values belong in the brief, with their labels. Calling either one simply “the current price” would hide useful information. The separate get_market_status response reported the U.S. market as closed, while the recent trades were explicitly tagged overnight; I kept those source labels.

For historical context, I used get_kline to query daily, unadjusted candles from October 19 through October 30, using interval: "1d", adjust: "none" and a time range ending before October 31 UTC. The last two closes were 566.42 and 504.80:

(504.80 / 566.42 - 1) × 100 = -10.88%

That establishes the October 30 close-to-close move. Explaining its cause requires more information.

get_order_book added a different view: a best bid of 518.99 and ask of 519.62 at 04:31:39 UTC, giving a USD 0.63 spread. Of the five rows from get_recent_trades, the last listed trade was USD 519.10, timestamped 04:31:38 UTC. A quoted offer and a completed trade answer different questions. This sample returned one level on each side; I would not use it to describe the entire market's liquidity.

Connect the AI story to the business

get_segments_latest made the research more useful than a price comparison. Its Data Center row showed USD 6.718 billion of revenue, or 58.24% of the USD 11.536 billion total, for the period labelled March 30 to June 30, 2026.

That gives me a specific reason to watch Data Center commentary in the next results. It does not mean every dollar in that segment is AI accelerator revenue.

The trailing income statement came from this tool request. This shows the tool name and arguments, rather than the full MCP protocol message:

{
  "tool": "get_financials_ttm",
  "arguments": {
    "symbol": "AMD.US",
    "type": "stock",
    "kind": "IS"
  }
}

Its OperatingRevenue and NetProfit rows were USD 41.305 billion and USD 6.434 billion, both with period_end: "2026-06-27". Dividing the latter by the former gives a trailing net margin of about 15.58%.

The segment data and trailing statement cover different periods. I keep those dates beside the figures so a quarterly revenue share cannot quietly become a trailing-year claim.

Separate reported results from expectations

get_valuation_latest returned a PE of 128.08. I treated that as a reported metric and checked it against the other inputs: 504.80 divided by the returned trailing EPS of approximately 3.8952 gives about 129.60.

Those values do not reconcile exactly. The responses do not establish a matching valuation timestamp and EPS basis, so I keep the provider's PE and my calculation separately labelled. Neither number by itself settles whether the shares are attractive.

get_report_calendar returned an event on November 3, with estimated EPS of about 1.4119 and estimated revenue of USD 13.085 billion. The corresponding actual values were null. An assistant needs to preserve that distinction when writing the brief.

I also checked the date against AMD's earnings announcement. It confirms November 3 after the market close and separately schedules the conference call for 5 p.m. Eastern. The calendar's event time and the conference-call time should not be treated as the same appointment.

Follow the news to readable evidence

get_company_news returned five items, each with an ID, title, summary, publication time and has_body flag. All five had has_body: false. Fetching article 25837180 with get_news_detail returned detail_status: "failed", content_scope: "none" and null body fields.

I could use those summaries to identify topics to investigate. I could not honestly describe them as full articles I had read.

For the partnership itself, I read AMD's October 27 announcement. It says initial Helios systems were installed and being tested at Meta, with broader deployment ahead. That helps form a question for the results: what progress is already reflected in the reported business, and what remains a future expectation?

Keep the evidence beside the answer

My brief now has several connected parts:

Part of the brief Evidence to retain Recent market move October 29 and 30 closes; calculation of -10.88% Trading conditions Separate regular and overnight prices; timestamped bid, ask and trades Business exposure Data Center revenue and share, with its reporting period Financial context Trailing revenue, net profit, EPS and the reported PE, with their different bases Next checkpoint November 3 results; estimates clearly separated from missing actuals News context Summaries labelled as summaries; the partnership checked against the issuer's announcement

For every numerical claim, I retain the tool name, arguments, relevant response fields and data time or reporting period. Errors, empty results and nulls stay visible instead of becoming invented values.

That leaves me with a practical follow-up after earnings: update the reported results, compare them with the recorded expectations, and check what management actually says about the business. The assistant can help organize that work while leaving a trail I can inspect.

Data queries: TickDB documentation.

No replies yet