Skip to main content
Glama

Website contact details

contactDetails
Read-onlyIdempotent

Get the emails, phone numbers and fax numbers a website publishes for itself, each with the page it was found on and the dates it was first and last seen in the WhoisFreaks crawl. Use this to find how to reach a company or site owner, for outreach, abuse reports or due diligence. Only the site's own contacts are returned: other companies' emails, contacts from long lists and directories, values shared by many websites and people-search sites are filtered out. For the registrant recorded at the registrar use liveWhoisLookup instead. Phone and fax numbers come in E.164 form (+18554770748). Pass type to get only emails, phones or faxes. Costs 2 credits per lookup; a site with no contacts returns "no data found" and is not charged. Behavior: read-only. Makes one request to the WhoisFreaks API for your WhoisFreaks account (identified by the WHOISFREAKS_API_KEY environment variable or, on the hosted server, by the API key sent with the request or the account connected with OAuth) and uses that account's API credits; nothing is created or changed. If the call fails, the result is a short message instead of data, for example: the API key was refused (invalid, or plan or credits used up) with what to do next, domain extension not supported (HTTP 403), no data found (HTTP 404), or rate limit reached (HTTP 429).

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": {
      "domainName": "<domainName>"
    },
    "name": "contactDetails"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, up to 100 contacts per page. Default: 1
typeNoReturn only this type, best first. Omit for all three types in one list.
domainNameYesThe website to look up. Example: cloudflare.com or shop.example.com. A full URL and internationalized names are accepted; a leading www. is removed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only/open-world/idempotent, yet the description adds substantial context beyond them: the 2-credit cost, that a no-data result is not charged, the auth source for the API key, and a concrete error taxonomy (403 unsupported extension, 404 no data, 429 rate limit). This is exactly the kind of behavior an agent needs before spending credits.

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-loaded with purpose, then usage, then cost and error handling in a logical order with zero filler. It is on the long side, particularly the parenthetical auth explanation and the enumerated error list, but nearly every sentence carries decision-relevant information.

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 3-parameter lookup with annotations but no output schema, the description covers purpose, filtering rules, output format hints, cost, and failure modes. An agent could select and invoke this correctly without any further information.

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 coverage is 100%, so all three parameters are already documented, establishing a baseline of 3. The description adds the E.164 number format and reiterates the type filter, but says nothing about the page parameter or result ordering beyond what the schema states.

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 a specific verb and resource: 'Get the emails, phone numbers and fax numbers a website publishes for itself', and immediately names what it is not ('For the registrant recorded at the registrar use liveWhoisLookup instead'). The scope limitation ('Only the site's own contacts are returned') further separates it from a generic contact harvester.

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?

Gives concrete use cases (outreach, abuse reports, due diligence) and an explicit alternative with the condition that selects it (liveWhoisLookup for registrant data). It also states what data is excluded, which prevents the agent from expecting directory-sourced contacts.

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