Skip to main content
Glama

port_reverse_remove

Removes an Android reverse port forward by remote endpoint, or clears all reverse forwards when no remote is specified.

Instructions

Remove one reverse forward, or all if remote is omitted.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "port_reverse_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
remoteNo
serialNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden of disclosure for a destructive mutation. It does add one valuable behavioral fact — omitting the parameter deletes every reverse forward — but says nothing about permissions, whether the removal is reversible, error behavior for a nonexistent mapping, or what the response contains.

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?

A single front-loaded sentence with no filler; the default-behavior clause is placed where it matters. It is arguably too terse for a destructive tool, but that is a completeness issue rather than verbosity.

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

Completeness2/5

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

The output schema means return values need no explanation, but for a mutation tool with zero annotations and zero parameter coverage, the definition leaves key facts unstated: the 'serial' parameter's role in targeting a device, the 'remote' format, and confirmation of what a bulk removal affects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 for both parameters. It partially explains 'remote' by defining its omission semantics, but never states the expected format (host:port mapping string vs. bare port), and 'serial' is entirely undiscussed in both schema and description.

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 gives a specific verb plus resource ('Remove one reverse forward'), so an agent can tell this is the removal counterpart to the reverse-forward setup tool even without an explicit sibling reference. It stops short of naming or contrasting a sibling such as port_forward_remove, which keeps it out of 5 territory.

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?

Usage is only implied through the conditional 'or all if remote is omitted', which tells the agent how to invoke it for bulk deletion but not when to prefer it over the forward-removal sibling. There are no stated prerequisites or exclusions.

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