Skip to main content
Glama

rename_location

Change the name of a city, building, wiring closet, or other location in a Packet Tracer network. Edits apply to a temporary copy; save with save_network to keep the change.

Instructions

Rename a city, building, wiring closet or other location. Packet Tracer has no call for this, so pktctl takes the network as bytes, edits them and opens the result as a temporary copy; your own file is not written, save with save_network and a path to keep the change.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNew name, for example `Edificio Central`.
pathYesPath of the location, as listed by `list_locations`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNoThe temporary copy Packet Tracer now has open, when the change went through the network file. Your own file is untouched: save with `save_network` and a path to keep the change there.
locationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A4.3/5.0
Behavior5/5

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

The description discloses important behavioral details beyond the annotations: Packet Tracer has no native rename call, pktctl edits the network as bytes and opens a temporary copy, and the user's original file is not written until saved with save_network. This aligns with the non-destructive annotation and gives the agent critical persistence information.

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 front-loaded with the purpose and then explains the unusual behavior and required follow-up action. Every sentence contributes necessary information without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a fully described schema, clear annotations, and an output schema present, the description covers the key behavioral and persistence details an agent needs. No important contextual gap remains.

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 100%, so both parameters are already fully documented in the input schema. The description adds no further parameter meaning, making the baseline score of 3 appropriate.

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?

The description gives a specific verb and resource ('Rename a city, building, wiring closet or other location') and lists concrete location types. It is clearly distinguishable from sibling tools such as rename_device, which operates on a different resource.

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?

It provides a useful follow-up workflow instruction ('save with save_network and a path to keep the change'), but it does not explicitly state when to use this tool versus alternatives like rename_device or add_location. The usage context is implied rather than clearly bounded.

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