Skip to main content
Glama

Find duplicate contacts

find_duplicates

Finds the records of a list that refer to the same person or organisation at the same address, even when written differently (abbreviated street, typos, swapped first and last name), and returns the groups with a level (certain, probable, ambiguous), the reason and the merged record. With reference it matches a list against another. Up to 200 records per call in total. Each record uses one deduplication processing from the account (the monthly free ones first).

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": {
      "records": "<records>"
    },
    "name": "find_duplicates"
  }
}

Input Schema

NameRequiredDescriptionDefault
recordsYesThe records to compare. Give each an `id` to recognise it in the groups.
languageNoLanguage of labels and messages in the result. Field names are always English. Default: the language of the account.
min_levelNoprobable
precisionNoHow far the surname comparison stretches: 4 also with or without a space, 5 also surnames that sound alike (groups found this way are at most ambiguous).
referenceNoOptional second list: each record of `records` is matched against these.
default_countryNoCountry of the items that do not state their own (ISO 3166-1 alpha-2 code, e.g. "DE", or name). Without it they are Italian.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations, the description discloses billing behavior ('Each record uses one deduplication processing from the account (the monthly free ones first)'), the hard 200-record cap, and the shape of the result (groups with level, reason, and merged record). It also explains a non-obvious behavioral coupling: matches found via sound-alike surnames are capped at 'ambiguous'. Nothing here contradicts readOnlyHint=false and idempotentHint=false, since the call consumes quota.

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 core capability is front-loaded in the first sentence, followed by mode, limits, and cost — a sensible priority order. The first sentence is dense with stacked parentheticals, but every sentence carries information an agent needs before calling.

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?

With no output schema, the description takes on return-value duty and does so reasonably: groups, level, reason, merged record. Cost model and input cap are covered. Remaining gaps are minor — how `min_level` filters results and what happens on over-limit or malformed input are not addressed.

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 description coverage is high (83%), so the schema carries most parameter meaning. The description adds value for `reference` (list-vs-list matching) and restates the 200-item limit, but it never explains `min_level` as a result filter, and the notable default that `default_country` is Italian when omitted appears only in 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?

The description uses a precise verb and resource ('finds the records of a list that refer to the same person or organisation at the same address') and spells out the fuzzy dimensions (abbreviated street, typos, swapped first/last name). It clearly reads as a deduplication tool, implicitly separating it from the check_*/verify_contacts siblings, but it never names an alternative explicitly.

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?

It gives clear context for both operating modes: standalone deduplication of a list, and list-vs-list matching 'With `reference`'. It also flags the practical constraint of 200 records and the processing credit cost. What is missing is any exclusion guidance — e.g. when to use verify_contacts or check_emails instead of deduplication.

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.

Resources