Skip to main content
Glama

Faire rappeler le client

request_callback
DestructiveIdempotent

Alternative à la réservation en ligne : faire rappeler le client par InterCar pour confirmer le prix et organiser l’intervention. À proposer quand le client préfère parler à quelqu’un, ou quand le prix n’est pas réservable en ligne (booking.bookable_online: false). Transmet en une seule étape la demande, le chiffrage et les coordonnées du client : appeler uniquement avec son accord (consent: true). Crée un dossier InterCar, sans paiement, et retourne une référence et un jeton privé de suivi.

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": {
      "service_type": "<service_type>",
      "start_address": "<start_address>",
      "vehicle_type": "<vehicle_type>",
      "vehicle_states": "<vehicle_states>",
      "access_location": "<access_location>",
      "name": "<name>",
      "phone": "<phone>",
      "consent": "<consent>"
    },
    "name": "request_callback"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesNom du client.
emailNo
phoneYesTéléphone du client, pour le rappel.
consentYestrue uniquement si le client accepte qu’InterCar reçoive ses coordonnées et sa demande pour le rappeler.
messageNoPanne, contraintes, disponibilités, si le client les précise. Ne rien inventer.
electricNotrue pour un véhicule électrique ou hybride rechargeable, si le client le précise.
tire_tpmsNoChangement : true si le véhicule a des capteurs de pression (TPMS).
tire_countNoChangement : nombre de pneus à poser (obligatoire pour changement).
distance_kmNoDistance routière vérifiée par un outil cartographique ou fournie par le client, si connue. Ne pas inventer ni utiliser une distance à vol d’oiseau. Le chiffrage reste indicatif.
end_addressNoObligatoire pour un remorquage ou un convoyage ; inutile pour une intervention sur place.
tire_optionNoObligatoire pour pneu : reparation (crevaison réparée sur place) ou changement (pneus neufs posés).
tire_supplyNoChangement : intercar (pneu fourni et posé) ou client (pose seule d’un pneu déjà acheté).
mission_dateNoDate ISO 8601 avec fuseau horaire ; omettre pour une intervention immédiate.
service_typeYesremorquage : véhicule transporté de A à B (plateau express ou transport groupé économique) ; depannage : panne, intervention sur place ; convoyage : un chauffeur conduit le véhicule roulant de A à B ; batterie : batterie à plat (redémarrage) ou batterie neuve posée ; pneu : crevaison réparée ou pneus neufs posés sur place ; serrurier : ouverture de porte (clés enfermées ou perdues).
tire_qualityNoChangement : gamme entree, milieu ou premium ; le chiffrage renvoie le prix des trois gammes (tire_options).
vehicle_typeYesGabarit : identify_vehicle le déduit de la plaque. poids-lourd : prix confirmé par l’équipe (rappel).
license_plateNoImmatriculation, si connue : affine le chiffrage (classe et gabarit du véhicule).
start_addressYesAdresse complète, code postal et ville du véhicule.
battery_optionNoObligatoire pour batterie : recharge_diagnostic (redémarrage et diagnostic), remplacement_standard (batterie neuve, garantie 2 ans) ou remplacement_start_stop (batterie Start & Stop AGM/EFB).
tire_dimensionNoDimension lue sur le flanc du pneu, ex. 205/55 R16. Sans elle, prix calculé sur une taille type, à confirmer.
vehicle_statesYesÉtats cumulables, tels que décrits par le client.
access_locationYesrue : voie publique ou garage accessible ; parking_souterrain ; chemin_terre : chemin ou terrain difficile.

Output Schema

NameRequiredDescriptionDefault
errorNoCode d’erreur : validation_failed, price_changed, not_bookable_online, invalid_token…
quoteNoChiffrage du moteur InterCar : price = prix TTC à annoncer tel quel.
stateNoawaiting_consent, awaiting_payment, already_booked, received, already_received…
detailNoExplication à reformuler pour le client.
statusYestrue si l’appel a abouti ; false avec error, detail et next_step sinon.
bookingNoRéservabilité et formules (chiffrage), ou état de la réservation (paiement, suivi).
next_stepNoCe que l’agent doit faire ensuite.
referenceNoRéférence du dossier InterCar.
payment_urlNoLien Stripe de l’acompte : le client l’ouvre et paie lui-même.
request_tokenNoJeton privé de suivi : ne pas publier ni placer dans une URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=true; the description adds that no payment is taken, that a dossier is created, and that a reference and private tracking token are returned. That is meaningful context beyond the annotations, though it does not spell out the irreversibility or consequences of the destructiveHint or the openWorldHint transmission of personal data beyond the consent note.

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 purpose and alternative framing, then the precondition, then the outcome, in three compact sentences. It is dense but earns its words; the older parameter-critical notes (end_address, tire options) live in the schema, so the description itself stays efficient.

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 22-parameter creation tool with an output schema (so return values needn't be explained), the description covers intent, precondition, side effect, and the absence of payment. It does not warn about the destructive/openWorld annotations or the service_type branching beyond naming the non-bookable case.

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 95%, so the baseline is 3; the description adds cross-field logic the schema cannot express, notably that end_address is required for towing, that tire options are obligatory for tire service, and that distance must be map-verified, not straight-line. It re-states the consent rule rather than expanding it, and it does not summarize required fields.

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 French: creating a callback request with InterCar, transmitting the request, quote details and contact info in one step, and returning a reference and private tracking token. This is clearly distinguishable from submit_request or book_intervention because it results in a callback (no payment, no online booking).

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 frames when to use it: when the client prefers to speak to someone, or when the price is not bookable online (booking.bookable_online: false), and it is framed as an alternative to online booking. It also gives a hard precondition – call only with consent: true.

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.

Resources