Skip to main content
Glama

Port Security Port

port_security_port
Read-onlyIdempotent

Retrieve port security settings for a specific port using its ID to verify configured security policies.

Instructions

Get port security configuration for a single port.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
port_idYesPort ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.11.0

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds no behavioral details beyond the read-only 'Get' operation, but no contradiction exists and the tool is simple enough that this is acceptable.

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 a single compact sentence that immediately states the action, resource, and scope. There is no redundant wording or filler.

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 one well-documented parameter, annotations covering the read-only behavior, and an output schema present, the description is sufficient for an agent to correctly invoke this tool. No major contextual gaps remain.

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%: the single required parameter port_id is documented as 'Port ID' with a minimum of 1. The description does not add further parameter context, but the schema already carries the necessary meaning, so the baseline of 3 applies.

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 states a specific verb ('Get'), a specific resource ('port security configuration'), and a clear scope ('for a single port'). This distinguishes it from sibling tools like port_security_list and port_security_device, which operate at list or device level.

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?

The phrase 'for a single port' implies this tool is for retrieving one port's security configuration rather than a list of entries. However, it does not explicitly mention when to prefer a sibling tool such as port_security_list or port_security_device, leaving the routing largely implicit.

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