Skip to main content
Glama
Packet Tracer MCP — Node.js port

Packet Tracer MCP — Node.js port

pt_server_dns

Add or remove DNS records and enable or disable the DNS service on a Packet Tracer Server-PT, then verify name resolution.

Instructions

A Server-PT's Services > DNS: adds/removes records and switches the service on.

  • records: [{"name": "www.lab.com", "type": "A", "value": "192.168.1.20"}, {"name": "web.lab.com", "type": "CNAME", "value": "www.lab.com"}]

  • remove: same shape, to delete.

  • enable: True = On (default), False = Off, None = leave alone. The reply's stored says whether each added record is in the server's database. Check resolution with pt_host_command(host, "nslookup www.lab.com").

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": {
      "device": "<device>"
    },
    "name": "pt_server_dns"
  }
}

Input Schema

NameRequiredDescriptionDefault
showNo
deviceYes
enableNo
removeNo
captureNo
recordsNo
output_dirNoscreenshots

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description does carry weight and does disclose the semantics of 'enable: None = leave alone' and that the reply's `stored` field reports whether each record landed in the database. It says nothing about deletion risk from `remove`, overwrite behavior for duplicate records, or what `show`, `capture`, and `output_dir` do behind the scenes.

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?

Front-loaded one-line purpose followed by tight bullets for records, remove, and enable, then a single follow-up verification sentence. No filler and no restatement of the tool name.

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?

For a seven-parameter mutation tool with no annotations and no output schema, the definition covers the core payload semantics and one return key (`stored`), but leaves over half the parameters and the overall response shape undocumented.

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 coverage is 0% with seven parameters, so the description must compensate. It does add real meaning for `records`, `remove`, and `enable`, including the nested record shape (name/type/value) that the schema leaves as untyped objects, but leaves four of seven parameters (device, show, capture, output_dir) entirely unexplained.

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 and resource: 'adds/removes records and switches the service on' for a Server-PT's Services > DNS. That is clearly distinct from the DHCP/HTTP server siblings, though the description never names those siblings to make the boundary explicit.

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

Usage Guidelines4/5

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

Gives concrete usage context through an example record set and a verification path ('Check resolution with pt_host_command(host, "nslookup www.lab.com")'). It does not state exclusions or prerequisites, such as when to use pt_server_service instead, so it stops short of full routing guidance.

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

Deploy Server

Other Tools