Skip to main content
Glama

vyos_dns_lookup

Resolve a hostname from a VyOS router, optionally querying a specified DNS server to verify or troubleshoot DNS resolution.

Instructions

Resolve a hostname from the VyOS router.

Args: host: Hostname or IP to resolve. nameserver: Optional DNS server to query.

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": "vyos_dns_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYes
nameserverNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden. It implies a read-only DNS query but never says whether resolution executes on the router itself or locally, what happens on NXDOMAIN/timeout, or whether the nameserver override is honored only on-device. For a network-facing lookup these are material omissions.

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?

Two short lines, purpose front-loaded, no filler prose. The Args block mostly restates the schema titles, so it is slightly redundant but not wasteful given the 0% schema coverage.

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

Completeness3/5

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

An output schema exists, so return-value explanation is not required. Still, for a tool whose result depends on where resolution actually runs and what failure looks like, the description leaves an agent without enough context to predict outcomes.

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 0%, so the description must compensate, and it does partially: it clarifies that 'host' also accepts an IP address (the schema only titles it 'Host') and that 'nameserver' is an optional DNS server to query. It stops short of format details (port suffix, accepted address families) and default behavior when nameserver is null.

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?

States a specific verb ('Resolve') and resource ('hostname') scoped to the VyOS router, which separates it from the configure_/add_/delete_ siblings. It doesn't explicitly name an alternative for the case where the agent wants a general DNS lookup, but the read-only lookup intent is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool versus the configuration siblings, and nothing about when to supply a nameserver versus letting the router default. The only guidance is implicit in the one-line purpose.

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