Generate Research Brief (docx)
generate_research_brief_docxRender a structured research brief into a professionally-styled Word document — a branded masthead-first page (Valuein letterhead: brand rule, wordmark, 'EQUITY RESEARCH' kicker + date, then the ticker eyebrow, the title as hero, and the named analyst's byline), the body (abstract, optional snapshot table with figures in mono, markdown sections incl. GFM tables, and a citations table with clickable SEC EDGAR links), with a running footer (ticker, 'Built on Valuein · valuein.biz', page number, a single disclosure line) repeated on every page. No embedded charts in v1; pair with generate_dcf_xlsx / generate_comps_xlsx for visuals the analyst pastes in.
SERVER-TRUST: prose, snapshot rows, and citations are rendered as-supplied and are NOT verified by Valuein, so the brief carries a visible 'figures supplied by caller, not verified by Valuein' watermark (response verification.status = 'unverified'). Resolve each citation via verify_fact_lineage before publishing.
Consumes the same sections + citations shape create_report emits, so the typical flow is two tool calls: create_report → generate_research_brief_docx.
Tier: pro+.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Document title rendered in the page-1 masthead (1–200 chars). | |
| ticker | Yes | Stock ticker symbol the brief covers, e.g. AAPL, MSFT, BRK.B. | |
| abstract | No | Optional executive-summary paragraph (≤2000 chars) shown after the masthead. | |
| sections | Yes | Ordered body sections of the brief (1–20); each has a heading and body text. | |
| snapshot | No | Optional at-a-glance metric rows (≤20) rendered as the snapshot table. | |
| citations | No | Optional source citations (≤60) rendered as a table with clickable SEC EDGAR hyperlinks. | |
| author_name | No | Display name of the analyst producing this brief, shown as a named byline ('By {name}') on the masthead — the way a real research note credits an analyst. Omit to show just the date. | |
| company_name | No | Optional display name shown in the masthead subtitle; falls back to the ticker if omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| _meta | Yes | Provenance envelope — data lineage for every MCP response | |
| r2_key | Yes | ||
| filename | Yes | ||
| expires_at | Yes | ||
| size_bytes | Yes | ||
| content_type | Yes | ||
| verification | Yes | Server-trust record. Brief prose, snapshot rows, and citations are rendered as supplied and are NOT verified by Valuein, so the brief carries a visible 'figures supplied by caller' watermark. Resolve each citation via verify_fact_lineage for one-click SEC verification. | |
| expires_in_seconds | Yes |