Skip to main content
Glama
agentreadycrm

agentreadycrm

Official

Import Contacts

import_contacts
Idempotent

Bulk find or create up to 500 contacts from a list, matching existing records and creating missing ones while reporting skipped rows.

Instructions

Find or create many contacts in one call, from a list loaded from a file or another source.

Call it for a list of more than a few people; for one, use find_or_create_contact. Each row is matched and filled the way that tool does it, so importing the same list again saves nothing new. A row's organization_domain names its organization, which is found or created. A row that fails is skipped and reported with its reason and index; every other row is saved. A matched row whose value differs from the one held is reported under kept. At most 500 rows per call; split a longer list.

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": {
      "rows": "<rows>"
    },
    "name": "import_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYesUp to 500 people, one object per row. A row needs a name, an email, or an external reference a record here holds. Values are text; an empty string counts as absent.
sourceNoWhere the list came from, recorded on each contact and organization it creates (default "import").import
fields_byNoWho is setting the rows' custom fields: an agent, a run, or a person.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) by describing per-row failure isolation ('A row that fails is skipped and reported with its reason and index; every other row is saved') and how conflicting matched values surface under 'kept'. It also discloses a side effect the annotations do not: rows naming an organization_domain cause organizations to be found or created.

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?

Front-loads what the tool does, then the sibling alternative, then per-row semantics and finally the hard limit. Eight sentences for a batch mutation tool with no filler; each clause conveys a distinct fact.

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?

Output schema exists, so return shape need not be spelled out, and annotations cover safety and idempotency. What remains — partial-failure behavior, org side effects, and the 500-row ceiling — is exactly what the description supplies, leaving no gap an agent needs before calling.

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 100%, so the schema already documents rows, source, and fields_by in detail. The description adds only marginal meaning, mostly restating that organization_domain is 'found or created' and how rows are matched, which the schema already conveys. Baseline 3 is appropriate when structured data carries the parameter burden.

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 pair and resource ('Find or create many contacts in one call') plus the input shape ('a list loaded from a file or another source'), so the batch nature is unmistakable. It explicitly contrasts with the sibling find_or_create_contact, letting an agent choose without opening either schema.

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?

Gives a concrete selection rule: use this for 'more than a few people', use find_or_create_contact for one. It also states the operational boundary ('At most 500 rows per call; split a longer list') and warns that re-importing the same list saves nothing new.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.