Skip to main content
Glama

Bee Wholesale - outils du revendeur

Calcul de marge d'une revente sur Vinted

calcul_marge_vinted
Read-onlyIdempotent

Calcule le bénéfice net (marge), le taux de marge et le coefficient d'une pièce revendue sur Vinted, à partir du prix d'achat, du prix de vente, des frais d'envoi et des autres frais restant à la charge du vendeur, selon le statut (particulier, micro-entrepreneur, micro-entrepreneur avec versement libératoire). Reprend les formules du calculateur de marge de Bee Wholesale et ses paramètres, vérifiés le 17 novembre 2026 sur les pages officielles de Vinted (aucune commission vendeur, frais payés par l'acheteur) et de service-public.gouv.fr (cotisations du micro-entrepreneur). Renvoie aussi le prix minimum de vente et le prix payé par l'acheteur, avec les hypothèses. Montants en euros. Calcul seul : rien n'est enregistré.

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": {
      "prix_achat": "<prix_achat>",
      "prix_vente": "<prix_vente>"
    },
    "name": "calcul_marge_vinted"
  }
}

Input Schema

NameRequiredDescriptionDefault
statutNoparticulier, micro_entrepreneur ou micro_entrepreneur_versement_liberatoire.particulier
prix_achatYesPrix d'achat de la pièce en euros (pour un lot : prix du lot divisé par le nombre de pièces).
prix_venteYesPrix de vente affiché sur Vinted, en euros.
frais_envoiNoFrais d'envoi à la charge du vendeur, en euros (0 si l'acheteur paie le port, cas habituel sur Vinted).
autres_fraisNoAutres frais par vente à la charge du vendeur, en euros (emballage, boost, dressing en vitrine…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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, so the safety profile is covered. The description goes further by disclosing the formula provenance (Bee Wholesale calculator, Vinted pages, service-public.gouv.fr), the verification date, and the key assumptions (no seller commission, buyer pays shipping), which materially affect how results should be interpreted.

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 computed outputs, then inputs, then provenance and assumptions, then the read-only disclaimer — a sensible order with no filler. It runs long in a single paragraph and partly repeats the title, but every clause carries information an agent could act on.

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?

With no output schema, the description takes on the burden of describing returns and does so: net margin, margin rate, coefficient, minimum sale price and buyer-paid price, with hypotheses and euro units. It would be stronger if it named the output fields or their ordering, but nothing essential for correct invocation is missing.

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% and each parameter already carries a description, including the enum values for statut and the lot-division hint for prix_achat. The description only restates that the inputs are purchase price, sale price, shipping and other fees plus the seller status, adding no format or edge-case meaning beyond the schema.

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 ('Calcule le bénéfice net, le taux de marge et le coefficient') plus the domain (revente sur Vinted), and enumerates the inputs that drive it. An agent can tell this apart from barometre_prix_fripe and correspondance_tailles without opening any schema.

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

Usage Guidelines3/5

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

Usage is implied by the explicit input list and the closing 'Calcul seul : rien n'est enregistré', which tells the agent this is a pure computation with no side effects. However, it never states when to prefer this tool over the sibling price/reference tools, nor any preconditions on which inputs to gather first.

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