Skip to main content
Glama

list_port_forwarding_rules

Retrieves port forwarding rules from CloudStack, optionally filtered by rule ID or public IP address, so you can inspect how incoming traffic is mapped to internal services.

Instructions

List port forwarding rules

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": "list_port_forwarding_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoRule ID
ipaddressidNoPublic IP address ID to filter rules

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it: it never states that the call is read-only/side-effect free, whether results are paginated, what happens when no rules exist, or whether id/ipaddressid act as AND or OR filters. Only the word 'List' hints at a non-mutating read.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and wastes no words, but here brevity comes from under-specification rather than discipline; there is no structure beyond the bare verb phrase, and nothing an agent needs is present to be concise about.

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?

With no annotations, no output schema, and two optional filter parameters, the definition should at minimum explain what the returned rules look like and how filtering behaves. That context is entirely absent, leaving the agent to guess at return shape and filter semantics.

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% and both parameters (id, ipaddressid) are documented in the schema, so the baseline of 3 applies. The description itself adds no meaning — it does not say whether the filters are optional, exclusive, or how an omitted filter changes the result — but the schema adequately covers the fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is word-for-word a restatement of the tool name 'list_port_forwarding_rules' — it adds no scope, no resource detail, and no differentiation from the many sibling list_* tools (list_firewall_rules, list_egress_firewall_rules, list_load_balancer_rules). An agent learns nothing it could not infer from the name alone.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention that the two filters are optional or how they interact, and no routing to alternatives such as list_firewall_rules or list_load_balancer_rules when the agent is unsure which rule set it needs. Usage is only implied by the verb 'List'.

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