Skip to main content
Glama

pt_save_project

Saves the active Packet Tracer topology as a .pkt file, enabling AI agents to persist configured labs to a chosen filename and folder instead of relying on manual Ctrl+S.

Instructions

Saves Packet Tracer's active topology as a .pkt file.

Closes the loop: until now the MCP built the topology but saving it needed Ctrl+S by hand.

Parameters:

  • filename: file name (.pkt is added if missing)

  • directory: destination folder. Empty = PT's save folder (on Linux, where PT reports a folder that does not exist, ~/pt/saves). An absolute path must be an existing folder (the user's choice of where labs live); a relative one is a folder inside the MCP's working directory.

  • overwrite: replace an existing file (default False: an existing file is an error).

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": {
      "filename": "<filename>"
    },
    "name": "pt_save_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYes
directoryNo
overwriteNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that this writes a file, that overwrite=False makes an existing file an error, how the directory argument resolves (PT's save folder, the Linux fallback ~/pt/saves, absolute paths must already exist, relative paths are inside the MCP working directory). It stops short of describing failure modes or whether PT must be running.

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?

Front-loaded one-line purpose followed by a compact per-parameter breakdown. The 'Closes the loop' anecdote is slightly indulgent but earns its place by explaining why the tool exists. Minor waste, overall tight.

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?

An output schema exists so return values needn't be explained, and for a file-writing mutation with zero annotations the description covers destination resolution and the non-destructive default well. The remaining gap is error/permission behavior and preconditions on PT's state, which an agent would benefit from knowing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 for all three parameters: filename gets .pkt appended if missing, directory has full resolution rules for empty/absolute/relative values, and overwrite's default-false semantics are spelled out as 'existing file is an error'. This is meaningfully more than the bare titles in the schema.

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: saves Packet Tracer's active topology as a .pkt file. The scope is unambiguous and distinct from load/open style siblings, though it never names those alternatives to explicitly route the agent away from them.

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?

Gives usable context ('until now the MCP built the topology but saving it needed Ctrl+S by hand'), implying this is the post-build step, and it explains the overwrite guard. However there is no explicit when-to-use/when-not guidance and no mention of the obvious sibling pt_activity_save, so an agent must infer which save tool applies.

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