Skip to main content
Glama

Transmettre la demande

submit_request
DestructiveIdempotent

Transmettre exactement la demande préparée par un outil prepare_*, après autorisation du client. Crée un dossier InterCar, sans paiement. Réutiliser le même request_token lors des nouvelles tentatives : un seul dossier sera créé.

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": {
      "request_token": "<request_token>",
      "consent": "<consent>"
    },
    "name": "submit_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
consentYestrue uniquement si le client a autorisé la transmission de ce récapitulatif et de ses coordonnées à InterCar.
request_tokenYesJeton privé retourné par un outil prepare_*. Ne pas publier, placer dans une URL ou journaliser.

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.4/5.0
Behavior4/5

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

Goes beyond the annotations by naming the side effect concretely (creates an InterCar dossier), scoping it ('sans paiement'), and explaining the retry mechanic: reusing request_token guarantees a single dossier — this operationalizes the idempotentHint with actionable detail. It does not discuss failure modes or whether a created dossier can be withdrawn, which destructiveHint=true would make useful.

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?

Three short sentences, each carrying distinct information: the action and its prerequisite, the side effect and its scope, and the retry contract. Nothing is redundant and the critical constraint (exact request, consent first) is front-loaded.

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 an open-world, destructive, idempotent submission tool with a full output schema, the description covers prerequisites, side effect, payment exclusion, and idempotency. Remaining gaps — error behavior and post-creation recourse — are modest given annotations and the output schema already carry part of that load.

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 is 3, but the description adds genuinely new semantics: request_token must be reused verbatim across retries to avoid duplicate dossiers, and the 'exactly the prepared request' constraint means the payload is not to be modified. The consent parameter is reflected via 'après autorisation du client'.

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 ('Transmettre exactement la demande') and explicitly positions itself as the step that follows a 'prepare_*' tool, which distinguishes it from the many prepare_* siblings. It also states the concrete outcome: an InterCar dossier is created, without payment.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear precondition chain: only after a prepare_* tool has built the request and only after the client has authorized transmission. It does not spell out explicit when-not cases (e.g., what to do if consent is refused, or how this relates to get_request_status), but the routing context is strong.

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