Skip to main content
Glama
fairquery

fairquery-contact-enricher

Official

Normalize and dedupe domains (free)

normalize_domains
Read-onlyIdempotent

Convert URLs, email addresses, and messy strings into lowercase registrable hostnames, remove duplicates, and flag invalid entries before enrichment to see which domains will be billed.

Instructions

WHAT: Turn URLs, email addresses and messy strings into bare registrable hostnames (lowercase, no scheme/path/www), remove duplicates and list entries that are not valid domains. WHEN TO USE: before enrich_domains, to clean an input list and see exactly which domains would be billed. WHEN NOT TO USE: to get contacts, company names or check that a site is reachable - use enrich_domains. Does no DNS lookup. COST: free; local, no network, no APIFY_TOKEN, deterministic. RETURNS: {domains: string[], invalid: string[], duplicates_removed: number}. EXAMPLE: {"inputs":["https://www.Stripe.com/pricing","info@stripe.com","not a domain"]} -> {"domains":["stripe.com"],"invalid":["not a domain"],"duplicates_removed":1}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsYesRequired. URLs, domains or email addresses; each entry may also be a newline/comma/semicolon-separated list. Example: ["https://www.acme.com/contact","sales@acme.com"].

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainsYesUnique normalized domains, input order
invalidYesEntries that could not be parsed as a domain
duplicates_removedYesCount of duplicate entries dropped

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, and the description adds genuinely new behavioral context: it is local, free, deterministic, requires no APIFY_TOKEN, and performs no network/DNS activity. It also states why it exists ('see exactly which domains would be billed'), which no annotation conveys.

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?

Labeled sections (WHAT, WHEN TO USE, WHEN NOT TO USE, COST, RETURNS, EXAMPLE) make it skimmable and front-load purpose before routing. Each block carries distinct information with no filler, and the example compactly demonstrates dedupe plus invalid-entry handling.

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?

The only parameter is fully specified and an output schema exists, so return values need no further prose; the inline RETURNS note is a bonus. Cost, side-effect profile, and pre-requisite chaining with enrich_domains are all covered, leaving no gap for an agent to fill.

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% and there is a single required parameter, so the schema already documents the input format, including the newline/comma/semicolon-separated list behavior. The description's mention of URLs, emails and messy strings plus the worked example largely restates that, so the baseline 3 applies.

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?

Opens with an explicit verb+resource ('Turn URLs, email addresses and messy strings into bare registrable hostnames') and enumerates the transformation rules (lowercase, no scheme/path/www). It explicitly names what it is not ('use enrich_domains') so an agent can separate it from its only sibling without opening 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?

Provides explicit WHEN TO USE (before enrich_domains, to preview billed domains) and WHEN NOT TO USE (contacts, company names, reachability checks), naming the alternative tool and a boundary condition ('Does no DNS lookup'). Nothing about tool selection is left to inference.

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

Deploy Server

Other Tools