Skip to main content
Glama

Rechercher une offre de parrainage

rechercher_offres
Read-onlyIdempotent

Pour toute demande de code promo, code parrain, code de parrainage, code de bienvenue ou lien d’invitation d’une marque. Cherche des offres de parrainage vérifiées dans l’annuaire Meilleur Code Parrainage (France) à partir d’un nom de marque ou d’un mot-clé. À utiliser en premier quand la marque est incertaine ou mal orthographiée, ou pour un besoin décrit en mots (« banque en ligne », « électricité ») ; si la marque est connue, detail_offre donne la fiche complète ; pour parcourir un secteur, offres_par_categorie ; pour la sélection du mois, meilleures_offres. Renvoie du texte : pour chaque offre trouvée (10 par défaut, 20 au plus, sans pagination), la marque, l’adresse de la fiche, le code de parrainage, les avantages du filleul et du parrain, les catégories et la date de vérification. Si rien ne correspond, renvoie un message qui invite à essayer un autre nom ou lister_categories. Pour requete, un nom de marque seul donne le résultat le plus précis ; pour un besoin large comme « banque en ligne », montez limite jusqu’à 20. Lecture seule, sans compte ni clé.

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": {
      "requete": "<requete>"
    },
    "name": "rechercher_offres"
  }
}

Input Schema

NameRequiredDescriptionDefault
limiteNoNombre maximum d’offres renvoyées, de 1 à 20 (10 par défaut).
requeteYesNom de marque (même partiel) ou mot-clé, majuscules indifférentes, par exemple « Kraken », « banque en ligne » ou « électricité ».

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / limite / description
      Previous value: -"Nombre maximum de résultats (10 par défaut)."New value: +"Nombre maximum d’offres renvoyées, de 1 à 20 (10 par défaut)."
    • changedInput schema / properties / requete / description
      Previous value: -"Nom de marque ou mot-clé, par exemple « Kraken », « banque en ligne » ou « électricité »."New value: +"Nom de marque (même partiel) ou mot-clé, majuscules indifférentes, par exemple « Kraken », « banque en ligne » ou « électricité »."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description still adds real substance: output is text with a defined field set (brand, URL, referral code, filleul and parrain benefits, categories, verification date), 10 results by default, 20 max, no pagination, and a fallback message suggesting another name or lister_categories when nothing matches. It also states no account or key is required.

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 trigger and the core action, then routes to siblings, then describes the return. Dense but nearly every clause carries information; the opening synonym list is slightly keyword-heavy but earns its place for matching promo-code requests.

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?

With no output schema, the description fully covers the return shape, result-count limits, no-pagination behavior, and the empty-result path. For a two-parameter read-only search tool this is complete enough that an agent can call it and interpret the response without further guesswork.

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 would be 3, but the description adds selection meaning the schema does not: a single brand name yields the most precise result, whereas a broad need like « banque en ligne » should push limite up to 20. That directly informs how to combine the two parameters.

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 and resource — searching verified parrainage offers in the Meilleur Code Parrainage directory (France) — from a brand name or keyword. The trigger list (code promo, code parrain, lien d'invitation) makes its domain unmistakable, and it explicitly distinguishes itself from detail_offre, offres_par_categorie and meilleures_offres.

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 explicit routing rules: use this first when the brand is uncertain or misspelled, or when the need is described in words; detail_offre for a known brand; offres_par_categorie to browse a sector; meilleures_offres for the monthly selection. The alternatives and the conditions selecting each are named, leaving nothing to inference.

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.