Skip to main content
Glama

pt_wireless_ap

Configure an access point's wireless settings—SSID, broadcast, and MAC filtering—then read them back, with a dry-run option to preview changes before applying.

Instructions

An access point's wireless settings (AccessPoint-PT Config > Port 1), applied and read back. With no settings it only reads.

Parameters (empty/None = leave alone):

  • ssid: network name (up to 32 bytes). Clients on another SSID drop off; giving each AP its own SSID keeps clients off the APs you rename.

  • broadcast: SSID broadcast on/off.

  • mac_filter: MAC filtering on/off.

  • allow_listed: True = only listed MACs may associate, False = listed MACs are denied.

  • mac_list: REPLACES the filter list ("0001.63BE.8468", "00:01:63:BE:84:68").

  • reset_associations: after a change, drop every client so they re-associate against the new settings (default True; without it, clients already associated may keep the old association).

  • dry_run: only read and report what would change.

A dropped client's port still reads up/linked: confirm with a ping (pt_host_command) or its address, not the port state. WPA/WEP are not settable: clients need a matching profile, and PT's client profile API is broken.

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": {
      "device": "<device>"
    },
    "name": "pt_wireless_ap"
  }
}

Input Schema

NameRequiredDescriptionDefault
ssidNo
deviceYes
dry_runNo
mac_listNo
broadcastNo
mac_filterNo
allow_listedNo
reset_associationsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4/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 burden and mostly succeeds: it discloses that renaming SSID drops clients, that mac_list REPLACES the existing filter, that reset_associations drops every client by default, and that WPA/WEP cannot be set. It omits permissions/preconditions (e.g., what happens if the device isn't an AP) and error behavior, which keeps it below a 5.

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 the 'empty = leave alone' convention, then a scannable bullet list per parameter, then caveats. Every line carries information; the only soft spot is the trailing aside about PT's broken client-profile API, which is useful context but slightly tangential.

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

Completeness4/5

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

For an 8-parameter mutation tool with no annotations, the description covers modes, side effects, parameter conventions, and even how to verify results, and an output schema exists so return values need no explanation. Missing only the identity/preconditions of the required 'device' argument and failure modes.

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 coverage is 0%, so the description must do all the work, and it explains seven of eight parameters with real semantics (byte limit on ssid, the allow_listed allow-vs-deny inversion, accepted MAC formats, the None-means-leave-alone convention). The required 'device' parameter itself is never described, leaving one meaningful gap.

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 states the resource precisely ('An access point's wireless settings (AccessPoint-PT Config > Port 1)') and the dual action mode: apply settings and read them back, with read-only behavior when no settings are given. It is not verb-first and doesn't clearly separate itself from sibling config tools by name, but the scope and effect are unambiguous.

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 clear operating conditions: call with no settings to read, use dry_run to preview, and note that reset_associations defaults to True to force re-association. It also routes verification to pt_host_command since port state is unreliable, though it does not exclude any scenarios or name a competing wireless-config sibling.

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