Skip to main content
Glama

Football Database and Results

Draw prediction for one team

get_team_prediction
Read-onlyIdempotent

[PAID] How overdue a draw one named team is, plus the results that made it so.

Returns the team's draw-likelihood rank and score among all ranked teams, the signals behind it (draw rate, current no-draw streak, longest ever, draw debt), and its recent form — every match in the current no-draw run, with opponent, score and side. Use this when the question is about a specific team ("is Brazil due a draw?"); use predict_draws when the question is about the field.

The prediction comes back null when the team exists but is not currently ranked (no played matches, or excluded by the recent filter). Historical pattern, not a betting tip.

Costs 1 point per call (1 point = 1 cent); paginated calls cost 1 point per page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
teamYesNumeric team id or slug — 431 or "arsenal". Both come from list_teams.
recentNoRank within teams that have played recently, matching predict_draws. Default true.
wc2026NoRank within the 2026 World Cup team group. Default false.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / data / properties / recent_form / items / properties / score / description
      Previous value: -"Final score; both null until the match is played."New value: +"Ninety-minute score; both values null before play or when the exact score is unknown, including played extra-time draws."
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "data": {
      +      "properties": {
      +        "prediction": {
      +          "description": "The team's place in the ranking; null when it is not ranked (too few recent matches).",
      +          "properties": {
      +            "last_match_date": {
      +              "description": "Date of the team's most recent match.",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "rank": {
      +              "description": "Position in the ranking; 1 is the most overdue.",
      +              "type": "integer"
      +            },
      +            "score": {
      +              "description": "The draw-likelihood score the ranking sorts on.",
      +              "type": "number"
      +            },
      +            "signals": {
      +              "description": "The figures the score is built from.",
      +              "properties": {
      +                "current_no_draw_streak": {
      +                  "description": "Matches since the last draw.",
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "draw_debt": {
      +                  "description": "Draws expected from the draw rate minus draws that came.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "draw_pct": {
      +                  "description": "Share of matches drawn, in percent.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "draws": {
      +                  "type": "integer"
      +                },
      +                "max_no_draw_streak": {
      +                  "description": "Longest run without a draw, ever.",
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "played": {
      +                  "type": "integer"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "team": {
      +              "description": "A team.",
      +              "properties": {
      +                "country": {
      +                  "description": "The country a team or competition belongs to.",
      +                  "properties": {
      +                    "fifa_code": {
      +                      "description": "Three-letter FIFA code.",
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "id": {
      +                      "type": "integer"
      +                    },
      +                    "name": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "required": [
      +                    "id"
      +                  ],
      +                  "type": [
      +                    "object",
      +                    "null"
      +                  ]
      +                },
      +                "exists_now": {
      +                  "description": "False for a team that no longer exists.",
      +                  "type": "boolean"
      +                },
      +                "full_name": {
      +                  "description": "Official or long name, when known.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "id": {
      +                  "description": "Team id — the argument every team tool takes.",
      +                  "type": "integer"
      +                },
      +                "name": {
      +                  "description": "Short display name.",
      +                  "type": "string"
      +                },
      +                "slug": {
      +                  "description": "URL slug; accepted anywhere an id is.",
      +                  "type": "string"
      +                },
      +                "type": {
      +                  "description": "\"national_team\" or \"club\".",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "slug",
      +                "name"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "rank",
      +            "score"
      +          ],
      +          "type": [
      +            "object",
      +            "null"
      +          ]
      +        },
      +        "recent_form": {
      +          "description": "The team's latest results, newest first.",
      +          "items": {
      +            "properties": {
      +              "date": {
      +                "type": "string"
      +              },
      +              "is_draw": {
      +                "type": "boolean"
      +              },
      +              "match_id": {
      +                "type": "integer"
      +              },
      +              "opponent": {
      +                "description": "A team reference.",
      +                "properties": {
      +                  "id": {
      +                    "description": "Team id — the argument every team tool takes.",
      +                    "type": "integer"
      +                  },
      +                  "name": {
      +                    "description": "Short display name.",
      +                    "type": "string"
      +                  },
      +                  "slug": {
      +                    "description": "URL slug; accepted anywhere an id is.",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "id",
      +                  "slug",
      +                  "name"
      +                ],
      +                "type": "object"
      +              },
      +              "score": {
      +                "description": "Final score; both null until the match is played.",
      +                "properties": {
      +                  "away": {
      +                    "type": [
      +                      "integer",
      +                      "null"
      +                    ]
      +                  },
      +                  "home": {
      +                    "type": [
      +                      "integer",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "side": {
      +                "description": "\"home\" or \"away\".",
      +                "type": "string"
      +              },
      +              "won": {
      +                "type": "boolean"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "team": {
      +          "description": "A team.",
      +          "properties": {
      +            "country": {
      +              "description": "The country a team or competition belongs to.",
      +              "properties": {
      +                "fifa_code": {
      +                  "description": "Three-letter FIFA code.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "id": {
      +                  "type": "integer"
      +                },
      +                "name": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "id"
      +              ],
      +              "type": [
      +                "object",
      +                "null"
      +              ]
      +            },
      +            "exists_now": {
      +              "description": "False for a team that no longer exists.",
      +              "type": "boolean"
      +            },
      +            "full_name": {
      +              "description": "Official or long name, when known.",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "id": {
      +              "description": "Team id — the argument every team tool takes.",
      +              "type": "integer"
      +            },
      +            "name": {
      +              "description": "Short display name.",
      +              "type": "string"
      +            },
      +            "slug": {
      +              "description": "URL slug; accepted anywhere an id is.",
      +              "type": "string"
      +            },
      +            "type": {
      +              "description": "\"national_team\" or \"club\".",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "slug",
      +            "name"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly, idempotent), and the description adds genuinely non-structured context: it is a paid tool costing 1 point per call and 1 point per page, the result is a historical pattern rather than a betting tip, and the prediction can return null under stated conditions. It does not describe caching or rate limiting beyond cost, but the added behavioral detail is substantial.

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 [PAID] marker and the core purpose, then adds breadth-of-return, routing, edge case, and cost in that order. Dense and mostly waste-free; the enumerated signal list is long but each item maps to returned data, so it earns its place.

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?

An output schema exists, so the description does not need to explain return values — yet it still tells the agent what the payload contains and when it is null. Combined with cost disclosure and sibling routing, nothing needed to call this correctly is missing.

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 the baseline is 3. The description goes beyond the schema by explaining the consequence of `recent` — it determines ranking scope and can cause a null prediction — and by framing both filters as ranking groups ('matching predict_draws', 'the 2026 World Cup team group').

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 verb+resource — 'how overdue a draw one named team is, plus the results that made it so' — and enumerates the returned signals (rank, draw rate, no-draw streak, longest ever, draw debt, recent form). It explicitly separates itself from predict_draws, so an agent can pick between them without opening a 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 routing rule: 'use this when the question is about a specific team...; use predict_draws when the question is about the field.' It also documents the null-return condition (team exists but unranked, or excluded by `recent`), which is exactly the kind of when-not guidance agents need.

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