Skip to main content
Glama
qdrant-financial-docs

qdrant-financial-docs

compare_quarters

Compare financial data across quarters to analyze trends and surface side-by-side differences in revenue or year-over-year changes.

Instructions

Compare financial information across multiple quarters for trend analysis. Returns documents grouped by quarter so you can show side-by-side comparisons.

WHEN TO USE:

  • "Compare Q3 vs Q4 revenue"

  • "How did data center revenue change quarter over quarter?"

  • "Show me YoY comparison"

  • Any question with "compare", "vs", "versus", "difference between"

EXAMPLES:

  • "Compare NVIDIA Q3 and Q4 2025 AI chip revenue" → Use this tool

  • "What's the trend in gaming revenue?" → Use 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": {
      "ticker": "<ticker>",
      "quarters": "<quarters>",
      "year": "<year>"
    },
    "name": "compare_quarters"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesYear (e.g., '2026')
queryNoOptional: semantic search query to filter relevant content
tickerYesStock ticker (e.g., 'NVDA')
quartersYesList of quarters to compare (e.g., ['Q1', 'Q2'])
limit_per_quarterNoMax documents per quarter (default 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the return shape (documents grouped by quarter, i.e. a read-only retrieval operation) and the default of 5 docs per quarter, but says nothing about pagination, what happens when a requested quarter has no matching documents, or any access constraints.

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

Conciseness4/5

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

The purpose is front-loaded and the WHEN TO USE / EXAMPLES sections are scannable. There is mild redundancy: the EXAMPLES block largely restates the trigger phrases already covered in WHEN TO USE, and one example ('trend in gaming revenue') is a single-series question rather than a comparison.

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

Completeness3/5

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

For a 5-parameter retrieval tool with no output schema and no annotations, the description covers intent and routing but leaves the response contract thin: it never says how quarters with sparse or absent data are represented, how many total documents to expect, or how `query` narrows results. Adequate to invoke, not sufficient to interpret the output confidently.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents ticker, quarters, year, query and limit_per_quarter. The examples add some grounding (ticker 'NVIDIA', 'Q3 and Q4 2025'), but the optional semantic `query` parameter and the effect of `limit_per_quarter` on result completeness are never explained in the description. Baseline 3 is appropriate.

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?

The first sentence names a specific verb and resource ('compare financial information across multiple quarters') plus the intent ('trend analysis'), and the second states the distinguishing behavior: documents are grouped by quarter. That grouping is what separates it from the sibling retrieval tools (search_documents, filter_by_metadata), which return ungrouped results.

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

Usage Guidelines4/5

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

A dedicated WHEN TO USE block lists concrete trigger phrasings ('compare', 'vs', 'versus', 'difference between', 'YoY') and maps them to this tool, so routing is largely unambiguous. It stops short of naming an alternative or an exclusion ('use search_documents instead when you only need one quarter'), so it lands just below the top score.

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