Skip to main content
Glama

Oran Analiz Bot

xG sıralaması

xg_ranking
Read-only

Uygulamadaki Lig İstatistikleri > xG sıralaması: geçmiş maçların oranlarından çözülen beklenen gole göre takımlar ve ligler. Kapsam seçilir (son 30/90 gün, bu sezon, son 365 gün, tümü), aşama (açılış/kapanış) ve sıralama ölçütü verilir; takım satırı maç sayısını, maç başına beklenen attığı/yediği golü ve gerçekte attığı/yediği golü taşır. Lig listesi maç başına beklenen toplam golü verir; lig eşiği takım eşiğinin beş katıdır. xG oranlardan çözülür, şut xG'si değildir; ölçek düzeltmesi yapılmaz. Tek maçın xG'si ve en olası skorları için match_xg kullan. İlk çağrı yavaş olabilir; aynı kapsam ve aşama kısa süre önbellekten gelir.

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": "xg_ranking"
  }
}

Input Schema

NameRequiredDescriptionDefault
minNoTakımın listede görünmesi için en az maç sayısı (varsayılan 5).
sortNoxgFor beklenen attığı (varsayılan), xgAgainst beklenen yediği, xgTotal beklenen attığı+yediği.
orderNodesc en yüksek önde (varsayılan), asc en düşük önde.
scopeNolast30 son 30 gün, last90 son 90 gün, season bu sezon, last365 son 365 gün, all tümü (varsayılan).
stageNoUygulamadaki Açılış/Kapanış seçimi. Varsayılan: closing (kapanış).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds genuinely new behavior: the first call may be slow and identical scope+stage pairs are served briefly from cache. It also discloses derivation caveats (xG solved from odds, not shot-based, no scale adjustment) and that the league threshold is five times the team threshold, which prevents misreading thin league rows.

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?

Front-loads the app location and purpose, then moves to selection inputs, return contents, methodology caveats, the sibling hand-off, and finally performance notes — a logical progression with no filler sentences. It is dense in one long middle sentence, but every clause carries information.

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

Completeness5/5

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

There is no output schema, and the description compensates fully by enumerating team-row fields (match count, xG for/against per match, actual goals for/against) and the league-level expected total. Combined with the latency/cache note and the match_xg hand-off, an agent has everything needed to call and interpret it.

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% with four enums fully explained, so the schema already carries the parameter burden. The description restates the scope and stage choices and hints at the min threshold via the 5x league rule, but adds no syntax, defaults or edge-case meaning beyond what the schema provides — baseline 3.

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?

Names a specific resource (teams and leagues ranked by expected goals derived from historical match odds) and a specific output shape (ranking), and immediately scopes it against the sibling match_xg for single-match queries. An agent can distinguish this from league_stats or match_xg without opening any schema.

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?

Explicitly routes single-match xG and most-likely-score needs to match_xg, and explains that the caller picks a scope, stage and ranking metric. It does not give an explicit when-not rule relative to other ranking/stat siblings such as league_stats, so it falls just short of full alternative routing.

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