Skip to main content
Glama

CNAME Lookup

tools_cname_lookup
Read-onlyIdempotent

Free public API. Resolve a hostname's CNAME chain. Useful for debugging custom-domain CNAME setups.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesHostname to resolve, e.g. www.example.com.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesAlways true here; failures return an isError result instead.
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "description": "The hostname's CNAME target and what it resolves to.",
      +  "properties": {
      +    "data": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "aRecords": {
      +          "description": "A records of the target.",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "cnames": {
      +          "description": "CNAME answers; empty if the host has no CNAME.",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "host": {
      +          "type": "string"
      +        },
      +        "isApex": {
      +          "type": "boolean"
      +        },
      +        "target": {
      +          "description": "First CNAME target, or null.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "host",
      +        "isApex",
      +        "cnames",
      +        "aRecords"
      +      ],
      +      "type": "object"
      +    },
      +    "ok": {
      +      "description": "Always true here; failures return an isError result instead.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok",
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds context the annotations cannot: it is a "Free public API," implying no credentials and potentially rate-limited public access. It says nothing about response shape, but the output schema handles that.

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?

Three short sentences, no wasted clauses, with the operation stated first and the access/nature context up front. The final debugging sentence borders on filler but does carry routing value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read-only lookup with an output schema available, the description covers what the tool does, its access model, and its typical use case. Only the absence of sibling routing keeps it from being fully complete.

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?

With a single parameter at 100% schema description coverage, the schema already documents the hostname input and its format. The description only echoes "hostname" without adding syntax, chain-depth semantics, or failure behavior, so the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Resolve a hostname's CNAME chain" gives a specific verb plus a precise resource, and the CNAME focus does separate it from generic siblings like tools_dns_record_lookup or tools_txt_record_lookup. It stops short of naming any sibling explicitly, so an agent must still infer which DNS tool to pick.

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?

"Useful for debugging custom-domain CNAME setups" implies a usage context but offers no when-not guidance and never mentions the overlapping alternatives (dns_record_lookup, dns_propagation_checker) that an agent would weigh against it. Usage is suggested rather than stated.

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