Skip to main content
Glama

Enrich a contact (spends credits)

enrich_contact
Idempotent

Returns the full record for one known person, matched by email or by name with a company name, number or domain. It spends 1 credit only on a confident match, and 0 on no match or when you already hold the record under licence, so a repeat never charges twice. Like create_order it needs the user's confirmation (a form, or the confirmation_token from an approval_url) or an agent key whose allowed_tools include enrich_contact within its per-order cap and monthly budget; otherwise nothing is charged and it returns confirmation-required or agent-budget-exceeded. It needs enrich:write; use it for a single named person, and the result gives credits_charged and the balance left. Lawful basis is UK GDPR Article 6(1)(f) legitimate interests; email audiences include corporate subscribers only by default (PECR), so sole traders and ordinary partnerships are left out unless the toggle is changed.

Input Schema

NameRequiredDescriptionDefault
emailNo
domainNo
last_nameNo
first_nameNo
company_nameNo
company_numberNoEight characters in upper case, such as 05046417 or SC123456.
confirmation_tokenNoThe token the approval page on mydatahub.emailmovers.com returns once the signed-in person approves. It is bound to that person (their sub), this spend (the machine quote_id, or the enrichment or push) and an expiry no later than the quote's, and it is redeemable once.

Output Schema

NameRequiredDescriptionDefault
recordYes
matchedYes
cost_gbpYesThe value of the credits charged, in GBP, plus VAT (VAT is not included in this figure; it is paid when credits are bought). Credits bought by card count at what their purchase cost, and card-bought credits are used oldest first; free trial credits count at 0; any other credits at your plan's rate (a new customer's rate on the free plan).
credits_chargedYes1 on a confident match, otherwise 0.
already_licensedYesTrue when you already hold the record, so it costs 0.
match_confidenceYes
credits_remainingYesCredits, to one decimal place: whole at 1 credit a record, fractional only where a rule is (0.1 company-only, 1.8 outright, both proposed).
licence_expires_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / $defs / ComplianceObject / examples
      Previous value: -[
      -  {
      -    "article14_notified_at": "2026-06-14",
      -    "article14_status": "notified",
      -    "attribution": "Contains public sector information licensed under the Open Government Licence v3.0",
      -    "corporate_subscriber": true,
      -    "email_marketing_basis": "pecr_corporate_subscriber",
      -    "lawful_basis": "legitimate_interests_art6_1_f",
      -    "lia_ref": "EM-LIA-2026-03",
      -    "notice_version": "2026-02",
      -    "provenance": {
      -      "company": {
      -        "as_of": "2026-09-21",
      -        "source": "companies_house"
      -      },
      -      "contact": {
      -        "compiled_at": "2026-05-02",
      -        "last_verified_at": "2026-08-30",
      -        "method": "telephone",
      -        "source": "emailmovers_research"
      -      },
      -      "email": {
      -        "provider_location": "EU",
      -        "result": "ok",
      -        "verified_at": "2026-09-10"
      -      }
      -    },
      -    "record_age_days": 147,
      -    "subscriber_class": "ltd",
      -    "subscriber_evidence": {
      -      "companies_house_number": "05046417",
      -      "company_type": "ltd"
      -    },
      -    "suppression_status": "none",
      -    "tps_ctps_screened_at": "2026-09-12",
      -    "tps_ctps_status": "clear",
      -    "tps_ctps_valid_until": "2026-10-10"
      -  }
      -]New value: +[
      +  {
      +    "article14_first_notified_at": "2025-01-14",
      +    "article14_notified_at": "2026-06-14",
      +    "article14_status": "notified",
      +    "attribution": "Contains public sector information licensed under the Open Government Licence v3.0",
      +    "corporate_subscriber": true,
      +    "email_marketing_basis": "pecr_corporate_subscriber",
      +    "lawful_basis": "legitimate_interests_art6_1_f",
      +    "lia_ref": "EM-LIA-2026-03",
      +    "notice_version": "2026-02",
      +    "provenance": {
      +      "company": {
      +        "as_of": "2026-09-21",
      +        "source": "companies_house"
      +      },
      +      "contact": {
      +        "compiled_at": "2026-05-02",
      +        "last_verified_at": "2026-08-30",
      +        "method": "telephone",
      +        "source": "emailmovers_research"
      +      },
      +      "email": {
      +        "provider_location": "EU",
      +        "result": "ok",
      +        "verified_at": "2026-09-10"
      +      }
      +    },
      +    "record_age_days": 147,
      +    "subscriber_class": "ltd",
      +    "subscriber_evidence": {
      +      "companies_house_number": "05046417",
      +      "company_type": "ltd"
      +    },
      +    "suppression_status": "none",
      +    "tps_ctps_screened_at": "2026-09-12",
      +    "tps_ctps_status": "clear",
      +    "tps_ctps_valid_until": "2026-10-10"
      +  }
      +]
    • addedOutput schema / $defs / ComplianceObject / properties / article14_first_notified_at
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The earliest privacy notice on record: the earliest Article 14 notice date we hold for the person, never after article14_notified_at (the latest). Null while pending or when not known."
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / cost_gbp / description
      Previous value: -"Pounds sterling to two decimal places, plus VAT (VAT is not included in this figure)."New value: +"The value of the credits charged, in GBP, plus VAT (VAT is not included in this figure; it is paid when credits are bought). Credits bought by card count at what their purchase cost, and card-bought credits are used oldest first; free trial credits count at 0; any other credits at your plan's rate (a new customer's rate on the free plan)."
  3. Changed1 schema field changed
    • changedOutput schema / properties / cost_gbp / description
      Previous value: -"Pounds sterling excluding VAT, to two decimal places."New value: +"Pounds sterling to two decimal places, plus VAT (VAT is not included in this figure)."
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: cost model (1 credit only on a confident match, 0 on no match or already-licensed records, so repeats never double-charge), confirmation mechanics via form or confirmation_token from an approval_url, agent-key budget/cap gating, and the named error responses confirmation-required and agent-budget-exceeded. This is consistent with idempotentHint=true and readOnlyHint=false, and adds auth scope (enrich:write) and regulatory context the annotations cannot carry.

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-loads purpose and cost before the confirmation and legal detail, which is the right ordering. The sentences are long and densely packed with clauses, and the PECR/GDPR tail, while useful, is the least essential portion and could be compressed.

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 credit-spending, confirmation-gated lookup with 7 parameters, the definition covers cost, idempotency, auth scope, failure modes and legal basis; return values are left to the existing output schema but the key fields (credits_charged, balance) are previewed. Nothing an agent needs in order to call it safely is missing.

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?

With only 29% schema coverage the description has to carry weight, and it does explain the match-combination rule (email alone, or first/last name with one of company_name, company_number or domain) and the provenance and single-use nature of confirmation_token. It still leaves domain format and name-normalization expectations to the schema, so not a full 5.

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 and resource ('Returns the full record for one known person') and pins the matching keys (email, or name plus company name/number/domain). 'Use it for a single named person' distinguishes it from the audience-compilation siblings, so an agent can route correctly without opening another schema.

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?

Gives clear when-to-use context ('single named person') and the conditions under which a call will fail (no user confirmation, no agent key with enrich_contact in allowed_tools), plus the PECR exclusion for sole traders. It stops short of naming which sibling to use for bulk audience work, so it is strong but not fully explicit about alternatives.

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