Skip to main content
Glama
Bilinfo MCP Server

Bilinfo MCP Server

Opret eller ret en bil (Bilinfo)

bilinfo_save_car
Destructive

Creates or updates a dealer vehicle listing in Bilinfo for publication on Bilbasen and DBA, sending all car details each time to apply changes.

Instructions

Opretter en bil hos forhandleren i Bilinfo, som annonceres på Bilbasen og DBA, eller retter en bil, forbindelsen har oprettet: pris, kilometertal, beskrivelse, udstyr, billeder, status og synlighed. Bilinfo sætter bilen til præcis det, der sendes, så en rettelse skal have alle bilens oplysninger med igen, ikke kun det, der ændres. Brug samme carId, når bilen rettes. variantId findes med opslag i modelkataloget, og farve, polstring og udstyr med listen over valgmuligheder. visibility Internal tager annoncen af Bilbasen og DBA, men bilen bliver i Bilinfo; External sætter den på igen. Billeder skal være adresser på billeder, Bilinfo allerede har. En bil, der er oprettet direkte i Bilinfo, kan ikke rettes herfra. Ændringen sker med det samme i Bilinfo.

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": {
      "carId": "<carId>",
      "variantId": "<variantId>",
      "mileage": "<mileage>"
    },
    "name": "bilinfo_save_car"
  }
}

Input Schema

NameRequiredDescriptionDefault
carIdYesBilens id hos forhandleren, fx lagernummeret. Samme id ved hver rettelse; det skal være entydigt.
rangeNoRækkevidde på el i kilometer.
colorIdNoId på farven fra listen over valgmuligheder.
damagedNoHar bilen haft skader: Unknown, No eller Yes.
leasingNoLeasingpris, når bilen også udbydes til leasing.
mileageYesKilometertal.
versionNoVersionsnummer, højere end ved sidste ændring. Udelad det: så bruges tidspunktet, som altid er højere.
euroNormNoEuronorm.
picturesNoAdresser på bilens billeder hos Bilinfo, i rækkefølge, højst 24. Udelades de, har bilen ingen billeder efter ændringen.
saleTypeNoRetailSale (detailsalg, standard), Consignment (kommissionssalg) eller Facilitated (formidlingssalg).
cashPriceNoKontantpris i kroner med leveringsomkostninger. Mindst 15.000 kr. for en bil, der er yngre end syv år.
formerUseNoTidligere brug: Unknown, Privat, BusinessUse, Taxa, Rental, Leasing eller New.
variantIdYesBilens variant fra modelkataloget (variantId).
vatOptionNoNotVatFree: priserne er med moms. VatFree: uden moms.
vinNumberNoStelnummer (VIN), 10-19 tegn.
kmPerLiterNoKilometer pr. liter.
timingBeltNoTandrem.
visibilityNoExternal (standard): i Bilinfo og på Bilbasen og DBA. Internal: kun i Bilinfo, annoncen er taget af.
batterySizeNoBatteriets størrelse i kWh.
co2EmissionNoCO2-udslip i g/km. Skal angives for en bil med forbrændingsmotor registreret efter 1. juli 2021.
descriptionNoBeskrivelsen i annoncen, højst 4.000 tegn.
marketValueNoMarkedsværdi i kroner (leasing).
serviceBookNoServicebog: FilledOut, PartiallyFilledOut eller NotFilledOut.
chargeTimeDcNoMinutter til at lade fra 10 til 80 % med jævnstrøm.
isFactoryNewNotrue for en fabriksny bil (under 2.000 km og højst fire år fra første registrering).
numberOfKeysNoAntal nøgler.
upholsteryIdNoId på polstringen fra listen over valgmuligheder.
isImportedCarNotrue, når bilen er importeret.
purchasePriceNoIndkøbspris i kroner.
taxationBasisNoBeskatningsgrundlag i kroner (leasing).
trailerWeightNoStørste vægt på anhænger i kg.
vehicleStatusNoBilens status hos forhandleren: InStock (på lager), Entering (på vej ind), Reserved (reserveret), Detailing (klargøring), InTransport (under transport), PaintShop (lakering), PendingPictures (mangler billeder), WorkShop (værksted), NotAssigned eller Sold. Udelades den, beholder en bil sin status.
extraEquipmentNoId på ekstraudstyr fra listen over valgmuligheder.
inspectionDateNoSeneste syn, ÅÅÅÅ-MM-DD.
particleFilterNotrue, når bilen har partikelfilter.
productionDateNoProduktionsdato, ÅÅÅÅ-MM-DD.
wholesalePriceNoEngrospris i kroner med leveringsomkostninger.
wltpKmPerLiterNoKilometer pr. liter efter WLTP.
chargingPowerAcNoStørste ladeeffekt med vekselstrøm (AC) i kW.
chargingPowerDcNoStørste ladeeffekt med jævnstrøm (DC) i kW.
preparationCostNoKlargøringsomkostninger i kroner.
priceWithoutTaxNoPris uden registreringsafgift i kroner.
registrationFeeNoRegistreringsafgift i kroner.
severelyDamagedNoHar bilen haft større skader: Unknown, No eller Yes.
registrationDateNoFørste registrering, ÅÅÅÅ-MM-DD. Skal angives, når bilen ikke er fabriksny.
upholsteryColorIdNoId på polstringens farve fra listen over valgmuligheder.
registrationNumberNoNummerplade, højst 7 tegn.
electricConsumptionNoElforbrug i kilometer pr. kWh.
internalVehicleNumberNoForhandlerens eget nummer på bilen.
mileageWarrantyIncludedNotrue, når forhandleren garanterer kilometertallet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With destructiveHint=true and idempotentHint=false already declared, the description still adds substantial value: it discloses full-replacement semantics ('Bilinfo sætter bilen til præcis det, der sendes'), that a correction must resend the whole car rather than a delta, that changes take effect immediately, and that Internal visibility pulls the ad from Bilbasen/DBA. It slightly overstates the replacement rule — the schema notes vehicleStatus is retained when omitted — but does not contradict the annotations. Auth/permission requirements and failure behavior are not covered.

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?

