Fetch Analysis Result
fetch_analysis_resultReturn the progress or result of an analysis started with initiate_analysis, by its analysis_id. Each call returns the current state once; while the analysis or its written summaries are still being produced, it first waits up to 10 seconds for them. While status is in_progress, relay its message as given; never invent or rotate progress narration. In that state, or when narrative.status is pending or running, call again right away at most twice more, then relay message and stop until the person asks. A failed status is an answer; relay error_message. A complete result is the saved report: the composite score and rating word, the evidence word (Full, Core or Low), each domain's score, grade word and contribution (cornerstone, major, supporting or contextual), its key_drivers (up to three, each with its evidence), lens and domain_coverage, and its written summaries (domain conclusions, synthesis, key strengths and challenges) at either depth once narrative.status is ready. Until then relay message: pending or running means they are still being written, and you may briefly summarize the scores and evidence supplied but never write a summary, cause or reason the result does not contain; failed means they could not be completed, and the scores and evidence stand. When reading_ref and inspection are supplied, use inspect_reading for available selected evidence in chat, without another run. Preserve every material qualification; do not repeat bound findings as additional independent reasons. Open with the score, rating word, evidence word and the lens it was read through (time_range_display and analysis_focus_display); then synthesis_report in its written order (The Punch Line, Key Drivers, Primary Counterpoint); then the domains by contribution, cornerstone and major first with their conclusions, supporting and contextual briefly; then strengths and challenges. When the written summaries are still pending, give the verdict, the lens, the domains by contribution and the ranked findings when present, otherwise key_drivers. Offer report_url briefly as Open saved report to inspect factor values, peer context and ranked contributors where supplied; it opens for the StockLens account signed_in_as names, so name that account beside the link. It can open before the written summaries finish, and opening it does not start another run. Say how much a domain counts only with its contribution word, never as a number or share. When result.findings is present, it gives this report's score reasons under its own horizon and analysis focus: use it in place of key_drivers, after the synthesis_report story, never instead of The Punch Line, Key Drivers or Primary Counterpoint. When findings is present, explain findings.leading, then findings.first_answer, instead of key_drivers, as findings.claim allows: strongest, they moved this score most; strongest_first, the first moved it most and the second is another factor; explained, describe what the available evidence shows, with no biggest-mover sentence. Give a finding's fact figure with its own period, which can differ from the reading's date and from another finding's. A next look is findings.next_looks[0], or the second when the first's topic was already covered for this company in the conversation or misses the person's ask; skip both when both were covered, and never mention the one you do not ask. When the person asks directly for a figure a next look carries, give it with its period, then end with the other next look's question if it is still new. Otherwise ask that one question, in its words or your own, as the answer's final line, after any link. Never state, round or hint at any figure from next_looks before the person says yes. On a yes, give only its answer as given (the company figure with its period, and for a comparison the peer figure, statistic and group), without another call and without computing anything from the figures, then stop: no other offer, menu, save or analysis. After that answer, end with the other next look's question if it is still new; otherwise stop. A finding's qualification speaks only of that trailing P/E reading: when applied is true, say in the same sentence that the company's qualifying_measure of company_figure (trailing period to period_end) eased how StockLens weighed its P/E of pe_figure against peer_median for peer_group (a blended peer mark when peer_basis is blended, never a median of companies), and how it still reads there (remaining_assessment); when applied is false, mention the figure only as context, never as easing anything, whatever the finding's own label says. When qualifying_ref names another finding in the answer, it is the same figure: say it once, keeping both findings. Never present it as a change to the overall score or a view of the stock as a whole. For a finding tied to a source, give its event_date with the event (On the Oct 29 earnings call, In its Nov 8 filing; add the year across a year boundary). An insider transaction uses its trade date. For measured activity name the event_window_start and event_window_end, never a single latest article, filing or trade. Only the current result's dated reasons and questions qualify. Never substitute the reading's date or bring an undated, stale or future event into a reason or question. On a later yes, a dated finding must still be within two calendar months of today; never fetch or substitute a different reading to revive it. Language uncertainty measures hedging; it neither proves the tone reading nor supplies an adverse finding. Use written synthesis, domain conclusions, strengths and challenges in their supplied order. Only a carried eligible finding or driver can make a source event a current score reason. When the person asks for original evidence, give a filing with its filing_date or an article with its published_at as history. Bold each company's score and rating word where the answer first gives them. End with at most one forward line, and only one the result supplies: a carried next_step (an offer, or a remedy to relay), a question the person must answer first, or one question from findings.next_looks as the findings rule says. Otherwise end after the answer: do not compose a follow-up question of your own. Never offer to add, follow, save or analyze a company unless next_step offers it, quote a field, label or control name, or repeat an offer already made in this conversation. A yes to a findings question authorizes only its carried answer, never a portfolio change or fresh analysis.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"analysis_id": "<analysis_id>"
},
"name": "fetch_analysis_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_id | Yes | The analysis_id returned by initiate_analysis |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| result | No | ||
| status | Yes | ||
| message | No | A sentence to relay as given: while in_progress, the analysis's actual stage; on a complete result, whether its written summaries are still being written or could not be completed. Never invent or rotate progress narration. | |
| narrative | No | The state of the written summaries (the domain conclusions, the synthesis, and the key strengths and challenges) of a complete result. | |
| inspection | No | ||
| report_url | No | Open this saved report for factor values, peer context and ranked contributors through Explain where supplied. Sign in to the owning StockLens account. Reading it does not start another analysis. Present with every complete result, which has passed ownership checks; the report can open before its written summaries finish. | |
| analysis_id | Yes | ||
| base_digest | No | Identifies the saved scores and evidence of a complete result. It stays the same when the written summaries arrive. | |
| reading_ref | No | ||
| progress_pct | No | ||
| signed_in_as | No | The StockLens account that owns report_url, its email masked: the report opens on stocklens.com when this account is signed in. Present only with report_url. | |
| error_message | No | ||
| retry_after_seconds | No | ||
| deterministic_ready_at | No | When the scores and evidence were saved, ahead of the written summaries (ISO 8601). Absent when the report was saved together with its summaries. |