Skip to main content
Glama

compare_stocks

Read-only

Compare 2–8 stocks side by side to evaluate price, daily change, market cap, P/E, P/B, ROE, dividend yield, 52-week high distance, and beta across global exchanges including BIST.

Instructions

2-8 hisseyi yan yana karşılaştırır: fiyat, günlük değişim, piyasa değeri, F/K, F/DD, ROE, temettü verimi, 52 hafta yükseğe uzaklık ve beta. BIST dahil tüm borsalar.

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": {
      "symbols": "<symbols>"
    },
    "name": "compare_stocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoSıralama yönüdesc
sortByNoSıralama ölçütümarketCap
symbolsYesKarşılaştırılacak semboller (örn: ['THYAO', 'GARAN', 'AAPL'])

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the exchange coverage ('BIST dahil tüm borsalar') and the metric set, but says nothing about sorting behavior, result ordering, or how missing data for a symbol is handled.

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

Conciseness5/5

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

A single dense sentence that front-loads the core action and then lists the metrics, with the exchange-scope note appended. No filler or redundancy.

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?

With no output schema, the description correctly compensates by enumerating the returned metrics, which is the key missing piece. It is nearly complete for a read-only comparison tool; only result ordering and missing-data behavior are left unstated.

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 description coverage is 100% and both sortBy and order carry enum values plus Turkish descriptions, so the schema does the heavy lifting. The description adds no meaning about the sortBy/order parameters beyond what the schema already states, which is the expected baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (compare) and resource (stocks) and enumerates the exact metrics returned, so the agent knows precisely what it gets. The '2-8 stocks side by side' framing implicitly separates it from single-symbol price tools like get_bist_price or get_global_stock_price, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

The 2-8 symbol range implies a multi-stock comparison scenario, which is useful context, but there is no explicit statement of when to prefer this over get_fundamentals or the single-price tools, and no exclusions or prerequisites are given.

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