Skip to main content
Glama

import_brevo_contacts

Destructive

Bulk import contacts into Brevo (POST /contacts/import). Required: one of jsonBody (array of { email, attributes }), fileBody (CSV text with header) or fileUrl. Optional: listIds, updateExistingContacts (default true), emptyContactsAttributes, notifyUrl, newList ({ listName, folderId }). Returns a process id (get_brevo_process).

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": "import_brevo_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileUrlNoURL of a file with the contacts to import
listIdsNoList of IDs (list)
newListNoCreate a new list for the imported contacts: { listName, folderId }
fileBodyNoContacts to import as CSV text with header row
jsonBodyNoContacts to import as [{ email, attributes }]
notifyUrlNoURL notified when the import has finished
updateExistingContactsNoUpdate contacts that already exist (default true)
emptyContactsAttributesNoClear existing attributes that are empty in the import

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / emptyContactsAttributes / description
      Added value: +"Clear existing attributes that are empty in the import"
    • addedInput schema / properties / fileBody / description
      Added value: +"Contacts to import as CSV text with header row"
    • addedInput schema / properties / fileUrl / description
      Added value: +"URL of a file with the contacts to import"
    • addedInput schema / properties / jsonBody / description
      Added value: +"Contacts to import as [{ email, attributes }]"
    • addedInput schema / properties / listIds / description
      Added value: +"List of IDs (list)"
    • addedInput schema / properties / newList / description
      Added value: +"Create a new list for the imported contacts: { listName, folderId }"
    • addedInput schema / properties / notifyUrl / description
      Added value: +"URL notified when the import has finished"
    • addedInput schema / properties / updateExistingContacts / description
      Added value: +"Update contacts that already exist (default true)"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavior: the operation is asynchronous and returns a process id to be polled via get_brevo_process, which no annotation conveys. It does not spell out that updateExistingContacts=true overwrites existing records, leaving the main destructive consequence implicit.

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?

Single front-loaded paragraph: endpoint, required inputs, optional inputs, then return/follow-up. No filler sentences, and the highest-value constraint (one of three input modes) comes first.

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 8-parameter async mutation with no output schema, it covers input modes, key defaults, the async process-id return, and the polling follow-up tool. Missing only failure behavior and an explicit warning that updateExistingContacts can overwrite existing contact attributes.

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; the description exceeds it by supplying the one-of constraint across jsonBody/fileBody/fileUrl, a constraint the schema cannot express since all 8 parameters are optional. It also restates the shapes of the nested newList and jsonBody values, which the schema already documents.

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 ('Bulk import contacts into Brevo') plus the underlying endpoint POST /contacts/import. The word 'bulk' implicitly separates it from the single-record create_brevo_contact sibling, and the accepted input forms are named immediately.

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?

Makes the selection condition among input modes explicit ('one of jsonBody, fileBody or fileUrl'), which is real routing guidance, and tells the agent where to go after the call ('Returns a process id (get_brevo_process)'). It never states when to prefer create_brevo_contact or add_brevo_contacts_to_list instead, so the alternative-selection guidance is incomplete.

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.