Skip to main content
Glama
Packet Tracer MCP — Node.js port

Packet Tracer MCP — Node.js port

pt_clear_annotations

Removes canvas annotations like text notes and drawings while leaving devices and links unchanged. Specify all or notes to clean up the Packet Tracer canvas.

Instructions

Removes the canvas annotations: text notes and drawings.

It does NOT touch devices or links, only the graphic elements.

PT leaves orphan note ids that it never releases — with no text and that it refuses to delete. They are not a failure: the canvas is visually clean anyway, and they are reported separately as stale_ids.

Parameters:

  • kind: "all" (default) removes notes and drawings; "notes" only the notes.

Example: pt_clear_annotations()

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_clear_annotations"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.11.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the orphan note-id side effect, states those ids are reported as `stale_ids`, and preempts a false-failure reading of that behavior. It does not explicitly state irreversibility or permission requirements for a removal operation, which is the remaining gap.

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?

The core action and its scope exclusion are front-loaded, and the stale-id paragraph is short and earns its place by preventing a misread of results. The trailing "Example: pt_clear_annotations()" adds nothing and the stale-id explanation is slightly rambling, but overall it is tight.

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?

For a one-parameter destructive tool with no annotations and no output schema, the definition covers action, scope boundaries, the parameter values, and even the shape of the returned `stale_ids` field. Nothing an agent needs in order to call it correctly and interpret the result is missing.

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% and the single parameter has no enum, yet the description fully defines it: "kind: 'all' (default) removes notes and drawings; 'notes' only the notes." This adds the default value and the exact semantics of each accepted value beyond the bare schema.

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 names a specific verb and resource ("Removes the canvas annotations: text notes and drawings") and immediately narrows scope with "It does NOT touch devices or links, only the graphic elements." That exclusion cleanly separates it from siblings like pt_delete_device, pt_delete_link, and pt_add_note.

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?

It gives a clear context for use (clearing graphic annotations) plus an explicit negative boundary against device/link operations. It stops short of naming an alternative for selectively deleting a single note, so an agent must infer that from sibling names rather than from the definition.

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