Skip to main content
Glama

enrich_action

Destructive

Find an email address for the contact behind an email send_message action that still needs one, by actionId — useful before send_action_email when the recipient email is missing. Uses an email already saved on the contact if there is one; otherwise looks the person up through external enrichment providers and saves what they find to the contact, which can overwrite its stored profile fields (such as name, job title, company, location and LinkedIn URL). Then writes the email into the action's recipient, replacing any recipient email already there. Works only on email send_message actions flagged as needing enrichment; returns ENRICHMENT_NO_EMAIL_FOUND when no email is found. Charges no credits, even when a provider finds the email. Sends nothing.

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": {
      "actionId": "<actionId>"
    },
    "name": "enrich_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionIdYesThe action id (24-character Mongo id) — NOT the actionFeedId. Feed items surface it as `actionId`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Despite annotations already declaring destructiveHint=true and openWorldHint=true, the description adds concrete consequences the annotations cannot convey: it can overwrite stored contact profile fields (name, title, company, location, LinkedIn URL), it replaces any existing recipient email on the action, it charges no credits even on provider success, and it sends nothing.

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?

Purpose and precondition are front-loaded in the first sentence, followed by the resolution path, side effects, eligibility, error signal, cost, and safety guarantee. Each sentence carries a distinct fact — no repetition of the schema or annotations.

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 single-parameter tool with no output schema, the description covers everything an agent needs: when to call it, what it mutates, the fallback path to external providers, the eligibility gate, and the ENRICHMENT_NO_EMAIL_FOUND failure signal.

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 actionId description already warns it is not the actionFeedId, so the baseline is 3. The description adds value by tying the id to a specific action type ('email send_message action') that must be flagged for enrichment, narrowing what a valid id looks like beyond the format hint in the schema.

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 description opens with a specific verb+resource ('Find an email address for the contact behind an email send_message action ... by actionId') and scopes it to actions 'that still needs one', which separates it from the broader enrich_contact sibling.

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?

It gives a clear precondition and trigger — 'useful before send_action_email when the recipient email is missing' — and an explicit eligibility restriction ('Works only on email send_message actions flagged as needing enrichment'). It does not name an alternative tool for the case where the action is not flagged, so it stops short of full when/when-not routing.

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.