Skip to main content
Glama
qdrant-financial-docs

qdrant-financial-docs

filter_by_metadata

Retrieve all financial documents for a ticker, quarter, and year using metadata filters, returning the complete dataset for full-period analysis without semantic search.

Instructions

Retrieve ALL documents for a complete quarter/year using metadata filters only. No semantic search - returns the entire dataset you need for comprehensive analysis.

⚠️ CRITICAL: After calling this tool, you have everything needed. DO NOT call search_documents next. Just analyze what you received.

USE THIS FOR:

  • General summaries: "Summarize Q3 earnings" "Analyze Q2 performance"

  • Getting complete data: "Show me Q3 data" "Give me all Q4 documents"

  • Full quarter analysis where you need ALL information

NEVER USE THIS FOR:

  • Specific questions about one topic (use search_documents instead)

  • Finding particular information (use search_documents instead)

WORKFLOW:

  1. Optional: Call get_available_data first to check document counts

  2. Set appropriate limit (20-50 for complete data)

  3. Call this tool to get all documents

  4. Analyze/summarize the results yourself - STOP here, no more tool calls

EXAMPLES: ✅ "Summarize NVIDIA Q3 2025 earnings" → ticker="NVDA", quarter="Q3", year="2025", limit=30 ✅ "Analyze Q2 performance" → ticker="NVDA", quarter="Q2", year="2025", limit=30 ✅ "Show me all Q4 docs" → ticker="NVDA", quarter="Q4", year="2025", limit=50 ❌ "What was Q3 revenue number?" → Use search_documents (specific question) ❌ "What did Jensen say about AI?" → Use search_documents (specific topic)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "filter_by_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoYear (e.g., '2026', '2025')
limitNoMaximum results (default 10)
tickerNoStock ticker symbol (e.g., 'NVDA', 'AAPL')
quarterNoQuarter (e.g., 'Q1', 'Q2', 'Q3', 'Q4')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral load and does so well: it discloses that filtering is metadata-only (no semantic ranking), that results are meant to be complete, and that no follow-up tool call is required. It also advises limit=20-50 for complete data, implicitly warning that the default of 10 truncates. Minor gap: it never explains what happens if the requested quarter exceeds the limit or what a returned document looks like.

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

Conciseness3/5

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

Well structured and front-loaded, with the core purpose in the first two sentences. However it is bloated: the no-follow-up instruction is stated three times (the CRITICAL warning, workflow step 4, and implications), and six examples are given where two or three would suffice.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations and no output schema, the description supplies purpose, exclusions, workflow, and worked parameter examples, which is enough to invoke the tool correctly. It falls short only on the return shape and on how limit interacts with dataset completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so 3 is the baseline, but the description goes beyond it by pairing parameter values in concrete examples (ticker="NVDA", quarter="Q3", year="2025") and by giving operational meaning to limit ('20-50 for complete data'), which the schema describes only as 'Maximum results'.

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?

States a specific verb and resource ('Retrieve ALL documents for a complete quarter/year using metadata filters only') and immediately contrasts with the semantic-search sibling: 'No semantic search - returns the entire dataset.' An agent can distinguish this from search_documents without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicit USE THIS FOR / NEVER USE THIS FOR blocks name the alternative tool and the exact conditions that select it ('specific questions about one topic (use search_documents instead)'). It even provides a numbered workflow, including the optional get_available_data pre-check and a stopping condition.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.