Skip to main content
Glama

start_duplicate_contacts_scan

Start a background scan of the team's saved contacts (every contact in the lists the user can see) for duplicates, matching on matchFields: any of linkedinUrl, email, phone, fullName, jobTitle, location, industry, companyName and companyDomain. Pick at least one of linkedinUrl, email or phone, or at least three of the others; weaker picks group unrelated people and are refused. Answers { data: { jobId } } at once; the duplicate groups and totals are stored on that job once the scan completes. Starting the same scan while one is still running answers the running job.

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": {
      "matchFields": "<matchFields>"
    },
    "name": "start_duplicate_contacts_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
matchFieldsYesFields two contacts must share to count as duplicates. Include at least one of linkedinUrl, email or phone, or at least three of the other fields.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare it is a non-read, non-destructive, closed-world mutation. The description goes well beyond that: it is asynchronous, returns '{ data: { jobId } }' immediately, results land on the job only after completion, the scan is scoped to lists the user can see, and a duplicate concurrent start answers the already-running job rather than erroring.

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-loaded with what it does, followed by the field-validity rule, the return shape, and the concurrency rule — no filler sentences. It is dense and slightly run-on in the middle clause, but each sentence carries distinct information.

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 one-parameter async tool with no output schema, the description covers everything needed: scope of contacts, valid field combinations, immediate return value, where the results eventually live, and the concurrency behavior. Nothing an agent needs in order to call it correctly is missing or deferred to a schema that lacks an output definition.

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% and the enum already lists the nine allowed fields with the same minimum-pick rule, so the baseline is 3. The description adds the rationale — weaker field combinations 'group unrelated people and are refused' — which tells the agent why a rejected call fails and how to correct it, plus the matching semantics ('Fields two contacts must share').

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?

Specific verb plus resource plus scope: 'Start a background scan of the team's saved contacts (every contact in the lists the user can see) for duplicates, matching on matchFields.' It makes clear this is the initiation half of an async job, so an agent can separate it from a retrieval tool, though it never names the sibling (get_duplicate_contacts_job) that fetches results.

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?

Strong on parameter selection: it states the minimum viable pick ('at least one of linkedinUrl, email or phone, or at least three of the others') and warns that weaker picks 'group unrelated people and are refused.' It also discloses the idempotency rule for concurrent identical scans. What it does not do is explicitly say when to call this versus re-fetching an existing job, leaving the polling handoff implicit.

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.