Skip to main content
Glama

create_topology

Construct an in-memory Packet Tracer topology from device and link definitions, enabling headless lab creation and grading without running the simulator.

Instructions

Build an in-memory Packet Tracer topology from devices and links.

Each device needs id (or name), kind (router|switch|pc|server|laptop), and optionally model, interfaces, coordinates, and config. Each link needs a_device, a_port, b_device, b_port, optional cable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoUntitled
linksNo
devicesYes
instructionsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It discloses that the topology is built 'in-memory,' but does not mention side effects, whether existing topologies are replaced, validation behavior, or what the tool returns. This is a meaningful gap for a creation tool with no annotation safety hints.

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?

The description is compact and front-loaded: the main purpose appears in the first sentence, followed by concise structured field guidance for devices and links. Every sentence contributes necessary information with no fluff.

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?

The description adequately covers the main input structure and even provides an enum for device kinds, which is helpful given the sparse schema. However, it omits usage guidance, behavior details, and semantics of 'name' and 'instructions'. The output schema reduces the need to explain return values, but the missing pieces still leave the description only partially complete.

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 description coverage is 0%, so the description must compensate. It adds valuable structure for the two core parameters: devices require id/name and kind with an enum, and links require endpoint fields. However, the 'name' and 'instructions' parameters are left completely unexplained, leaving part of the input surface undocumented.

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 description clearly states the verb ('Build') and resource ('in-memory Packet Tracer topology from devices and links'), making the core purpose obvious. It does not explicitly name or distinguish itself from sibling tools, though 'in-memory' hints at a contrast with generate_pkt. This falls just short of full sibling differentiation.

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

Usage Guidelines2/5

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

No guidance is given about when to use this tool instead of alternatives such as validate_current_topology, generate_pkt, or set_device_config. The description implies its use case but provides no exclusions, prerequisites, or comparative context. An agent gets no help choosing between this and related tools.

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