Skip to main content
Glama

pt_add_note

Writes a text note on the topology canvas to label subnets, mark OSPF areas, or name links; returns note ID for later deletion.

Instructions

Writes a text note on PT's canvas.

Use it to document the topology on the diagram itself: label a subnet, mark an OSPF area, name a trunk link. Returns the note's id, which can be used to delete it later.

The coordinates are the same logical-canvas ones that pt_add_device and pt_move_device use: routers ~y=100, switches ~y=250, hosts ~y=400.

The font size is NOT configurable: PT fixes it and uses that parameter for the stacking order, which the tool computes by itself.

Parameters:

  • x, y: position on the canvas.

  • text: the note's content.

Example: pt_add_note(x=300, y=100, text="LAN 192.168.0.0/24")

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": {
      "x": "<x>",
      "y": "<y>",
      "text": "<text>"
    },
    "name": "pt_add_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
textYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it states the return value (the note's id, reusable for deletion later), discloses the non-obvious constraint that font size is fixed and the parameter is repurposed for stacking order, and explains how stacking is computed. It doesn't cover whether the note persists to the saved .pkt file or any permission/precondition, 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?

Front-loaded with purpose and use cases, then returns, coordinate conventions, caveats, params, and an example — a sensible order with no filler. The short 'Parameters' list largely restates what the preceding paragraphs already established, and the font-size paragraph is a bit roundabout, but neither is serious bloat.

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 three-parameter write tool with no annotations, everything an agent needs is present: what it does, when to use it, coordinate semantics, the fixed-font-size caveat, and what is returned. An output schema exists, so return-shape detail beyond the id reference is unnecessary.

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%, so the description must compensate, and it does: x/y are defined as logical-canvas position with concrete anchors (routers ~y=100, switches ~y=250, hosts ~y=400) tied to the sibling tools' coordinate space, and text is the note content. The worked example with real values adds a format anchor the schema lacks.

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 opening line gives a specific verb and resource — writing a text note on PT's canvas — and the following sentence pins down what a 'note' is (diagram annotation, not a device or link), which separates it from the pt_add_device / pt_add_link siblings. An agent can identify the tool without opening the 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?

It names concrete use cases (label a subnet, mark an OSPF area, name a trunk link), so when-to-use is clear. It stops short of explicit exclusions — e.g. that this should not be used for device configuration or that pt_add_device covers nodes — so an alternative is only implied.

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