documents
Generate Peer Comparables Workbook (xlsx)
generate_comps_xlsxPro and above
Render a peer comparables table into an Excel workbook. The Comps sheet is formatted as a named Excel Table (`ValueinPeerComps`) so the user gets one-click Insert Chart on any column — the cleanest workaround for not embedding chart objects server-side. Subject-row highlight m...
Example Call
example_call.pypython
# Using the Valuein MCP server from Python (via MCP SDK)# Or call directly from Claude / Cursor after setup result = await client.call_tool( "generate_comps_xlsx", arguments={ "subject_ticker": "EXAMPLE", "peers": []})print(result)Direct tool call:generate_comps_xlsx(...)
Inputs
| Parameter | Type | Required | Description |
|---|---|---|---|
subject_ticker | string | required | Stock ticker symbol of the subject company the comps sheet is built around, e.g. AAPL. |
subject_company_name | string | optional | Optional display name for the subject company; falls back to the ticker if omitted. |
peers | array | required | Peer companies to tabulate against the subject (1–50 rows); each row carries the peer's ticker, name, and comparable ratio values. |
notes | string | optional | Optional free-text note (≤500 chars) rendered on the Summary sheet. |
Output Fields
urlr2_keyfilenamecontent_typesize_bytesexpires_in_secondsexpires_atverificationExample Response
Illustrative
response.jsonjson
{ "url": "https://r2.valuein.biz/signed/fact.parquet?token=...", "r2_key": null, "filename": null, "content_type": null, "size_bytes": null, "expires_in_seconds": null, "expires_at": "2024-03-15", "verification": null}Shape only — field names match the live schema; values are placeholders, not real filings. See MCP server for the structured response shape.
Notes
Available from the Pro plan and above.
Plan Access
Sample (guest)
Not includedBenchmark (token)
Not includedPro
AvailableInstitutional
AvailableRelated Tools
Index names are trademarks of their owners; Valuein is not affiliated with or endorsed by any index provider.