Skip to main content
Glama

pt_activity_create_exam

Build a complete Packet Tracer exam from a spec, including instructions, answer/initial configs, marking, points, connectivity tests, and saving the .pka file.

Instructions

Builds a whole exam: create, build_answer, set_instructions, mark, points, connectivity, copy_to_initial, clear_initial, save, exit_wizard.

Parameters:

  • spec: title, situation, addressing [{device, interface, ip, mask, gateway}], requirements [{text, items, note}] (word = bold), language (es/en), items (paths for pt_activity_mark), plan or plan_path (the answer network), answer_commands and initial_commands ({device: [config lines]}, typed between configure terminal and end), points [{path, points}] (default 1 each; not on macOS), connectivity [{source, destination, reachable}] (ping tests PT grades; not on macOS), initial_hosts (hosts left with no address), output_path (.pka), overwrite.

  • start_at: step to resume from, after a failure.

  • force: passed to pt_activity_create.

  • dry_run: validate and render the HTML, sending nothing.

Reply: one entry per step, failed_step and how to retry.

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": {
      "spec": "<spec>"
    },
    "name": "pt_activity_create_exam"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYes
forceNo
dry_runNo
start_atNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does useful work: it reveals that the call executes a defined sequence of steps, that the reply reports one entry per step plus failed_step and retry guidance (implying partial completion on failure), that dry_run sends nothing, and that points and connectivity are unsupported on macOS. It does not disclose mutation/destructive implications, required permissions, or what state an .pka is left in when a mid-sequence step fails.

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 with the operation, then a compact bulleted parameter map; nearly every clause carries information an agent needs (platform caveats, default of 1 point each, command-typing context). The opening enumeration of nine wizard step names is somewhat jargon-dense and could have been phrased more compactly, but the list/label structure keeps it scannable.

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 the short 'Reply' line is enough on that front. For a high-complexity orchestrator with a large untyped nested spec and no annotations, however, key context is missing: whether it creates a new activity or modifies an existing one, prerequisites relative to pt_activity_open, what overwrite does to an existing .pka, and the partial-failure state left behind. What is present is solid but not sufficient for confident invocation.

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% and the spec is a free-form nested object (additionalProperties: true), so the description is the only documentation. It compensates substantially by enumerating spec fields with meaning — addressing entries, requirements formatting (**word** = bold), language es/en, plan vs plan_path, answer_commands typed between configure terminal and end, initial_hosts, output_path, overwrite — plus start_at and dry_run. Gaps remain: 'force' is only a pointer ('passed to pt_activity_create') and fields like 'items' are described as 'paths for pt_activity_mark' without shape or type detail.

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?

The definition opens with a specific verb+resource ('Builds a whole exam') and enumerates the wizard steps it composes (create, build_answer, set_instructions, mark, points, connectivity, save, exit_wizard), which implicitly separates it from the single-step sibling pt_activity_create. It stops short of naming that sibling or stating the contrast explicitly, so an agent must infer the orchestration-vs-single-step boundary.

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?

Usage context is only implied through parameter notes: 'start_at: step to resume from, after a failure' and 'dry_run: validate and render the HTML, sending nothing' tell the agent when those flags apply. There is no statement of when to call this composite tool versus running the individual wizard steps (pt_activity_create, pt_activity_points, etc.), nor any prerequisite such as opening or creating an activity first.

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