Skip to main content
Glama
FFBB MCP Server

FFBB MCP Server

Prochain match d'équipe

ffbb_next_match
Read-onlyIdempotent

Prochain match à jouer pour une équipe précise.

Instructions

Prochain match à jouer pour une équipe précise.

⚠️ SINGULIER UNIQUEMENT. Si la demande est au pluriel
("matchs restants", "derniers matchs à jouer", "calendrier"),
utiliser ffbb_club(action="calendrier") à la place.

⚠️ ATTENTION LLM : Cet outil retourne STRICTEMENT LE PROCHAIN MATCH UNIQUE.
Ne l'utilise JAMAIS si l'utilisateur demande "les prochains matchs" au pluriel.
Pour toute requête au pluriel, utilise OBLIGATOIREMENT `ffbb_club(action="calendrier")`
et filtre les résultats toi-même.

Recommendation LLM : Si la categorie est imprécise ou sans numéro (ex: 'U11M'),
appeler d'abord `ffbb_resolve_team` pour obtenir le `numero_equipe` reel.

Input Schema

NameRequiredDescriptionDefault
poule_idNoID FFBB de la poule pour désambiguïser.
categorieNoCatégorie de l'équipe précise (ex: 'U11M1', 'U11M', 'SEM1', 'NM3').
club_nameNoNom du club (ex: 'Stade Clermontois')
season_idNoID de la saison FFBB (optionnel).
organisme_idNoIdentifiant FFBB du club (organisme_id, ex: '9326' ou 'ARA0063058').
engagement_idNoID FFBB de l'engagement (prioritaire pour désambiguïser).
force_refreshNoSi True, force un rafraichissement des donnees de poule
numero_equipeNoNuméro d'équipe dans la catégorie. Résoudre avec ffbb_resolve_team si ambigu.
competition_idNoID FFBB de la compétition pour désambiguïser.
competition_typeNoType de compétition ('PLAT', 'COUPE', etc.) pour désambiguïser.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed15 schema fields changedv1.13.0
    • changedInput schema / anyOf
      Previous value: -[
      -  {
      -    "required": [
      -      "club_name"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "organisme_id"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "required": [
      +      "organisme_id"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "club_name"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "engagement_id"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "poule_id"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "competition_id"
      +    ]
      +  }
      +]
    • addedInput schema / properties / categorie / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / categorie / default
      Added value: +null
    • changedInput schema / properties / categorie / description
      Previous value: -"Catégorie de l'équipe précise (ex: 'U11M1', 'U11M', 'U11F')"New value: +"Catégorie de l'équipe précise (ex: 'U11M1', 'U11M', 'SEM1', 'NM3')."
    • removedInput schema / properties / categorie / type
      Removed value: -"string"
    • addedInput schema / properties / competition_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "ID FFBB de la compétition pour désambiguïser.",
      +  "title": "Competition Id"
      +}
    • addedInput schema / properties / competition_type
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Type de compétition ('PLAT', 'COUPE', etc.) pour désambiguïser.",
      +  "title": "Competition Type"
      +}
    • addedInput schema / properties / engagement_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "ID FFBB de l'engagement (prioritaire pour désambiguïser).",
      +  "title": "Engagement Id"
      +}
    • addedInput schema / properties / numero_equipe / anyOf
      Added value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / numero_equipe / default
      Previous value: -1New value: +null
    • removedInput schema / properties / numero_equipe / type
      Removed value: -"integer"
    • changedInput schema / properties / organisme_id / description
      Previous value: -"Identifiant FFBB du club (organisme_id, ex: 1234 ou 'ARA0063058')"New value: +"Identifiant FFBB du club (organisme_id, ex: '9326' ou 'ARA0063058')."
    • addedInput schema / properties / poule_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "ID FFBB de la poule pour désambiguïser.",
      +  "title": "Poule Id"
      +}
    • addedInput schema / properties / season_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "ID de la saison FFBB (optionnel).",
      +  "title": "Season Id"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "categorie"
      -]
  2. Changed2 schema fields changedv1.9.0
    • addedInput schema / anyOf
      Added value: +[
      +  {
      +    "required": [
      +      "club_name"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "organisme_id"
      +    ]
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "ffbb_next_matchDictOutput",
      -  "type": "object"
      -}New value: +null
  3. Changed2 schema fields changedv1.5.1
    • changedInput schema / properties / organisme_id / anyOf
      Previous value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / organisme_id / description
      Previous value: -"Identifiant FFBB du club (organisme_id)"New value: +"Identifiant FFBB du club (organisme_id, ex: 1234 ou 'ARA0063058')"
  4. Addedv1.3.2
  5. Removedv1.3.1
  6. Addedv1.2.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds real behavioral context beyond them — that the return is strictly a single next match (not a list), and that team resolution should be performed upstream. It does not mention caching/refresh behavior even though the schema exposes a force_refresh flag.

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?

The constraint is front-loaded and the alternative routing is given immediately. However, the singular-only rule is restated three times across two warning blocks, which is redundant text that inflates the definition.

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?

For a 10-parameter disambiguation tool with no output schema and no required fields (anyOf), the definition supplies the missing pieces an agent needs: the singular scope, the fallback tool for plural queries, and the team-resolution prerequisite. Nothing essential to correct invocation is 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 description coverage is 100%, so the baseline is 3, but the description adds genuine parameter-level guidance: it warns that an imprecise category (e.g. 'U11M' without a number) requires resolving numero_equipe via ffbb_resolve_team first. It does not explain disambiguation precedence among the many optional IDs beyond what the schema already says.

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 in the first line: the next match to play for a precise team. It explicitly bounds the scope to a single next match and names the sibling it must not be confused with (ffbb_club with action="calendrier"), so an agent can route correctly 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 Guidelines5/5

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

Explicitly covers when NOT to use it (any plural request such as 'matchs restants', 'calendrier'), names the exact alternative tool and action to use instead, and adds a prerequisite step (call ffbb_resolve_team first when the category lacks a number). This is about as complete as usage guidance gets.

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