Skip to main content
Glama

list_dns_lookups

Read-onlyIdempotent

Lists DNS lookups made by programs on Windows, showing which process resolved which name, with filters for PID and name and optional live tracing.

Instructions

Lists the DNS lookups programs made, on Windows. On Linux it always refuses, so do not call it there: each program looks names up through its own library, and nothing records who asked for what. list_connections shows where programs are connected, with the remote names, and get_network_usage how much they send.

Input Schema

NameRequiredDescriptionDefault
pidNoOnly lookups made by this process.
limitNoAt most this many, the latest first (default 100, at most 1000).
filterNoOnly names containing this (any case).
trace_secondsNoSeconds to watch first (0 to 30, default 0): lookups are seen while the network trace runs (the Network page open, or this). Needs "Turn kernel traces on".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered; the description adds genuinely new behavior — platform-dependent refusal on Linux and why (per-process resolver libraries, no centralized record). It does not say what a returned lookup record contains, leaving that gap.

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 tight sentences with the scope upfront and no filler; the final sentence is dense, packing two alternative tools and their distinctions, but each clause carries information an agent needs.

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?

Platform gate, alternatives, and the trace prerequisite are covered, which is the crucial decision information for a four-filter tool. With no output schema, the description never sketches what a lookup record looks like (name, requesting program, timestamp), which is the remaining gap.

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 description coverage is 100% and each parameter already carries its own description, including ranges and defaults. The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

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 ('Lists the DNS lookups programs made') plus a hard platform scope ('on Windows'), which immediately separates it from list_connections and get_network_usage by naming what those do instead.

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?

Explicitly states a do-not-call condition ('On Linux it always refuses, so do not call it there') with the technical reason, and names two alternative siblings for adjacent questions (list_connections for remote names, get_network_usage for volumes).

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