Skip to main content
Glama

pkt_inspect

Read-only

Inspect Cisco Packet Tracer .pkt/.pka files without Packet Tracer by extracting devices, models, IPs, links, and running-configs for grading or lab review.

Instructions

Read a .pkt/.pka file WITHOUT Packet Tracer: devices, models, IPs, links, and (configs=true) every device's running-config. Good for grading or understanding a lab file.

Input Schema

NameRequiredDescriptionDefault
pathYes
configsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.6

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds genuinely new context — the file is parsed offline with no Packet Tracer running, and configs=true expands the payload to include every device's running-config. Minor gap: nothing about what happens with an invalid or missing file.

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?

Two tight sentences that front-load the action and file scope, then the output content, then the toggle, then the use case. No filler or repetition of structured fields.

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 output schema, the description correctly compensates by listing the returned data categories, and it covers the optional flag's effect. Somewhat thin on error/edge-case behavior for a file parser, but an agent has what it needs to invoke it.

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?

Schema description coverage is 0%, so the description must carry the parameters. It explains the semantics of `configs=true` clearly (pulls every device's running-config) and `path` is self-evident from the file-type framing, though format expectations for path are not spelled out.

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 precise verb and resource ('Read a .pkt/.pka file') and enumerates what is extracted: devices, models, IPs, links, and running-configs. The 'WITHOUT Packet Tracer' clause cleanly separates it from the live-session siblings like pt_topology and pt_running_config.

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?

Names two motivating scenarios ('grading or understanding a lab file'), which implies when to use it. It never states when not to use it or explicitly names alternatives such as pkt_export_configs or pt_running_config for live devices, so routing is left to inference.

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