Skip to main content
Glama

TextKit

Import contacts

import_contacts
Destructive

Create or update up to 500 contacts per call, matched by phone_number. Attributes go in fields (up to 20 strings, e.g. plan) for segments and {{field:name}} merge tags; tags group contacts. opt_in carries consent evidence (status: false records an opt-out). import_id from the first response groups several calls; dry_run: true returns what would change and writes nothing.

Input Schema

NameRequiredDescriptionDefault
nameNoA label for the import (first request only).
dry_runNo
contactsYes
import_idNoFrom a previous response, to group several requests as one import.
campaign_idNoApplies to every opt_in row that does not name its own campaign_id
check_line_typesNodry_run only. Looks up line types to count landlines; live lookups are paid, so only the first 500 numbers are checked.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description adds genuinely new behavior: upsert matching on phone_number, dry_run writes nothing, and the important consent rule that status=false records an opt-out and never lifts one. It stops short of stating what happens on partial failure or row skips (only the schema's campaign_id note mentions skipped rows), so it is strong but not complete.

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?

Four dense sentences with zero filler: purpose and limits first, then the fields/tags semantics, then consent behavior, then the import_id/dry_run mechanics. Nothing is repeated from the schema verbatim and each sentence carries new information.

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 6-parameter, 500-row mutation with no output schema, the description covers the critical points: matching, batching, consent semantics, dry-run, and cross-call grouping. What is missing is minor — no description of the response shape beyond the hint that it returns an import_id, and no mention of what happens to invalid or skipped rows.

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 67%, and the description compensates for the highest-value gaps by explaining what fields and tags do downstream (segments, {{field:name}} merge tags) and how opt_in behaves, which the schema alone does not convey. It leaves name, campaign_id, and check_line_types unaddressed in prose, so the compensation is partial rather than complete.

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 opening clause gives a specific verb pair and resource ('Create or update ... contacts'), plus scale ('up to 500 per call') and matching key ('matched by phone_number'), which implicitly separates it from single-record tools like upsert_contact. However, it never names a sibling such as upsert_contact, bulk_update_contacts, or plan_import, so the differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains mechanics (dry_run writes nothing, import_id groups calls) but never states when to use this over alternatives — notably plan_import, which is a likely pre-flight sibling, or upsert_contact/bulk_update_contacts for non-import paths. Usage must be inferred from the batching and import framing rather than being spelled out.

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