Skip to main content
Glama

import_organisations

Destructive

Import company records into accounts WITH validation, duplicate matching, provenance and a log. PREVIEW BY DEFAULT: nothing is written unless commit=true — a batch import is the change where one mistake hits two hundred rows, not one. Preview and real run take the same path and produce the same log, so what you review is what will happen. Duplicates are matched on register number + court, then VAT id, then normalised name — and a NAME match never merges by itself: same-named companies in different towns are common, and un-merging two companies afterwards is hand work across every record. An existing, non-empty field is never overwritten silently; it is reported as a difference. Bad rows do not stop the run, they land in the log with a reason. Accepts rows (array) or csv (text with a header line).

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_organisations"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvNoAlternative to rows: CSV with a header line. Separator ; or ,
rowsNoCompany records: name (required), legal_form, register_number, register_court, vat_id, address, postal_code, city, country, website, representatives[].
commitNotrue actually writes. Default false = preview.
sourceNoWhere this came from — appears in the log and in each field's provenance. E.g. 'handelsregister', 'csv:kundenliste-2026'.
merge_suggestionsNotrue also merges UNCERTAIN (name-only) matches. Off by default, and think twice: that is the setting that merges two different companies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, idempotentHint=false) by explaining the preview/commit split, that both paths are identical so the review is trustworthy, the exact duplicate-matching precedence, that name-only matches never auto-merge, that non-empty fields are never silently overwritten, and that bad rows are logged rather than fatal. This is exactly the safety and side-effect context an agent needs before a destructive batch write.

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 resource and the preview-by-default safeguard, then layers detail in a logical order. The 'one mistake hits two hundred rows, not one' framing is persuasive rather than strictly informational, but it does convey risk efficiently; the whole thing is dense with little true filler.

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, commit-gated import with no output schema, the description covers inputs, dedup behavior, failure handling and safety posture thoroughly. The one gap is where the produced log actually lives — a sibling list_import_runs exists but the description never points an agent to it, nor describes the log's shape.

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 already 100%, so the baseline is 3; the description adds real meaning on top by explaining the rows-vs-csv alternative and the risk model behind merge_suggestions ('the setting that merges two different companies') and the dedup keys used to interpret rows fields. Source and commit semantics are largely left to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Import company records into accounts') plus the accompanying machinery (validation, duplicate matching, provenance, log). It never names or contrasts with sibling importers such as import_leads or import_brevo_contacts, so an agent must infer the boundary from the resource alone.

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 clear operating context: preview is the default and nothing is written unless commit=true, and it explicitly warns to think twice before enabling merge_suggestions. It does not say when to pick this over other import tools in the catalog, so the guidance is strong on how but silent on versus-what.

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.