Skip to main content
Glama
boondmanager-mcp-server

boondmanager-mcp-server

by silamir

Créer un(e) bon de commande

boond_orders_create

Creates a new purchase order in BoondManager for records not already present; search first to avoid duplicates, since repeated calls create separate entries.

Instructions

Crée un(e) bon de commande dans BoondManager.

Quand : pour ajouter un(e) bon de commande inexistant(e). Plutôt que : boond_orders_update pour modifier un enregistrement existant, et boond_orders_search d'abord pour vérifier qu'il n'existe pas déjà.

  • Écriture réelle et non idempotente : deux appels identiques créent deux enregistrements (l'API ne déduplique pas).

  • Les ID de relations et les états/types sont des ID numériques BoondManager, à résoudre au préalable (recherches d'entités, boond://dictionary/*).

  • deliveriesPurchases (prestations / achats corrélés, { type: "delivery" | "purchase", id }) est supposé remplacer toute la liste, comme toute relation JSON:API multiple : relire d'abord avec boond_orders_get (section « Prestations / achats corrélés »), fusionner, puis renvoyer la liste complète. Omettre le champ n'envoie rien.

  • Boond peut recalculer les dates de la commande à partir des prestations corrélées (début avancé si une prestation commence plus tôt) : relire la commande après écriture et vérifier startDate / endDate.

  • Écriture de deliveriesPurchases non vérifiée : nom et forme tirés de la doc RAML (relationships.deliveriesPurchases), jamais exercés sur un bac à sable ; le remplacement de la liste et l'effet de [] (décorréler tout ?) sont des suppositions. Relire la commande après écriture.

Returns : confirmation, ID créé, et la fiche complète. structuredContent.id est réutilisable directement pour chaîner un appel.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "boond_orders_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoNotes / commentaires
stateNoÉtat du bon de commande : ID de `boond://dictionary/states/orders`
endDateNoDate de fin couverte (YYYY-MM-DD)
companyIdNoID de la société
orderDateNoDate du bon de commande (YYYY-MM-DD)
projectIdNoID du projet associé
referenceNoRéférence du bon de commande
schedulesNoLignes/échéances de commande
startDateNoDate de début couverte (YYYY-MM-DD)
customerAgreementNoAccord client reçu
amountExcludingTaxNoMontant HT
deliveriesPurchasesNoPrestations / achats corrélés au bon de commande. Supposé remplacer toute la liste existante (non vérifié) : relire `boond_orders_get`, fusionner, renvoyer la liste complète.

Output Schema

NameRequiredDescriptionDefault
idNoIdentifiant de l'entité créée/modifiée
typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.22.0
    • addedInput schema / properties / deliveriesPurchases
      Added value: +{
      +  "description": "Prestations / achats corrélés au bon de commande. Supposé remplacer toute la liste existante (non vérifié) : relire `boond_orders_get`, fusionner, renvoyer la liste complète.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "description": "ID numérique de la prestation ou de l'achat.",
      +        "pattern": "^\\d+$",
      +        "type": "string"
      +      },
      +      "type": {
      +        "description": "`delivery` (prestation, MIS<id>) ou `purchase` (achat, ACH<id>).",
      +        "enum": [
      +          "delivery",
      +          "purchase"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed3 schema fields changedv2.17.0
    • addedInput schema / properties / companyId / pattern
      Added value: +"^\\d+$"
    • addedInput schema / properties / projectId / pattern
      Added value: +"^\\d+$"
    • changedInput schema / properties / state / description
      Previous value: -"État du bon de commande"New value: +"État du bon de commande : ID de `boond://dictionary/states/orders`"
  3. Changed2 schema fields changedv2.12.2
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  4. Changed4 schema fields changedv2.8.0
    • addedInput schema / properties / customerAgreement
      Added value: +{
      +  "description": "Accord client reçu",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / endDate
      Added value: +{
      +  "description": "Date de fin couverte (YYYY-MM-DD)",
      +  "type": "string"
      +}
    • addedInput schema / properties / schedules
      Added value: +{
      +  "description": "Lignes/échéances de commande",
      +  "items": {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / startDate
      Added value: +{
      +  "description": "Date de début couverte (YYYY-MM-DD)",
      +  "type": "string"
      +}
  5. Changed1 schema field changedv2.7.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "id": {
      +      "description": "Identifiant de l'entité créée/modifiée",
      +      "type": "string"
      +    },
      +    "type": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  6. First observedv2.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false and idempotentHint=false, but the description adds genuine operational context beyond them: two identical calls create two records because the API does not deduplicate, deliveriesPurchases replaces the entire relationship list (omit the field and nothing is sent), Boond may recompute startDate/endDate from correlated deliveries, and the deliveriesPurchases write shape is explicitly unverified. Nothing here contradicts the annotations; it extends them materially.

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?

Structure is strong and front-loaded: purpose, then when, then alternatives, then behavioral caveats. It is dense with useful detail rather than padding, though the instruction to re-read the order after writing appears twice and the unverified-write caveat is restated, which trims a point.

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?

For a 12-parameter, non-idempotent mutation with zero required fields, this covers what an agent needs: creation semantics, prerequisite ID resolution, the tricky list-replacement field, post-write verification, and a pointer to structuredContent.id for chaining. The output schema exists, so return-value explanation is correctly kept to a single sentence.

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 meaning the schema alone does not convey: state and related IDs must be resolved to numeric BoondManager IDs via entity searches or boond://dictionary/*, and omitting deliveriesPurchases sends nothing rather than clearing it. The read-merge-resend workflow is partly duplicated from the schema field text, which slightly caps the score.

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 description opens with a specific verb and resource ("Crée un(e) bon de commande dans BoondManager") and immediately frames the scope as creating a non-existent order. It explicitly contrasts itself with boond_orders_update (modify) and boond_orders_search (check existence), so an agent can separate it from siblings without reading 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 Guidelines5/5

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

Guidance is explicit on all three axes: when to use ("pour ajouter un(e) bon de commande inexistant(e)"), when not to (use update for existing records), and a recommended prerequisite (search first to confirm no duplicate). Prerequisite ID resolution and dictionary lookups are also called out as preconditions before invoking.

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

Deploy Server

Other Tools