Skip to main content
Glama

single_enrichment_tool

Destructive

Enriches a single contact by LinkedIn URL or by name plus company, querying a waterfall of data providers (Fuse, Apollo, Hunter, ContactOut, Datagma, and others). You MUST pass enrichType: email, phone, or all based on what the user asked for. It costs credits when it finds a new deliverable email or valid phone number (values the given contact already holds are not charged) and nothing when it finds none. Pass the identifiers nested under input: { url } for a LinkedIn URL, or a name (name, or firstName + lastName) with the company as input.domain (its website domain) or input.company (its name); to enrich an EXISTING saved contact, also pass its id as input.contactId. Returns emails, phones, primaryEmail, primaryPhone, and a profile object with fullName, firstName, lastName, jobTitle, company, companyDomain, industry, city, state, country, and linkedinUrl whenever profile data is available (null when not). It also saves the result to the user's contacts, which their team shares: without input.contactId the person is saved as a contact even when no email or phone is found (a saved contact with the same LinkedIn profile is updated instead). The emails and phones found are merged into the contact, which can change a re-found address's status and the primary email and drop stored work emails at a past employer's domain, and when a provider returns the person's profile, the contact's name, LinkedIn URL, job title, company and location are overwritten with it. When the enriched contact is on a list that an active dynamic campaign uses, an email or LinkedIn URL it gains can get the person enrolled in that campaign at its next refresh (every 30 minutes) and then sent its outreach. Adding the person to a list is a separate write; when doing that afterwards, carry ALL returned profile fields over (do not drop jobTitle/company/city/country). Optional inputs: input.customContactId is an older name for input.contactId (send one, not both); input.location is the person's location, used to help match them by name; extendedEnrich true keeps asking providers after the first one that finds a value and skips results cached from earlier lookups; resumeAfterApiUsed (enrichType email or phone, without extendedEnrich) takes the apiUsed of a returned email or phone and continues with the providers after it until one finds a new value; both are charged by the credit rule above. listId names the list the lookup was started from and only updates that list's last-activity time, without adding the person to the list; source, used only without input.contactId, records how the saved person was acquired as one of FuseAI's source labels (such as agents) and never replaces a label already set.

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": {
      "input": "<input>",
      "enrichType": "<enrichType>"
    },
    "name": "single_enrichment_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
listIdNo
sourceNo
enrichTypeYesThe type of enrichment to perform. Default to "email" — only pass "phone" or "all" when the user explicitly asked for phone numbers (phone enrichment costs several times more credits per contact).
extendedEnrichNo
resumeAfterApiUsedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only flag destructive=true and openWorldHint=true; the description goes far beyond by disclosing the credit model (charged only for new deliverable email or valid phone, never for values already held), the automatic save-to-contacts behavior, and the field-level merge semantics including dropping stored work emails at a past employer's domain and overwriting name/title/company/location from provider profile data. It even surfaces a downstream side effect the annotations cannot express: enrollment into an active dynamic campaign at the 30-minute refresh.

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?

Purpose, required enrichType, and cost model are front-loaded, and nearly every clause carries operational weight. It is still a dense single paragraph with several chained parentheticals (campaign enrollment, merge semantics, optional-input rules) that could be split into labeled sections for faster scanning.

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 complex, destructive, credit-consuming tool with no output schema, the description covers return shape (emails, phones, primaryEmail, primaryPhone, profile fields with null behavior), side effects, and cost. An agent has enough to invoke it correctly and warn the user about the write and campaign consequences.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17%, so the description carries the burden and does: url, name/firstName+lastName, domain vs company, contactId, customContactId, location, listId, source, extendedEnrich, and resumeAfterApiUsed are each given meaning, precedence rules, and charge implications. The resumeAfterApiUsed explanation ('takes the apiUsed of a returned email or phone') is the kind of semantics a schema alone could never convey.

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?

The opening sentence gives a specific verb and resource ('Enriches a single contact') plus the two accepted identifier modes (LinkedIn URL, or name plus company) and the provider waterfall. 'Single' implicitly distinguishes it from the bulk_enrichment_tool sibling without needing to open 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?

It gives explicit routing rules and exclusions: enrichType must reflect what the user asked for, extendedEnrich and resumeAfterApiUsed are mutually conditioned ('enrichType email or phone, without extendedEnrich'), customContactId and contactId are 'send one, not both', and source is 'used only without input.contactId'. It also tells the agent to enrich an existing saved contact by passing its id, which is the key branch point for this tool.

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.