Skip to main content
Glama

Détail d’une offre de parrainage

detail_offre
Read-onlyIdempotent

Pour toute demande de code promo, code parrain, code de parrainage, code de bienvenue ou lien d’invitation d’une marque. Renvoie la fiche complète d’une seule marque de l’annuaire Meilleur Code Parrainage : code de parrainage (ou activation par lien), avantages du filleul et du parrain, catégories, date de vérification, condition à remplir, délai de versement, page officielle consultée, date de fin si l’offre est limitée, et avertissement. À utiliser quand l’utilisateur nomme une marque précise et veut savoir comment obtenir le bonus ; pour plusieurs marques, utiliser comparer_offres ; si le nom est incertain, rechercher_offres d’abord. Si la marque est absente, renvoie une erreur qui invite à utiliser rechercher_offres. 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": {
      "marque": "<marque>"
    },
    "name": "detail_offre"
  }
}

Input Schema

NameRequiredDescriptionDefault
marqueYesNom de la marque tel qu’on l’écrit couramment, majuscules indifférentes, par exemple « Fortuneo » ou « Uber Eats ».
completNotrue pour le détail complet des conditions, du délai de versement et de la page officielle. Par défaut : réponse courte.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / complet
      Added value: +{
      +  "description": "true pour le détail complet des conditions, du délai de versement et de la page officielle. Par défaut : réponse courte.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / marque / description
      Previous value: -"Nom de la marque, par exemple « Fortuneo » ou « Uber Eats »."New value: +"Nom de la marque tel qu’on l’écrit couramment, majuscules indifférentes, par exemple « Fortuneo » ou « Uber Eats »."
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world behavior, so the description's 'lecture seule, sans compte ni clé' is partly redundant but usefully confirms no auth is needed. It adds genuine value by disclosing the failure mode: a missing brand returns an error steering the caller to rechercher_offres. It does not describe response size or truncation behavior, which keeps it below a 5.

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-loaded with the trigger vocabulary (promo code, referral code, welcome code, invite link) and followed by return contents, then routing guidance — a sensible order. The long enumerated field list for the response is the only slightly padded portion, though it is doing real work given there is no output schema.

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 carries the burden of explaining return values and does so by enumerating exactly what the record contains. Combined with the disclosed error path and auth-free/read-only note, an agent has everything needed to call it and interpret the result.

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?

Schema description coverage is 100%, so both marque and complet are already fully documented, including case-insensitivity and the short-response default. The description adds only contextual framing ('fiche complète', what fields the full answer covers) rather than new parameter semantics, so the baseline applies.

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 resource and outcome: returns the complete record for a single brand in the Meilleur Code Parrainage directory, and enumerates the returned fields (sponsorship code, benefits for both parties, categories, verification date, payout delay, official page, end date, warning). It is clearly distinguished from comparer_offres and rechercher_offres by naming both as alternatives for different situations.

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 when-to-use conditions: use when the user names a precise brand and wants to know how to get the bonus. It also names exclusions and alternatives — comparer_offres for multiple brands, rechercher_offres first when the name is uncertain — and describes the fallback when a brand is absent.

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.