The description is front-loaded with purpose, then layers the critical replace-not-merge caveat, then parameter provenance, then the visibility side effect, then the hard exclusion — a sensible order for a 50-parameter tool. It stays short overall, though the visibility Internal/External explanation largely repeats the enum description in the schema and could be trimmed.

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 destructive, open-world mutation with 50 parameters and no output schema, the description covers the highest-risk facts an agent needs: whole-object semantics, the Immediate visibility consequence for external listings, image addresses must already exist in Bilinfo, and the tool cannot touch cars created natively in Bilinfo. Gaps remain around permissions, error handling, and how conditional required fields (registrationDate, co2Emission) behave, but those are documented in the schema.

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 coverage is 100% across 50 parameters, so the baseline of 3 applies. The description does add real meaning for the ID-type parameters (variantId from the model catalog, colorId/upholsteryId/extraEquipmentId from the options list) and reinforces carId reuse, but for the bulk of the fields (leasing sub-object, prices, dates) it adds nothing the schema does not already explain in detail.

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?

The first sentence gives specific verbs (creates / corrects) and a concrete resource (a car at the dealer in Bilinfo, syndicated to Bilbasen and DBA), plus the field scope (price, mileage, description, equipment, images, status, visibility). It also disambiguates the two modes via 'forbindelsen har oprettet', so an agent knows create-vs-update is determined by provenance, not by a separate tool.

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 actionable guidance: reuse the same carId when correcting, look up variantId in the model catalog and color/upholstery/equipment in the options list, and an explicit exclusion ('a car created directly in Bilinfo cannot be edited from here'). What is missing is naming the alternatives — bilinfo_find_model and bilinfo_list_car_options are only alluded to as 'modelkataloget' and 'listen over valgmuligheder', and the overlap with bilinfo_mark_car_sold (this tool can also set status Sold) is never addressed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.