Skip to main content
Glama

Oran Analiz Bot

İstatistiğe göre ligler

league_stats_by_stat
Read-only

Uygulamadaki Lig İstatistikleri > İstatistiğe göre ligler: bir istatistik satırını (ör. 6+ gol, 2,5 Üst, KG Var, 1/2) sezon kapsamına göre liglerde oranlar — lig, ülke, sezon ve o istatistiğin kaç maçta kaç kez gerçekleştiği. stat değerleri uygulamadaki sekmelerin (Toplam Gol, İY/MS, Maç Sonucu, İlk Yarı, 2,5 Alt/Üst, Karşılıklı Gol, 1Y/2Y KG, Maç Skoru, İY Skoru) satır id'leridir ve birebir verilmelidir: gr-01/gr-23/gr-45/gr-6 gol aralıkları, res-1/res-0/res-2 maç sonucu (0 = X), ht-1/ht-0/ht-2 ilk yarı, htft-<İY>- (ör. htft-1-2 = 1/2, X yerine 0), ou-over/ou-under 2,5 üst/alt, kg-yes/kg-no karşılıklı gol, hkg-ee/hkg-eh/hkg-he/hkg-hh 1Y/2Y KG, sc- maç skoru, hsc- ilk yarı skoru. Sıralama orana (pct) ya da adede (count) göre; min eşiği altındaki ligler listelenmez. Lig dizini her gün tamamlanır: liste eksik gelebilir, boş yanıtta bunu söyle.

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": {
      "stat": "<stat>"
    },
    "name": "league_stats_by_stat"
  }
}

Input Schema

NameRequiredDescriptionDefault
minNoLigin listede görünmesi için en az maç sayısı (varsayılan 30).
sortNopct orana göre (varsayılan), count adede göre.
statYesİstatistik satırı (uygulamadaki sekmelerin satırları).
scopeNoUygulamadaki sezon seçimi: 0 bu sezon (varsayılan), 1 geçen sezon, last3 son 3 sezon, last5 son 5 sezon, last10 son 10 sezon.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already fix the safety profile (readOnlyHint=true, openWorldHint=false), so the bar is lower, yet the description adds real behavior: leagues below `min` are dropped entirely, ordering follows pct or count, and the league index is only completed daily so results may be incomplete. The instruction to surface incompleteness on an empty response is exactly the kind of operational caveat annotations cannot convey.

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?

Purpose and return shape are front-loaded, but the body is one long unbroken paragraph mixing enum decoding, sorting, thresholds and freshness caveats. It also restates schema-documented parameters (min, sort, scope) rather than spending that space on structure, such as splitting the stat-id mapping into a list.

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 carries the burden of describing returns and does so adequately: league, country, season and per-stat occurrence counts, ordered by rate or volume. Combined with the freshness caveat and enum decoding, an agent has enough to call it correctly; only exact response field names are absent.

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 baseline is 3, but the description goes further by decoding the opaque enum: it maps id families (gr-*, res-*, ht-*, htft-<HT>-<FT>, ou-*, kg-*, hkg-*, sc-*, hsc-*) to app tabs and notes the 0-means-X convention. This is meaning the schema's generic 'İstatistik satırı' note does not provide. Minor gap: it repeats min/sort/scope semantics already present in the schema.

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 states a concrete operation: ranking leagues by how often a given stat row occurred, returning league, country, season and occurrence counts. It is specific about the resource (league statistics keyed on a stat row) but never names the sibling `league_stats` or any other alternative, so differentiation is left to inference.

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?

Usage is only implied: an agent can infer you call this when you want league-level rates for a specific stat line. There is no explicit when-to-use vs. when-not comparison against `league_stats` or `realized_stats`, and no stated prerequisites. The one actionable instruction ('if the response is empty, say so') is about handling, not selection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources