Skip to main content
Glama

zte_open_port

Open a port on the router with sensible defaults. Automatically detects the local IP and uses the external port as internal port unless specified.

Instructions

Abre un puerto con defaults sensatos. Flujo conversacional recomendado.

Args: port: Puerto externo a abrir. protocol: "TCP", "UDP" o "TCP+UDP" (default). internal_host: IP interna destino. Si None o "auto", se detecta automaticamente la IP local del host en la subred del router (llamando al helper equivalente a zte_get_local_ip). internal_port: Puerto interno. Si None, se usa el mismo que port. name: Nombre descriptivo. Si None, se genera como "port_".

Para rangos de puertos o control total, usa zte_add_port_forward.

Flujo recomendado: 1. Pide al usuario el puerto a abrir. 2. Llama a zte_get_local_ip y propon la IP detectada. 3. Confirma con el usuario antes de abrir (destino IP y puerto interno). 4. Llama a zte_open_port con los valores acordados.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portYes
protocolNoTCP+UDP
internal_hostNo
internal_portNo
nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations show readOnlyHint=false, destructiveHint=false, openWorldHint=true. The description adds context about automatic detection of internal host and defaulting of internal_port and name. It does not detail risks or reversibility, but the annotation coverage is adequate.

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 description is well-structured with an intro, parameter list, alternative reference, and recommended workflow. It is somewhat lengthy but every sentence adds value; could be slightly more concise.

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?

The description covers parameter semantics, usage guidelines, and behavioral context. An output schema exists, so return values are not needed. It is complete for an agent to select and invoke the tool correctly.

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%, but the description thoroughly explains every parameter: port, protocol (with default), internal_host (auto-detect if None), internal_port (defaults to port), name (auto-generated). This adds significant meaning beyond the 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 clearly states it opens a port with sensible defaults and contrasts with sibling tool 'zte_add_port_forward' for ranges or full control, making the purpose distinct and specific.

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?

The description provides explicit when-to-use guidance: for single ports with defaults. It directly recommends an alternative for ranges. It also outlines a multi-step conversational flow, including calling zte_get_local_ip and confirming with the user.

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