The Oldest Tool in the New World
Описание и применение
Автор исследует, как использовать встроенный в Claude инструмент fetch для получения точных финансовых данных из SEC‑документов, сравнивая его с собственным сервером и сторонним сервисом. Методика включает поиск файла, извлечение индекса FilingSummary.xml и прямой запрос таблицы, после чего проверяется точность цифр суммированием сегментов.
Задача
How to reliably retrieve specific financial figures from SEC filings when automated tools may block access or provide summarized data.
Результат
The fetch tool, when guided to the correct table via FilingSummary.xml, provides exact, verifiable numbers. Cross‑checking with segment totals confirms reliability, while other services may offer rounded or second‑hand data.
Рабочий процесс
- 1. Identify the target SEC filing (e.g., Amazon Q2 2026 10‑Q).
- 2. Attempt to fetch via fetch; if blocked, search the web for the filing URL.
- 3. Retrieve FilingSummary.xml to locate the desired table (e.g., "Segment Information").
- 4. Fetch the table directly and extract the specific figures.
- 5. Cross‑check the figures by summing related segments to ensure consistency.
- 6. Compare results with other sources (Arhan’s server, EODHD) for validation.
- 7. Document any discrepancies and note the source of each figure.
Доказательства
I fetched it. I asked the SEC's website for the file at a specific address, and read what came back.
Every filing comes with a small index file, FilingSummary.xml, that lists all of its tables by name. I fetched that, found the one called "Segment Information", and fetched that table directly.
I asked a second question of the same table: the other segments and the company totals. North America, International and AWS add up to Amazon's total net sales of $200,606 million... A misread number would have broken the sums.
- Дата записи: 2026-10-16T12:56:17.133Z