Skip to main content
Glama

tld_lookup

Identify what a DNS top-level domain such as com, io, or ai is classified as and commonly used for when classifying domains or answering TLD questions.

Use when:

  • What kind of TLD is .io?

  • Is .ai a country-code or generic top-level domain?

  • Get curated metadata for DNS TLD com

Do not use when:

  • Check whether a full domain name is registered or available

  • Resolve DNS records or WHOIS ownership

  • Look up MIME types for file extensions (use mime_lookup)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tldYes

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly states that this is a 'curated metadata' lookup, implying a static dataset and no side effects. It also explicitly excludes domain registration checks and DNS/WHOIS resolution, which helps set expectations. However, it does not mention error handling for invalid TLDs or whether TLDs with a leading dot are accepted, leaving minor gaps in transparency.

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?

The description is concise and well-structured, with a brief opening sentence, followed by 'Use when' and 'Do not use when' sections. Every sentence adds value, providing either core purpose, usage examples, or exclusions. No redundant or filler content exists, making it highly efficient for an agent to parse.

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 simple single-parameter lookup tool with no output schema, the description is complete. It defines the tool's purpose, gives clear usage examples, and lists exclusions, all in a compact format. The lack of output format details is acceptable given the simplicity of the tool and the clarity of its intended use.

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

Parameters4/5

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

The input schema only defines a 'tld' string with minLength 2 and no description (0% schema coverage). The description compensates by providing examples like 'com, io, or ai' and using the phrase 'DNS top-level domain', which clarifies the expected format (no leading dot, not a full domain name). This adds useful semantic meaning beyond the bare schema, though it could be more explicit about punctuation.

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 clearly states the tool's function: 'Identify what a DNS top-level domain such as com, io, or ai is classified as and commonly used for.' This is a specific verb ('identify') plus a well-defined resource ('DNS top-level domain'). It also distinguishes itself from siblings by explicitly stating not to use it for MIME type lookups, which are handled by another tool.

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?

The description provides explicit 'Use when' and 'Do not use when' sections with concrete example queries, such as 'What kind of TLD is .io?' and 'Look up MIME types for file extensions (use mime_lookup)'. This gives clear guidance on when to use this tool versus alternatives, making it easy for an agent to route correctly.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool targets a distinct resource and action, with clear use cases and explicit 'Do not use when' guidance preventing confusion. For example, base64_decode and url_decode handle different encoding schemes, while timestamp_convert and timezone_convert address separate time operations.

Naming Consistency5/5

All tool names follow a consistent lowercase snake_case verb_noun pattern (e.g., base64_decode, country_lookup, uuid_validate). While verbs vary (decode, encode, lookup, validate, convert), the naming format is uniform and predictable.

Tool Count4/5

The 18-tool set is slightly above the typical 3-15 range, but the breadth is justified by the server's purpose as a general-purpose utility toolkit. Each tool earns its place, and the count does not feel overwhelming or redundant.

Completeness4/5

The toolkit covers encoding/decoding, validation, lookups, and conversions across common developer needs. Minor gaps exist, such as no UUID generation tool to complement uuid_validate, and no HTML entity encoding/decoding, but these are not critical omissions for the stated utility scope.