Skip to main content
Glama

zte_add_port_forward

Add a port forwarding rule to redirect external traffic to an internal host. Specify protocol, external and internal port ranges, and destination IP.

Instructions

Anade una regla de port forwarding con control total.

Para el caso comun (un solo puerto -> IP local en el mismo puerto), considera usar zte_open_port, que tiene defaults inteligentes.

Args: name: Nombre descriptivo de la regla (max 32 chars). protocol: "TCP", "UDP" o "TCP+UDP". external_port_start: Puerto externo inicial. external_port_end: Puerto externo final (igual que start para 1 puerto). internal_host: IP interna destino (ej: 192.168.1.100). internal_port_start: Puerto interno inicial. internal_port_end: Puerto interno final.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
protocolYes
external_port_startYes
external_port_endYes
internal_hostYes
internal_port_startYes
internal_port_endYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false, but the description does not elaborate on behavioral traits beyond 'control total'. It does not contradict annotations but adds minimal transparency.

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 brief and front-loaded with purpose and guidance, followed by a concise parameter list. Every sentence serves a purpose.

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?

Given the complexity (7 required parameters and no schema descriptions), the description fully explains all parameters, provides usage guidance, and references an alternative tool. The presence of an output schema reduces the need to explain return values.

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 coverage is 0%, so description compensates by explaining each parameter. For example, 'external_port_end: Puerto externo final (igual que start para 1 puerto)' adds meaning beyond the schema's titles and types.

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 clearly states it adds a port forwarding rule with full control, using specific verbs and resource. It distinguishes itself from the sibling tool 'zte_open_port' by noting that 'zte_open_port' is for common cases with smart defaults.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly provides guidance: 'Para el caso comun (un solo puerto -> IP local en el mismo puerto), considera usar zte_open_port, que tiene defaults inteligentes.' This tells the agent when to use this tool vs an alternative.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Picaresco/MCP-ZTE-F680'

If you have feedback or need assistance with the MCP directory API, please join our Discord server