Skip to main content
Glama
nickdesi

FFBB MCP Server

Recherche FFBB (multi-index)

ffbb_search
Read-onlyIdempotent

Recherche FFBB unifiée — clubs, compétitions, matchs, salles, tournois.

Instructions

Recherche FFBB unifiée — clubs, compétitions, matchs, salles, tournois.

Recommandations LLM :
- Prochain match équipe : `ffbb_next_match` ou `ffbb_team_summary`.
- Confrontation directe : `ffbb_match_lookup` ou `ffbb_head_to_head`.
- Calendrier club : `ffbb_club(action="calendrier")`.
- Salles par ville/CP (évite homonymies rues) : `code_postal` ou `commune`.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoTri Meilisearch (ex: ['nom:asc']).
typeNoType de données. 'all' cherche partout (défaut).all
limitNoNombre maximum de résultats à retourner (1-100).
queryYesTexte libre (ex: 'Vichy', 'U13F Auvergne').
offsetNoIndex de départ pour pagination (défaut: 0).
communeNoFiltrer par commune/ville (ex: 'Thiers').
compactNoSi True, réponse compacte allégée pour agents IA.
filter_byNoFiltre Meilisearch natif (ex: 'codePostal = "63000"').
code_postalNoFiltrer par code postal à 5 chiffres (ex: '63300').
force_refreshNoSi True, force le rafraîchissement des données.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.16.11
    • addedInput schema / properties / code_postal
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Filtrer par code postal à 5 chiffres (ex: '63300').",
      +  "title": "Code Postal"
      +}
    • addedInput schema / properties / commune
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Filtrer par commune/ville (ex: 'Thiers').",
      +  "title": "Commune"
      +}
    • addedInput schema / properties / compact
      Added value: +{
      +  "default": false,
      +  "description": "Si True, réponse compacte allégée pour agents IA.",
      +  "title": "Compact",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / filter_by / description
      Previous value: -"Filtre Meilisearch natif (ex: 'codePostal = \"63000\"', 'codePostal IN [\"63000\", \"63100\"]', 'departement = \"Puy-de-Dôme\"')."New value: +"Filtre Meilisearch natif (ex: 'codePostal = \"63000\"')."
  2. Changed2 schema fields changedv1.16.4
    • changedInput schema / properties / sort / description
      Previous value: -"Tri Meilisearch (ex: ['libelle:asc'])."New value: +"Tri Meilisearch (ex: ['nom:asc'])."
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "all",
      -  "competitions",
      -  "organismes",
      -  "rencontres",
      -  "salles",
      -  "pratiques",
      -  "terrains",
      -  "tournois",
      -  "engagements",
      -  "formations",
      -  "officiels",
      -  "entraineurs",
      -  "communes"
      -]New value: +[
      +  "all",
      +  "competitions",
      +  "organismes",
      +  "rencontres",
      +  "salles",
      +  "pratiques",
      +  "terrains",
      +  "tournois",
      +  "engagements",
      +  "formations",
      +  "news",
      +  "galeries",
      +  "rss"
      +]
  3. Changed4 schema fields changedv1.13.0
    • changedInput schema / properties / filter_by / description
      Previous value: -"Filtre Meilisearch natif (ex: 'codePostal = \"63000\"')."New value: +"Filtre Meilisearch natif (ex: 'codePostal = \"63000\"', 'codePostal IN [\"63000\", \"63100\"]', 'departement = \"Puy-de-Dôme\"')."
    • addedInput schema / properties / force_refresh
      Added value: +{
      +  "default": false,
      +  "description": "Si True, force le rafraîchissement des données.",
      +  "title": "Force Refresh",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Nombre maximum de résultats à retourner."New value: +"Nombre maximum de résultats à retourner (1-100)."
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Index de départ pour pagination (défaut: 0).",
      +  "title": "Offset",
      +  "type": "integer"
      +}
  4. Changed1 schema field changedv1.9.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "items": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "title": "Result",
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "ffbb_searchOutput",
      -  "type": "object"
      -}New value: +null
  5. Addedv1.3.2
  6. Removedv1.3.1
  7. Addedv1.2.0

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety/freshness profile is largely covered. The description adds one real behavioral nuance — that free-text street names cause homonymy problems for halls, so commune/code_postal should be preferred — but says nothing about result volume, data freshness (despite force_refresh existing), or pagination behavior. Some added value, not rich context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A one-line scope statement followed by four tight routing bullets: front-loaded, scannable, and every line carries actionable information. No filler, no repetition of schema field definitions.

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?

For a read-only, 10-parameter multi-index search with no output schema, the description covers scope and correct tool selection well. It would be slightly stronger if it noted what the result set looks like (mixed entity types? per-index grouping?) and the effect of compact/force_refresh, since there is no output schema to fall back on.

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. The description earns a bump by giving semantic guidance for two parameters — commune and code_postal — explaining *why* to use them ('évite homonymies rues') rather than merely restating them. It does not, however, add anything for sort, filter_by, compact, or limit, which remain schema-only.

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?

Opens with a specific verb+resource ('Recherche FFBB unifiée') and enumerates the entity types it spans (clubs, compétitions, matchs, salles, tournois), which usefully complements the `type` enum that uses different labels (organismes, rencontres). The routing bullets make it immediately distinguishable from specialist siblings like ffbb_next_match and ffbb_match_lookup.

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?

The 'Recommandations LLM' block explicitly names alternatives and the conditions that select them: next match → ffbb_next_match/ffbb_team_summary, direct confrontation → ffbb_match_lookup/ffbb_head_to_head, club calendar → ffbb_club, halls by city/postcode → code_postal/commune. This is a rare case of genuine when-to-use-else guidance rather than vague context.

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