Skip to main content
Glama
boondmanager-mcp-server

boondmanager-mcp-server

by silamir

Téléverser un document

boond_documents_create

Attach one document to a BoondManager entity via URL, local file, upload slot, or small base64 payload; validate file type and optionally trigger CV parsing.

Instructions

Attache un document à une entité BoondManager. Exactement une source par appel :

  • fileUrl : URL https que BoondManager télécharge lui-même ;

  • filePath : chemin absolu d'un fichier local, lu par le serveur MCP — transport stdio uniquement, sous un répertoire de BOOND_MCP_UPLOAD_DIRS (désactivé par défaut) ;

  • uploadSlot : fichier déposé sur un slot de boond_documents_upload_slot — la voie pour une pièce jointe de conversation ;

  • fileContent (base64) + fileName : petit fichier inline, 2 Mo max, réservé à un appelant qui détient déjà les octets exacts (un modèle ne retranscrit pas fiablement une pièce jointe en base64).

Quand : pour attacher un fichier à une entité : URL publique, fichier local (si l'opérateur l'a autorisé), slot du relais d'upload ou petit fichier en base64. Plutôt que : aucune alternative : c'est le seul outil d'écriture de documents. Si filePath est refusé (transport HTTP ou BOOND_MCP_UPLOAD_DIRS non défini), passer par fileUrl ou, sous 2 Mo, par fileContent.

Le format est vérifié sur les premiers octets du fichier (PDF, Office, ODF, RTF, images), pas sur l'extension. Cas d'usage typiques : CV d'un candidat (parentType=candidateResume, parsing=true pour l'analyse IA Boond), pièce jointe d'un besoin / AO (opportunity), justificatif de note de frais (expensesReport), facture fournisseur (providerinvoice, tout en minuscules).

parentType : la casse compte pour l'API (providerinvoice, pas providerInvoice). Un type documenté écrit avec une autre casse est ramené à sa graphie exacte avant tout envoi, et la réponse le signale ; un autre type est transmis tel quel et l'API refuse un type inconnu sans rien écrire (la réponse liste alors les types documentés).

Returns: Métadonnées du document créé (ID).

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": {
      "parentType": "<parentType>",
      "parentId": "<parentId>"
    },
    "name": "boond_documents_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileUrlNoURL (https) du fichier à téléverser — BoondManager télécharge le fichier depuis cette URL.
