Skip to main content
Glama

pt_simulation_step

Steps the Packet Tracer simulation forward, backward, or resets it in Simulation mode, moving packets one event at a time so you can inspect the resulting trace.

Instructions

Steps the simulation forward, back, or resets it.

Requires Simulation mode (pt_simulation_mode(on=True)). Each step moves the packets one event; after stepping, read the result with pt_read_packet_trace.

Parameters:

  • action: "forward" (default) | "back" | "reset".

  • times: how many steps to take (1-100, ignored for "reset").

Example: step 5 events forward: pt_simulation_step(action="forward", times=5)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pt_simulation_step"
  }
}

Input Schema

NameRequiredDescriptionDefault
timesNo
actionNoforward

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations exist, so the description carries the burden and does well: it discloses the mode prerequisite, that each step advances packets one event, the 1-100 step bound, and that times is ignored for reset. It does not warn that reset discards simulation state (a destructive effect with no annotation covering it), leaving one notable behavioral gap.

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-loads the one-line purpose, then prerequisite, then post-step guidance, then a compact parameter list and a concrete example. Every sentence is load-bearing and nothing is padded.

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 need not be explained, and the description still covers invocation mechanics, limits, and the next tool to call. The remaining gap is error/edge behavior (precondition failure, stepping back past the first event, what reset restores).

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 coverage is 0% and the schema declares no enums, so the description is the sole source of parameter meaning and it delivers: allowed action values with default, the step count range, and the reset exception. It stops short of saying how 'back' behaves at the initial event, a minor residual ambiguity.

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 (steps) plus resource (the simulation) and enumerates the three directions of movement, forward/back/reset. An agent can distinguish this from pt_simulation_mode and pt_read_packet_trace without opening any schema.

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 an explicit prerequisite (Simulation mode via pt_simulation_mode(on=True)) and an explicit follow-up (read results with pt_read_packet_trace), which is genuine routing guidance. It does not state when not to use it or what happens if the prerequisite is unmet, so it falls just short of full alternative/exclusion coverage.

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