search_documents
Search financial documents semantically to find specific information on one topic. Return only relevant chunks matching a natural-language query, with optional ticker, quarter, and year filters.
Instructions
Find specific information about ONE TOPIC using semantic vector search. Returns only the most relevant chunks matching your search query.
⚠️ CRITICAL: If you already called filter_by_metadata, DO NOT use this tool. You already have all the data - just analyze what you received.
USE THIS FOR:
Specific questions: "What was Q3 revenue?" "What risks were mentioned?"
Topic-focused queries: "What did Jensen say about AI chips?"
Finding particular information within documents
NEVER USE THIS FOR:
General summaries: "Summarize Q3 earnings" (use filter_by_metadata ONLY)
After calling filter_by_metadata (you already have the data)
Getting all documents (use filter_by_metadata instead)
EXAMPLES: ✅ "What was NVIDIA's Q3 revenue number?" → query="revenue", ticker="NVDA", quarter="Q3" ✅ "What did Jensen say about AI chips?" → query="Jensen Huang AI chips" ✅ "What risks were mentioned in Q2?" → query="risks", quarter="Q2" ❌ "Summarize Q3 earnings" → Use filter_by_metadata ONLY, not this tool ❌ "Show me Q3 data" → Use filter_by_metadata ONLY, not this tool
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": {
"query": "<query>"
},
"name": "search_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Optional: Filter by year (e.g., '2026', '2025') | |
| limit | No | Maximum number of results (default 5) | |
| query | Yes | Natural language search query (e.g., 'revenue growth strategy') | |
| ticker | No | Optional: Filter by stock ticker (e.g., 'NVDA', 'AAPL') | |
| quarter | No | Optional: Filter by quarter (e.g., 'Q1', 'Q2', 'Q3', 'Q4') |