parsingNoLancer le parsing IA du CV après upload (uniquement pour parentType=candidateResume).
fileNameNoNom du fichier avec son extension (ex. cv.pdf), requis avec fileContent.
filePathNoChemin absolu d'un fichier local, lu par le serveur MCP (transport stdio uniquement, sous un répertoire de BOOND_MCP_UPLOAD_DIRS).
parentIdYesID de l'entité parente
parentTypeYesType d'entité parente, graphie exacte de l'API (la casse compte) : `action` (action), `resourceResume` (CV de ressource), `candidateResume` (CV de candidat), `resource` (dossier administratif de ressource), `candidate` (dossier administratif de candidat), `expensesReport` (justificatif de note de frais), `timesReport` (justificatif de CRA), `absencesReport` (justificatif de demande d'absence), `payment` (justificatif de paiement), `company` (société), `project` (projet), `order` (bon de commande), `product` (produit), `purchase` (achat), `delivery` (prestation), `groupment` (regroupement), `inactivity` (inactivité), `positioning` (positionnement), `followeddocument` (document suivi), `appentity` (entité d'application), `contract` (contrat), `invoice` (facture client), `providerinvoice` (facture fournisseur), `opportunity` (besoin / AO). Un type hors de cette liste est transmis tel quel ; l'API le valide et refuse un type inconnu.
uploadSlotNoIdentifiant d'un slot créé par boond_documents_upload_slot, une fois le fichier déposé.
fileContentNoContenu du fichier en base64 (préfixe data: URI accepté), petits fichiers uniquement. Exige fileName.

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
    • changedInput schema / properties / parentType / description
      Previous value: -"Type d'entité parente, tel que l'attend l'API BoondManager. Notables : 'candidateResume' (CV de candidat), 'resourceResume' (CV de ressource), 'candidate'/'resource' (dossier administratif), 'opportunity' (besoin / AO), 'positioning', 'company', 'project', 'order', 'invoice', 'action'... Un type hors de cette liste est transmis tel quel ; l'API le valide et refuse un type inconnu."New value: +"Type d'entité parente, graphie exacte de l'API (la casse compte) : `action` (action), `resourceResume` (CV de ressource), `candidateResume` (CV de candidat), `resource` (dossier administratif de ressource), `candidate` (dossier administratif de candidat), `expensesReport` (justificatif de note de frais), `timesReport` (justificatif de CRA), `absencesReport` (justificatif de demande d'absence), `payment` (justificatif de paiement), `company` (société), `project` (projet), `order` (bon de commande), `product` (produit), `purchase` (achat), `delivery` (prestation), `groupment` (regroupement), `inactivity` (inactivité), `positioning` (positionnement), `followeddocument` (document suivi), `appentity` (entité d'application), `contract` (contrat), `invoice` (facture client), `providerinvoice` (facture fournisseur), `opportunity` (besoin / AO). Un type hors de cette liste est transmis tel quel ; l'API le valide et refuse un type inconnu."
  2. Changed3 schema fields changedv2.19.2
    • changedInput schema / properties / parentType / description
      Previous value: -"Type d'entité parente. Notables : 'candidateResume' (CV de candidat), 'resourceResume' (CV de ressource), 'candidate'/'resource' (dossier administratif), 'company', 'project', 'invoice'..."New value: +"Type d'entité parente, tel que l'attend l'API BoondManager. Notables : 'candidateResume' (CV de candidat), 'resourceResume' (CV de ressource), 'candidate'/'resource' (dossier administratif), 'opportunity' (besoin / AO), 'positioning', 'company', 'project', 'order', 'invoice', 'action'... Un type hors de cette liste est transmis tel quel ; l'API le valide et refuse un type inconnu."
    • removedInput schema / properties / parentType / enum
      Removed value: -[
      -  "action",
      -  "resourceResume",
      -  "candidateResume",
      -  "resource",
      -  "candidate",
      -  "expensesReport",
      -  "timesReport",
      -  "absencesReport",
      -  "payment",
      -  "company",
      -  "project",
      -  "order",
      -  "product",
      -  "purchase",
      -  "delivery",
      -  "groupment",
      -  "inactivity",
      -  "positioning",
      -  "followeddocument",
      -  "appentity",
      -  "contract",
      -  "invoice",
      -  "providerinvoice"
      -]
    • addedInput schema / properties / parentType / pattern
      Added value: +"^[A-Za-z][A-Za-z0-9]{0,63}$"
  3. Changed1 schema field changedv2.19.0
    • addedInput schema / properties / uploadSlot
      Added value: +{
      +  "description": "Identifiant d'un slot créé par boond_documents_upload_slot, une fois le fichier déposé.",
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
  4. Changed4 schema fields changedv2.18.0
    • addedInput schema / properties / fileContent
      Added value: +{
      +  "description": "Contenu du fichier en base64 (préfixe data: URI accepté), petits fichiers uniquement. Exige fileName.",
      +  "maxLength": 2796460,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / fileName
      Added value: +{
      +  "description": "Nom du fichier avec son extension (ex. cv.pdf), requis avec fileContent.",
      +  "maxLength": 255,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / filePath
      Added value: +{
      +  "description": "Chemin absolu d'un fichier local, lu par le serveur MCP (transport stdio uniquement, sous un répertoire de BOOND_MCP_UPLOAD_DIRS).",
      +  "maxLength": 4096,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "parentType",
      -  "parentId",
      -  "fileUrl"
      -]New value: +[
      +  "parentType",
      +  "parentId"
      +]
  5. 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#"
  6. Addedv2.7.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false): it discloses magic-byte format validation rather than extension checks, transport restrictions for filePath (stdio only, BOOND_MCP_UPLOAD_DIRS allowlist, disabled by default), 2 MB base64 cap, and failure semantics — an unknown parentType is rejected by the API 'sans rien écrire' and documented types in wrong casing are normalized with the response signaling it.

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-loads the one-source-per-call rule, then bullet-lists the four input modes and closes with the casing caveat; the structure is scannable and largely earns its length. Minor redundancy: the parentType casing/exactness point is restated in both the body and the schema, and the aside about models being unreliable at base64 is chatty.

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 write tool with 8 parameters, an output schema, and rich annotations, the description covers selection rules, input-mode constraints, validation behavior, error outcomes, and typical parentType pairings. Nothing an agent needs to call it correctly is missing.

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 a cross-parameter constraint the schema cannot express: 'Exactement une source par appel' across fileUrl/filePath/uploadSlot/fileContent. It also clarifies behavior the schema only hints at (documented parentType in wrong case is normalized and reported; unknown types are passed through and rejected). Reserved for 5 is a gap: it does not explain how parsing interacts with non-CV types beyond the schema note.

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?

Opens with a specific verb+resource: 'Attache un document à une entité BoondManager.' It immediately distinguishes itself from siblings by declaring 'c'est le seul outil d'écriture de documents' and by positioning boond_documents_upload_slot as a prerequisite in one of four input paths, so the agent can differentiate without reading schemas.

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?

Explicit 'Quand :' section lists the concrete attachment scenarios, and 'Plutôt que :' states there is no alternative plus the fallback ordering when filePath is rejected (fileUrl, or fileContent under 2 MB). Typical use cases with the exact parentType to use (candidateResume with parsing, opportunity, expensesReport, providerinvoice) further route selection.

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