Skip to main content
Glama
nickdesi

FFBB MCP Server

Recherche dans les règlements sportifs FFBB

ffbb_search_regulations
Read-onlyIdempotent

Search FFBB rules by keyword to get relevant article excerpts about qualifications, promotions, technical rules, and forfeits, without needing the article number.

Instructions

Recherche plein texte déterministe dans les règlements officiels FFBB, régionaux et départementaux.

Permet de retrouver les articles pertinents sur les qualifications, montées/descentes, brassages jeunes, règles techniques (durée, ballons, zone), forfaits et brûlage. Retourne dict avec extraits[] (document_id, article_number, score, extrait) triés par pertinence ; lecture seule, idempotent, cache SWR.

Utilise cet outil quand tu ne connais pas le numéro d'article et que tu cherches par mots-clés. Ne pas utiliser pour récupérer un article précis — utilise ffbb_get_regulation_article à la place ; pour lister les documents — utilise ffbb_list_regulations ; pour expliquer un départage — utilise ffbb_explain_tiebreak_rules au lieu de chercher le texte. Affûte avec level, organizer, category et limit pour réduire le bruit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelNoNiveau de compétition ciblé : 'federal' (FFBB national / RSG / Élite), 'regional' (Ligues, ex: AURA), 'departmental' (Comités, ex: Comité 63)
limitNoNombre maximal d'extraits d'articles à retourner (défaut 5, max 10)
queryNoTerme ou question de recherche dans les règlements (ex: 'brûlage équipe réserve', 'défense de zone U13', 'brassages départementaux', 'barrages accession')
topicNoMots-clés thématiques (ex: 'departages', 'brulage', 'forfaits', 'poule_haute')
seasonNoSaison sportive ciblée (par défaut '2026-2027')2026-2027
categoryNoCatégorie d'âge ou division (ex: 'U13', 'U15', 'U18', 'seniors', 'elite')
organizerNoNom ou sigle de l'organisateur (ex: 'FFBB', 'Ligue AURA', 'Comité 63')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.13.0

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations, the description discloses concrete behavior: it is deterministic, uses SWR caching, returns a dict with extraits[] containing document_id, article_number, score, and extrait, and sorts results by relevance. This adds useful context beyond the readOnlyHint/idempotentHint annotations without contradicting them.

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?

The description is structured into three focused paragraphs: the core function and scope, the return value and behavioral properties, then usage guidance with alternatives. Every sentence delivers useful information, and the key purpose and exclusions appear early.

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 search tool with 7 optional parameters, no required fields, and no output schema, the description is complete: it covers what the tool searches, what it returns, how results are ordered, its side-effect-free behavior, when to use it, when not to use it, and which parameters to refine with. The rich schema fills the remaining detail.

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?

The schema already documents all 7 parameters with examples and defaults, so the description does not need to repeat them. The line 'Affûte avec level, organizer, category et limit pour réduire le bruit' adds a small amount of grouping/purpose information, but it is not essential given the 100% schema coverage.

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?

The description names a precise verb and resource: 'recherche plein texte déterministe dans les règlements officiels FFBB, régionaux et départementaux.' It further clarifies the scope by listing concrete topics such as qualifications, montées/descentes, and forfaits, and it distinguishes itself from the relevant sibling tools (ffbb_get_regulation_article, ffbb_list_regulations, ffbb_explain_tiebreak_rules).

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 description is explicit about when to use the tool: 'quand tu ne connais pas le numéro d'article et que tu cherches par mots-clés.' It also gives explicit exclusions and alternatives: use ffbb_get_regulation_article for a specific article, ffbb_list_regulations to list documents, and ffbb_explain_tiebreak_rules for tiebreak explanations, so an agent is not left guessing.

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