Skip to main content
Glama

benchmark_dns

Read-onlyIdempotent

Measures response times and lost queries for your current DNS server and well-known public resolvers from this PC, then ranks them to show how your configured DNS compares.

Instructions

Times the DNS servers in use and the well-known public ones (Cloudflare, Google, Quad9, OpenDNS, AdGuard, Control D, CleanBrowsing) from this PC, in the manner of GRC's DNS Benchmark: each is asked for a dozen popular names twice (the second answer from its cache) and for names it cannot have cached, one query at a time. Gives each server's middle answer time both ways and its lost queries, fastest first, and in words how the one in use compares. Takes a few seconds and sends a few hundred small DNS queries.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "benchmark_dns"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive and open-world, and the description adds substantial context beyond that: the measurement methodology (cached vs uncached names, one query at a time), the resource cost (a few seconds, a few hundred small queries outbound), and the shape of the results (median answer time both ways, lost queries, fastest-first ordering, verbal comparison to the in-use server). That is exactly the kind of cost and side-effect disclosure an agent needs before running a network-heavy probe.

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?

One dense but well-ordered paragraph: purpose first, then methodology, then output, then cost. Every clause carries information, though the methodology clause ('a dozen popular names twice... names it cannot have cached') is the longest and could be tightened without losing meaning.

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?

With no parameters and no output schema, the description must cover both what it consumes and what it returns, and it largely does: runtime, network cost, result ordering and the fields reported. The return description is verbal rather than structured ('middle answer time both ways', 'in words how the one in use compares'), leaving exact result fields slightly ambiguous, so it stops short of a 5.

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?

There are zero input parameters and schema coverage is 100%, so the baseline is 4. The description correctly signals that the tool is parameterless and self-selecting about which servers to test, matching the empty schema with no contradiction.

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 ('Times') and resource ('the DNS servers in use and the well-known public ones'), even enumerating the public resolvers covered. An agent can tell instantly this is a DNS resolver latency benchmark, distinct from lookup-log tools like list_dns_lookups or generic network stats tools.

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?

Usage is implied (measure and compare DNS resolver performance from this PC) but there is no explicit when-to-use, when-not-to-use, or named alternative among siblings. The cost note ('takes a few seconds and sends a few hundred small DNS queries') implicitly cautions against casual/rapid repeated invocation, but that is inference rather than stated guidance.

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