Skip to main content
Glama

Oran Analiz Bot

Maç istatistikleri

match_team_stats
Read-only

Uygulamadaki maç detayı > İstatistik sekmesi: maçın gerçekleşen takım istatistikleri (şut, isabetli şut, kaçan büyük fırsat, topla oynama, ceza sahasında topla bulunma, korner, kart vb.) ev/deplasman değerleri ve oran çubuklarıyla. Dönem seçimi uygulamada istemcide yapılıyor; hepsi birlikte gelir: periods.full maç sonu (canlı maçta o ana kadar), periods.h1 ilk yarı, periods.h2 ikinci yarı. Kaynak henüz istatistik yayınlamadıysa boş liste döner. Maçın oranlardan beklenen golü için match_xg kullan.

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": {
      "matchKey": "<matchKey>"
    },
    "name": "match_team_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
matchKeyYeslist_matches'ten alınan matchKey.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/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 useful behavior beyond that: period selection is client-side, periods.full/h1/h2 are all returned together, and full means end-of-match or up-to-the-minute in a live match. It stops short of describing item field names or ordering, which keeps it at a 4 rather than 5.

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-loaded with the in-app location (match detail > Statistics tab), followed by the stat inventory, then the period semantics and the negative case. The parenthetical stat list is long but each item is informative; a small amount of density could be trimmed without loss.

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 usefully characterizes the return payload (three period keys, all delivered at once, empty list when unpublished) and clarifies the live-match semantics of periods.full. It does not document the per-team item structure or units inside the periods, so a small gap remains for a data-returning tool.

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?

Only one parameter (matchKey) and schema coverage is 100%, with the schema itself stating it comes from list_matches. The description does not mention matchKey at all, so it adds no meaning beyond the schema; the baseline 3 applies.

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 resource and scope: realized team statistics (shots, shots on target, big chances missed, possession, penalty-area touches, corners, cards) with home/away values for the statistics tab of a match. It also names the sibling to use instead (match_xg) for odds-derived expected goals, so an agent can distinguish it from neighbors without opening the 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?

Gives an explicit alternative routing rule: for expected goals derived from odds, use match_xg. It also sets an expectation for the negative case ('Kaynak henüz istatistik yayınlamadıysa boş liste döner'), so the agent knows an empty result is normal rather than an error.

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