Skip to main content
Glama

Fetch Analysis Result

fetch_analysis_result
Read-onlyIdempotent

Return 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

NameRequiredDescriptionDefault
analysis_idYesThe analysis_id returned by initiate_analysis

Output Schema

NameRequiredDescriptionDefault
scopeYes
resultNo
statusYes
messageNoA 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.
narrativeNoThe state of the written summaries (the domain conclusions, the synthesis, and the key strengths and challenges) of a complete result.
inspectionNo
report_urlNoOpen 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_idYes
base_digestNoIdentifies the saved scores and evidence of a complete result. It stays the same when the written summaries arrive.
reading_refNo
progress_pctNo
signed_in_asNoThe 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_messageNo
retry_after_secondsNo
deterministic_ready_atNoWhen the scores and evidence were saved, ahead of the written summaries (ISO 8601). Absent when the report was saved together with its summaries.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / result / properties / findings / properties / first_answer / properties / ref / description
      Previous value: -"This finding's reference within this reading only; never an inspect_reading selector."New value: +"This finding's reference within this reading only."
    • changedOutput schema / properties / result / properties / findings / properties / leading / items / properties / ref / description
      Previous value: -"This finding's reference within this reading only; never an inspect_reading selector."New value: +"This finding's reference within this reading only."
    • changedOutput schema / properties / result / properties / findings / properties / next_looks / items / properties / ref / description
      Previous value: -"This finding's reference within this reading only; never an inspect_reading selector."New value: +"This finding's reference within this reading only."
  2. Changed7 schema fields changed
    • changedOutput schema / properties / inspection / properties / label / description
      Previous value: -"Subject label for selecting a view; read the selected result for its material context and bindings."New value: +"Navigation metadata for selecting a view, not text for the person: never quote it. Read the selected result for its material context and bindings."
    • addedOutput schema / properties / result / properties / findings
      Added value: +{
      +  "properties": {
      +    "claim": {
      +      "description": "How strongly the leading findings may be described. strongest: both 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.",
      +      "type": "string"
      +    },
      +    "first_answer": {
      +      "description": "One more finding the answer must carry: a counterpoint (a material finding pointing the other way) or another material finding pointing the same way. Never leave it for a question.",
      +      "properties": {
      +        "driver": {
      +          "properties": {
      +            "company_figure": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "context": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "domain": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "event_date": {
      +              "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date.",
      +              "type": "string"
      +            },
      +            "event_kind": {
      +              "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding).",
      +              "type": "string"
      +            },
      +            "event_window_end": {
      +              "description": "A measured aggregate's window end (ISO).",
      +              "type": "string"
      +            },
      +            "event_window_start": {
      +              "description": "A measured aggregate's window start (ISO); name the window, never one report.",
      +              "type": "string"
      +            },
      +            "kind": {
      +              "type": "string"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "latest_material_event_date": {
      +              "description": "The latest material event inside an aggregate's window (ISO).",
      +              "type": "string"
      +            },
      +            "metric": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "peer_group": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "kind",
      +            "label"
      +          ],
      +          "type": "object"
      +        },
      +        "fact": {
      +          "description": "This finding's certified figure with its own period and unit; give the figure with that period, which can differ from the reading's date.",
      +          "properties": {
      +            "company_figure": {
      +              "type": "string"
      +            },
      +            "family": {
      +              "description": "peer_comparison or stated_figure.",
      +              "type": "string"
      +            },
      +            "peer_figure": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "peer_group": {
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "peer_statistic": {
      +              "description": "Which statistic of the peers peer_figure is, such as median.",
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            },
      +            "period": {
      +              "description": "The window or point in time the figures describe, as written.",
      +              "type": "string"
      +            },
      +            "unit": {
      +              "description": "The figures' unit as written; absent when the figure has none.",
      +              "type": [
      +                "null",
      +                "string"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "family",
      +            "company_figure",
      +            "period"
      +          ],
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "measure": {
      +          "description": "The readable measure the finding is about: the only quantity a question about it may ask about.",
      +          "type": [
      +            "null",
      +            "string"
      +          ]
      +        },
      +        "qualification": {
      +          "properties": {
      +            "applied": {
      +              "description": "true: the qualifying figure eased how StockLens weighed this P/E. false: it changed nothing here and is context at most, never a mitigation.",
      +              "type": "boolean"
      +            },
      +            "company_figure": {
      +              "description": "The company's qualifying figure, as written.",
      +              "type": "string"
      +            },
      +            "pe_figure": {
      +              "type": "string"
      +            },
      +            "peer_basis": {
      +              "description": "observed: a median of observed peer companies. blended: a blended peer mark, never to be called a median of companies.",
      +              "type": "string"
      +            },
      +            "peer_group": {
      +              "type": "string"
      +            },
      +            "peer_median": {
      +              "type": "string"
      +            },
      +            "period_end": {
      +              "description": "The end of the trailing period the figures describe (ISO date).",
      +              "type": "string"
      +            },
      +            "position": {
      +              "description": "above, below or at: the P/E against the stated peer figure.",
      +              "type": "string"
      +            },
      +            "qualifying_measure": {
      +              "description": "The qualifying measure's name, as StockLens says it.",
      +              "type": "string"
      +            },
      +            "qualifying_ref": {
      +              "description": "The ref of another finding in this answer on the qualifying measure: the same figure, so say it once.",
      +              "type": "string"
      +            },
      +            "qualifying_topic": {
      +              "type": "string"
      +            },
      +            "remaining_assessment": {
      +              "description": "headwind, neutral or supportive: how this P/E still reads at this valuation node.",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "qualifying_topic",
      +            "qualifying_measure",
      +            "company_figure",
      +            "period_end",
      +            "pe_figure",
      +            "peer_median",
      +            "peer_group",
      +            "peer_basis",
      +            "position",
      +            "applied",
      +            "remaining_assessment"
      +          ],
      +          "type": [
      +            "null",
      +            "object"
      +          ]
      +        },
      +        "ref": {
      +          "description": "This finding's reference within this reading only; never an inspect_reading selector.",
      +          "type": "string"
      +        },
      +        "role": {
      +          "description": "counterpoint, reinforcing or contrasting; reinforcing means another material finding pointing the same way, never that one fact supports the other.",
      +          "type": "string"
      +        },
      +        "topic": {
      +          "description": "The finding's public topic, stable across readings of this listing; use it to avoid repeating a finding in the conversation.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "ref",
      +        "driver"
      +      ],
      +      "type": [
      +        "null",
      +        "object"
      +      ]
      +    },
      +    "leading": {
      +      "description": "This reading's strongest distinct, material, explainable influences on its score, in order (0 to 2). An empty list supplies no findings question. A separately carried next_step still applies.",
      +      "items": {
      +        "properties": {
      +          "driver": {
      +            "properties": {
      +              "company_figure": {
      +                "type": [
      +                  "null",
      +                  "string"
      +                ]
      +              },
      +              "context": {
      +                "type": [
      +                  "null",
      +                  "string"
      +                ]
      +              },
      +              "domain": {
      +                "type": [
      +                  "null",
      +                  "string"
      +                ]
      +              },
      +              "event_date": {
      +                "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date.",
      +                "type": "string"
      +              },
      +              "event_kind": {
      +                "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding).",
      +                "type": "string"
      +              },
      +              "event_window_end": {
      +                "description": "A measured aggregate's window end (ISO).",
      +                "type": "string"
      +              },
      +              "event_window_start": {
      +                "description": "A measured aggregate's window start (ISO); name the window, never one report.",
      +                "type": "string"
      +              },
      +              "kind": {
      +                "type": "string"
      +              },
      +              "label": {
      +                "type": "string"
      +              },
      +              "latest_material_event_date": {
      +                "description": "The latest material event inside an aggregate's window (ISO).",
      +                "type": "string"
      +              },
      +              "metric": {
      +                "type": [
      +                  "null",
      +                  "string"
      +                ]
      +              },
      +              "peer_group": {
      +                "type": [
      +                  "null",
      +                  "string"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "kind",
      +              "label"
      +            ],
      +            "type": "object"
      +          },
      +          "fact": {
      +            "description": "This finding's certified figure with its own period and unit; give the figure with that period, which can differ from the reading's date.",
      +            "properties": {
      +              "company_figure": {
      +                "type": "string"
      +              },
      +              "family": {
      +                "description": "peer_comparison or stated_figure.",
      +                "type": "string"
      +              },
      +              "peer_figure": {
      +                "type": [
      +                  "null",
      +                  "string"
      +                ]
      +              },
      +              "peer_group": {
      +                "type": [
      +                  "null",
      +                  "string"
      +                ]
      +              },
      +              "peer_statistic": {
      +                "description": "Which statistic of the peers peer_figure is, such as median.",
      +                "type": [
      +                  "null",
      +                  "string"
      +                ]
      +              },
      +              "period": {
      +                "description": "The window or point in time the figures describe, as written.",
      +                "type": "string"
      +              },
      +              "unit": {
      +                "description": "The figures' unit as written; absent when the figure has none.",
      +                "type": [
      +                  "null",
      +                  "string"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "family",
      +              "company_figure",
      +              "period"
      +            ],
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "measure": {
      +            "description": "The readable measure the finding is about: the only quantity a question about it may ask about.",
      +            "type": [
      +              "null",
      +              "string"
      +            ]
      +          },
      +          "qualification": {
      +            "properties": {
      +              "applied": {
      +                "description": "true: the qualifying figure eased how StockLens weighed this P/E. false: it changed nothing here and is context at most, never a mitigation.",
      +                "type": "boolean"
      +              },
      +              "company_figure": {
      +                "description": "The company's qualifying figure, as written.",
      +                "type": "string"
      +              },
      +              "pe_figure": {
      +                "type": "string"
      +              },
      +              "peer_basis": {
      +                "description": "observed: a median of observed peer companies. blended: a blended peer mark, never to be called a median of companies.",
      +                "type": "string"
      +              },
      +              "peer_group": {
      +                "type": "string"
      +              },
      +              "peer_median": {
      +                "type": "string"
      +              },
      +              "period_end": {
      +                "description": "The end of the trailing period the figures describe (ISO date).",
      +                "type": "string"
      +              },
      +              "position": {
      +                "description": "above, below or at: the P/E against the stated peer figure.",
      +                "type": "string"
      +              },
      +              "qualifying_measure": {
      +                "description": "The qualifying measure's name, as StockLens says it.",
      +                "type": "string"
      +              },
      +              "qualifying_ref": {
      +                "description": "The ref of another finding in this answer on the qualifying measure: the same figure, so say it once.",
      +                "type": "string"
      +              },
      +              "qualifying_topic": {
      +                "type": "string"
      +              },
      +              "remaining_assessment": {
      +                "description": "headwind, neutral or supportive: how this P/E still reads at this valuation node.",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "qualifying_topic",
      +              "qualifying_measure",
      +              "company_figure",
      +              "period_end",
      +              "pe_figure",
      +              "peer_median",
      +              "peer_group",
      +              "peer_basis",
      +              "position",
      +              "applied",
      +              "remaining_assessment"
      +            ],
      +            "type": [
      +              "null",
      +              "object"
      +            ]
      +          },
      +          "ref": {
      +            "description": "This finding's reference within this reading only; never an inspect_reading selector.",
      +            "type": "string"
      +          },
      +          "role": {
      +            "description": "counterpoint, reinforcing or contrasting; reinforcing means another material finding pointing the same way, never that one fact supports the other.",
      +            "type": "string"
      +          },
      +          "topic": {
      +            "description": "The finding's public topic, stable across readings of this listing; use it to avoid repeating a finding in the conversation.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "ref",
      +          "driver"
      +        ],
      +        "type": "object"
      +      },
      +      "type": [
      +        "null",
      +        "array"
      +      ]
      +    },
      +    "next_looks": {
      +      "description": "Up to two unused findings this result can answer, best first, each with an approved closing question; present at most one. Absent when an offer or another ask takes the closing line.",
      +      "items": {
      +        "properties": {
      +          "answer": {
      +            "description": "The certified facts that answer a yes, relayed as given with their period.",
      +            "properties": {
      +              "company_figure": {
      +                "type": "string"
      +              },
      +              "family": {
      +                "description": "peer_comparison or stated_figure.",
      +                "type": "string"
      +              },
      +              "peer_figure": {
      +                "type": [
      +                  "null",
      +                  "string"
      +                ]
      +              },
      +              "peer_group": {
      +                "type": [
      +                  "null",
      +                  "string"
      +                ]
      +              },
      +              "peer_statistic": {
      +                "description": "Which statistic of the peers peer_figure is, such as median.",
      +                "type": [
      +                  "null",
      +                  "string"
      +                ]
      +              },
      +              "period": {
      +                "description": "The window or point in time the figures describe, as written.",
      +                "type": "string"
      +              },
      +              "unit": {
      +                "description": "The figures' unit as written; absent when the figure has none.",
      +                "type": [
      +                  "null",
      +                  "string"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "family",
      +              "company_figure",
      +              "period"
      +            ],
      +            "type": "object"
      +          },
      +          "event_date": {
      +            "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date.",
      +            "type": "string"
      +          },
      +          "event_kind": {
      +            "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding).",
      +            "type": "string"
      +          },
      +          "event_window_end": {
      +            "description": "A measured aggregate's window end (ISO).",
      +            "type": "string"
      +          },
      +          "event_window_start": {
      +            "description": "A measured aggregate's window start (ISO); name the window, never one report.",
      +            "type": "string"
      +          },
      +          "latest_material_event_date": {
      +            "description": "The latest material event inside an aggregate's window (ISO).",
      +            "type": "string"
      +          },
      +          "measure": {
      +            "type": "string"
      +          },
      +          "question": {
      +            "description": "An approved closing question this result can answer, worded for the assistant to ask; ask it as written or in your own words about the same measure.",
      +            "type": "string"
      +          },
      +          "ref": {
      +            "description": "This finding's reference within this reading only; never an inspect_reading selector.",
      +            "type": "string"
      +          },
      +          "role": {
      +            "description": "reinforcing or contrasting, relative to the first leading finding.",
      +            "type": "string"
      +          },
      +          "topic": {
      +            "description": "The finding's public topic; never ask about a topic already covered for this company in the conversation.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "question",
      +          "ref",
      +          "topic",
      +          "measure",
      +          "answer"
      +        ],
      +        "type": "object"
      +      },
      +      "type": [
      +        "null",
      +        "array"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "claim",
      +    "leading"
      +  ],
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
    • addedOutput schema / properties / result / properties / key_drivers / items / properties / event_date
      Added value: +{
      +  "description": "That event's own day (ISO): name it with the event, e.g. On the Oct 29 earnings call; never the reading's date.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / result / properties / key_drivers / items / properties / event_kind
      Added value: +{
      +  "description": "A certified discrete source (earnings_call, sec_filing, insider_transaction) or measured window (insider_activity, news_coverage, analyst_activity, edinet_large_holding).",
      +  "type": "string"
      +}
    • addedOutput schema / properties / result / properties / key_drivers / items / properties / event_window_end
      Added value: +{
      +  "description": "A measured aggregate's window end (ISO).",
      +  "type": "string"
      +}
    • addedOutput schema / properties / result / properties / key_drivers / items / properties / event_window_start
      Added value: +{
      +  "description": "A measured aggregate's window start (ISO); name the window, never one report.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / result / properties / key_drivers / items / properties / latest_material_event_date
      Added value: +{
      +  "description": "The latest material event inside an aggregate's window (ISO).",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / result / properties / key_drivers / items / properties / company_figure
      Added value: +{
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
  4. Changed1 schema field changed
    • addedOutput schema / properties / result / properties / canonical_url
      Added value: +{
      +  "description": "Public company page for this listing. It shows the current nightly reading.",
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • addedOutput schema / properties / signed_in_as
      Added value: +{
      +  "description": "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.",
      +  "type": "string"
      +}
  6. Changed14 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / inspection / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / inspection / properties / arguments / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / narrative / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / result / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / result / properties / domain_coverage / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / result / properties / domains / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / result / properties / domains / items / properties / insider_key_metrics / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / result / properties / domains / items / properties / news_key_articles / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / result / properties / filing_facts / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / result / properties / key_challenges / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / result / properties / key_drivers / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / result / properties / key_strengths / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / result / properties / lens / additionalProperties
      Removed value: -false
  7. Changed6 schema fields changed
    • addedOutput schema / properties / result / anyOf
      Added value: +[
      +  {
      +    "required": [
      +      "analysis_focus",
      +      "analysis_focus_display"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "risk_tolerance",
      +      "risk_tolerance_display"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / result / properties / analysis_focus
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / result / properties / analysis_focus_display
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / result / properties / risk_tolerance / description
      Added value: +"Historical response alias for analysis_focus; new responses use the canonical key."
    • addedOutput schema / properties / result / properties / risk_tolerance_display / description
      Added value: +"Historical response alias for analysis_focus_display; new responses use the canonical key."
    • changedOutput schema / properties / result / required
      Previous value: -[
      -  "symbol",
      -  "exchange",
      -  "company_name",
      -  "risk_tolerance",
      -  "credit_type",
      -  "time_range_display",
      -  "risk_tolerance_display",
      -  "analysis_date",
      -  "exchange_timezone",
      -  "domains"
      -]New value: +[
      +  "symbol",
      +  "exchange",
      +  "company_name",
      +  "credit_type",
      +  "time_range_display",
      +  "analysis_date",
      +  "exchange_timezone",
      +  "domains"
      +]
  8. Changed1 schema field changed
    • changedOutput schema / properties / message / description
      Previous value: -"A sentence to relay as given, present when the written summaries of a complete result are not ready: they are still being written, or could not be completed."New value: +"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."
  9. Changed2 schema fields changed
    • addedOutput schema / properties / inspection
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "arguments": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "reading_ref": {
      +          "description": "Exact reading_ref returned by StockLens. Never reconstruct from a ticker or date.",
      +          "type": "string"
      +        },
      +        "selector": {
      +          "description": "Copy the selector from inspection.arguments, including an optional overview continuation. Required for other views.",
      +          "type": "string"
      +        },
      +        "view": {
      +          "description": "Copy from inspection.arguments; default overview. Only overview, finding, assessment or observation.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "reading_ref"
      +      ],
      +      "type": "object"
      +    },
      +    "label": {
      +      "description": "Subject label for selecting a view; read the selected result for its material context and bindings.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "label",
      +    "arguments"
      +  ],
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
    • addedOutput schema / properties / reading_ref
      Added value: +{
      +  "type": "string"
      +}
  10. Changed1 schema field changed
    • addedOutput schema / properties / result / properties / key_drivers / items / properties / peer_group
      Added value: +{
      +  "type": [
      +    "null",
      +    "string"
      +  ]
      +}
  11. Changed11 schema fields changed
    • addedOutput schema / properties / base_digest
      Added value: +{
      +  "description": "Identifies the saved scores and evidence of a complete result. It stays the same when the written summaries arrive.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / deterministic_ready_at
      Added value: +{
      +  "description": "When the scores and evidence were saved, ahead of the written summaries (ISO 8601). Absent when the report was saved together with its summaries.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / message
      Added value: +{
      +  "description": "A sentence to relay as given, present when the written summaries of a complete result are not ready: they are still being written, or could not be completed.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / narrative
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The state of the written summaries (the domain conclusions, the synthesis, and the key strengths and challenges) of a complete result.",
      +  "properties": {
      +    "error_code": {
      +      "description": "Why the written summaries failed, as a diagnostic code.",
      +      "enum": [
      +        "DEADLINE_EXCEEDED",
      +        "DELIVERY_BUDGET_EXHAUSTED",
      +        "PROVIDER_UNAVAILABLE",
      +        "PROVIDER_REJECTED",
      +        "INVALID_NARRATIVE",
      +        "UNSUPPORTED_CONSUMER",
      +        "CORRUPT_PAYLOAD",
      +        "INTERNAL_FAILURE"
      +      ],
      +      "type": "string"
      +    },
      +    "failed_at": {
      +      "description": "When the written summaries failed (ISO 8601).",
      +      "type": "string"
      +    },
      +    "ready_at": {
      +      "description": "When the written summaries became ready (ISO 8601).",
      +      "type": "string"
      +    },
      +    "revision": {
      +      "description": "Rises with every change of the summaries' state; a higher revision is the newer answer.",
      +      "type": "integer"
      +    },
      +    "status": {
      +      "description": "pending or running: still being written, and not in this result. ready: in this result. failed: could not be completed; the scores and evidence are unaffected.",
      +      "enum": [
      +        "pending",
      +        "running",
      +        "ready",
      +        "failed"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "revision"
      +  ],
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
    • changedOutput schema / properties / report_url / description
      Previous value: -"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. Only present after the completed result passes ownership checks."New value: +"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."
    • addedOutput schema / properties / result / properties / currency
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / result / properties / domain_coverage
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "not_scored": {
      +      "items": {
      +        "enum": [
      +          "Fundamental",
      +          "Technical",
      +          "Risk",
      +          "Sentiment",
      +          "Macro"
      +        ],
      +        "type": "string"
      +      },
      +      "type": [
      +        "null",
      +        "array"
      +      ]
      +    },
      +    "sentiment_sources_note": {
      +      "description": "The Sentiment evidence this reading did not use and why, as one sentence to relay as given, for example: Evidence not read in this analysis: earnings calls (none found recently).",
      +      "type": "string"
      +    }
      +  },
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
    • changedOutput schema / properties / result / properties / domains / items / properties / analysis / type
      Previous value: -"string"New value: +[
      +  "null",
      +  "string"
      +]
    • changedOutput schema / properties / result / properties / domains / items / required
      Previous value: -[
      -  "domain",
      -  "score",
      -  "grade",
      -  "analysis"
      -]New value: +[
      +  "domain",
      +  "score",
      +  "grade"
      +]
    • addedOutput schema / properties / result / properties / key_drivers
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "context": {
      +        "type": [
      +          "null",
      +          "string"
      +        ]
      +      },
      +      "domain": {
      +        "type": [
      +          "null",
      +          "string"
      +        ]
      +      },
      +      "kind": {
      +        "enum": [
      +          "SUPPORTIVE",
      +          "HEADWIND",
      +          "MIXED",
      +          "COVERAGE_GAP",
      +          "NEUTRAL_NOT_MATERIAL"
      +        ],
      +        "type": "string"
      +      },
      +      "label": {
      +        "type": "string"
      +      },
      +      "metric": {
      +        "type": [
      +          "null",
      +          "string"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "kind",
      +      "label"
      +    ],
      +    "type": "object"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
    • addedOutput schema / properties / result / properties / lens
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "label": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "label"
      +  ],
      +  "type": [
      +    "null",
      +    "object"
      +  ]
      +}
  12. Changed1 schema field changed
    • addedOutput schema / properties / report_url
      Added value: +{
      +  "description": "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. Only present after the completed result passes ownership checks.",
      +  "type": "string"
      +}
  13. Changed2 schema fields changed
    • addedOutput schema / properties / result / properties / filing_facts
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "fact_type": {
      +        "type": "string"
      +      },
      +      "filing_date": {
      +        "type": "string"
      +      },
      +      "form_type": {
      +        "type": "string"
      +      },
      +      "quote": {
      +        "type": "string"
      +      },
      +      "reading": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "fact_type",
      +      "reading",
      +      "form_type",
      +      "filing_date",
      +      "quote"
      +    ],
      +    "type": "object"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
    • addedOutput schema / properties / result / properties / filing_facts_note
      Added value: +{
      +  "type": "string"
      +}
  14. Changed5 schema fields changed
    • removedOutput schema / properties / result / properties / domains / items / properties / confidence
      Removed value: -{
      -  "type": [
      -    "null",
      -    "number"
      -  ]
      -}
    • removedOutput schema / properties / result / properties / domains / items / properties / news_key_articles / items / properties / rating
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / result / properties / domains / items / properties / news_key_articles / items / properties / tone
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / result / properties / domains / items / properties / news_key_articles / items / required
      Previous value: -[
      -  "title",
      -  "publisher",
      -  "url",
      -  "published_at",
      -  "rating",
      -  "conviction"
      -]New value: +[
      +  "title",
      +  "publisher",
      +  "url",
      +  "published_at",
      +  "tone",
      +  "conviction"
      +]
    • addedOutput schema / properties / result / properties / evidence
      Added value: +{
      +  "type": "string"
      +}
  15. Changed2 schema fields changed
    • addedOutput schema / properties / result / properties / domains / items / properties / contribution
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / result / properties / domains / items / properties / weight
      Removed value: -{
      -  "type": [
      -    "null",
      -    "number"
      -  ]
      -}
  16. Changed2 schema fields changed
    • addedOutput schema / properties / scope
      Added value: +{
      +  "enum": [
      +    "single_analysis_result"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "analysis_id",
      -  "status"
      -]New value: +[
      +  "analysis_id",
      +  "status",
      +  "scope"
      +]
  17. Changed4 schema fields changed
    • addedOutput schema / properties / result / properties / domains / items / properties / confidence
      Added value: +{
      +  "type": [
      +    "null",
      +    "number"
      +  ]
      +}
    • addedOutput schema / properties / result / properties / domains / items / properties / insider_key_metrics
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "label": {
      +        "type": "string"
      +      },
      +      "value": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "label",
      +      "value"
      +    ],
      +    "type": "object"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
    • addedOutput schema / properties / result / properties / domains / items / properties / news_key_articles
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "conviction": {
      +        "type": "number"
      +      },
      +      "published_at": {
      +        "type": "string"
      +      },
      +      "publisher": {
      +        "type": "string"
      +      },
      +      "rating": {
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "title",
      +      "publisher",
      +      "url",
      +      "published_at",
      +      "rating",
      +      "conviction"
      +    ],
      +    "type": "object"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
    • addedOutput schema / properties / result / properties / domains / items / properties / weight
      Added value: +{
      +  "type": [
      +    "null",
      +    "number"
      +  ]
      +}
  18. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/closed-world annotations it discloses substantive behavior: each call returns state once, it blocks up to 10 seconds while summaries are still being produced, and opening report_url does not start another run. It also names the account the report link opens for, which is exactly the kind of operational context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and blocking-wait behavior are correctly front-loaded, but the body is a many-hundred-word wall of output-formatting policy (sentence order, bolding, next-look question handling, qualification phrasing) that is disproportionate to a one-parameter fetch. Much of it is prompt-level rendering instruction rather than tool contract, making the description hard to scan and the actual call semantics easy to lose.

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 polling tool with a rich payload and an existing output schema, nothing an agent needs is missing: state transitions, the meaning of pending/running/failed narratives, wait behavior, retry limits and the sibling handoff are all covered. It over-delivers on rendering rules, but completeness is not the gap.

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?

There is a single required parameter with 100% schema description coverage, so the schema already explains that analysis_id comes from initiate_analysis. The description repeats that relationship ('by its analysis_id') without adding format, validity or lifetime details beyond the schema.

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?

The opening sentence gives a specific verb, resource and provenance: return the progress or result of an analysis started with initiate_analysis, keyed by analysis_id. It explicitly frames the tool as the follow-up to the initiate_analysis sibling, so an agent can distinguish the two 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 Guidelines4/5

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

It gives concrete call-context rules: poll at most twice more while in_progress, stop and wait for the person otherwise, and route to inspect_reading when reading_ref and inspection are supplied rather than re-running. That is real when-to-use/when-not guidance, but it is buried deep in a long narrative and framed as narration policy rather than tool selection, so it is clear rather than exemplary.

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.

Resources