Skip to main content
Glama

yax_enrich_lead_data

Parse raw lead emails, forms, or webhooks into structured contact records with enrichment and CRM logging. Returns name, email, company, phone, and ICP score.

Instructions

Parses a raw lead email, form submission, or webhook payload into a structured contact record, enriches it, and logs it to your CRM. Returns name, email, company, phone, and ICP score.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesWhere the lead came from: 'email', 'form', 'webhook', or 'manual'.
raw_contentNoRaw email body, form submission JSON, or webhook payload to parse.
crm_pushNoPush enriched lead to CRM after intake. Defaults to true.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNoTrue if intake succeeded.
run_idNoRun ID for receipt retrieval.
leadNoStructured lead record: name, email, company, phone, source, enrichment, ICP score.
crm_syncedNoTrue if lead was pushed to CRM.
Behavior4/5

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

Annotations already indicate mutation (readOnlyHint=false) and external calls (openWorldHint=true). The description adds context by stating that data is enriched and logged to CRM, which aligns well and provides extra detail on side effects.

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?

Two sentences, no unnecessary words, front-loaded with action and result. Efficiently communicates the core functionality.

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?

Given the presence of annotations, full input schema, and a clear description of return values, the description provides sufficient context for an agent to understand and invoke the tool correctly.

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% with clear descriptions for each parameter. The description adds general context about parsing and enriching but does not elaborate on parameter-specific details beyond what the schema provides.

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 uses specific verbs ('parses', 'enriches', 'logs') and clearly identifies the resource (raw lead data) and output fields. It distinguishes from sibling 'yax_score_leads' which likely only scores, making this tool's role clear.

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 lists input sources (email, form, webhook, manual) implying when to use, but does not explicitly state when not to use or provide comparisons to sibling tools like 'yax_score_leads' for alternative scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fabio662/yieldagentx402-sdks'

If you have feedback or need assistance with the MCP directory API, please join our Discord server