Skip to main content
Glama

Lordevo Shop: website checks for agents (x402)

DNS records lookup (A, AAAA, CNAME, MX, TXT, NS, SOA, CAA) ($0.0021/call)

dns_lookup
Read-onlyIdempotent

$0.0021 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Web and domain checks] Live DNS lookup, like dig or nslookup, for any public host name: one record type or ALL (A, AAAA, CNAME, MX, TXT, NS, SOA, CAA) in one call. Returns each record set, NXDOMAIN (exists: false), per-type errors and private-address flags. Use it to read MX and SPF/verification TXT records or find nameservers. DNS + RDAP + SPF/DMARC + TLS in one call: domain-intel. Cached 2 min. ~0.1-1 s.

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": {
      "host": "<host>"
    },
    "name": "dns_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesHost name to look up, e.g. example.com or mail.example.com (a URL also works; the host part is used)
typeNoRecord type (default ALL = A, AAAA, CNAME, MX, TXT, NS, SOA, CAA)ALL
trialNoOptional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms.

Output Schema

NameRequiredDescriptionDefault
hostNo
toolNo
typeNo
cacheNo
_trialNoPresent when the call was a free trial call.
errorsNo
existsNo
sourceNo
recordsNoOne key per record type asked for; [] = no records of that type
providerNo
price_usdNo
resolved_atNo
response_msNo
private_addressesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / trial / description
      Previous value: -"Optional. true = answer free if a trial call is left (3 per IP per UTC day); otherwise you get the payment terms."New value: +"Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms."
  2. Changed1 schema field changed
    • changedInput schema / properties / host / description
      Previous value: -"Public host name, e.g. example.com or www.example.com (a URL also works)"New value: +"Host name to look up, e.g. example.com or mail.example.com (a URL also works; the host part is used)"
  3. Changed2 schema fields changed
    • addedInput schema / properties / trial
      Added value: +{
      +  "description": "Optional. true = answer free if a trial call is left (3 per IP per UTC day); otherwise you get the payment terms.",
      +  "type": "boolean"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "required": [
      +        "tool",
      +        "host",
      +        "exists",
      +        "records"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "accepts": {
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "resource": {
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "accepts"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "charged": {
      +          "type": "boolean"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "error"
      +      ]
      +    }
      +  ],
      +  "properties": {
      +    "_trial": {
      +      "description": "Present when the call was a free trial call.",
      +      "type": "object"
      +    },
      +    "cache": {
      +      "type": "object"
      +    },
      +    "errors": {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "exists": {
      +      "type": "boolean"
      +    },
      +    "host": {
      +      "type": "string"
      +    },
      +    "price_usd": {
      +      "type": "number"
      +    },
      +    "private_addresses": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "provider": {
      +      "type": "string"
      +    },
      +    "records": {
      +      "description": "One key per record type asked for; [] = no records of that type",
      +      "properties": {
      +        "A": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "AAAA": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "CAA": {
      +          "items": {
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "CNAME": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "MX": {
      +          "items": {
      +            "properties": {
      +              "exchange": {
      +                "type": "string"
      +              },
      +              "priority": {
      +                "type": "integer"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "NS": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "SOA": {
      +          "type": [
      +            "object",
      +            "null"
      +          ]
      +        },
      +        "TXT": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "resolved_at": {
      +      "type": "string"
      +    },
      +    "response_ms": {
      +      "type": "integer"
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "type": {
      +      "enum": [
      +        "ALL",
      +        "A",
      +        "AAAA",
      +        "CNAME",
      +        "MX",
      +        "TXT",
      +        "NS",
      +        "SOA",
      +        "CAA"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Added

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/openWorld annotations, the description discloses result behavior an agent could not infer: NXDOMAIN is returned as exists: false rather than an error, per-type errors may be present, private-address flags appear, and results are cached for 2 minutes. It also sets a latency expectation (~0.1-1 s) and states the paid-rail terms (x402, USDC on Base) plus the trial quota (3 per IP per UTC day).

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?

Dense but well front-loaded: cost first, then purpose, then return behavior, then the alternative tool and performance. The bracketed "[Web and domain checks]" tag is mild filler, but every other sentence carries actionable information and nothing is redundant.

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 three-parameter read-only lookup with a full output schema, the description covers everything an agent needs: what is queried, what comes back, how failures surface, caching/latency, and the paid alternative. No gaps remain that would cause a misinvocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, but the description still adds meaning: it scopes the host to "any public host name" (relevant given private-address flags), clarifies that one type or ALL can be requested in a single call, and explains the trial parameter's conditional semantics tied to the daily quota. This is more than a restatement of 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?

States a specific verb and resource ("Live DNS lookup ... for any public host name") and enumerates the exact record types covered, including the ALL convenience mode. It also names the broader sibling, domain-intel, so an agent can distinguish a narrow DNS read from the bundled domain check without inspecting 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?

Gives concrete when-to-use cues ("read MX and SPF/verification TXT records or find nameservers") and an explicit alternative path ("DNS + RDAP + SPF/DMARC + TLS in one call: domain-intel"), which lets the agent choose between a cheap single-purpose lookup and a combined one. Pricing and the free-trial escape hatch ("try_free" / trial: true) are stated up front so cost-based selection is possible.

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