Skip to main content
Glama
American Cloud MCP Server

American Cloud MCP Server

Official

Get egress rule

get_egress_rule
Read-onlyIdempotent

Retrieve a single egress rule by its UUID to inspect its protocol, ports, and CIDR ranges. Use it after listing egress rules to review one rule's configuration.

Instructions

Get one egress rule by ID (from list_egress_rules), including its protocol, ports, and CIDRs.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYesEgress rule identifier (UUID), from list_egress_rules.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.9.1
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.8.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds the returned field set (protocol, ports, CIDRs), but says nothing about not-found behavior or error handling, which matters for a lookup by user-supplied UUID.

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?

A single front-loaded sentence: the lookup mode comes first, the source of the ID second, and the returned contents third. No redundant or filler wording.

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

Completeness4/5

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

For a one-parameter read tool with annotations covering safety and no output schema, the description suffices to invoke it correctly. The only meaningful omission is what happens when the ID does not exist.

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 coverage is 100% and the schema already documents the single 'id' parameter as a UUID sourced from list_egress_rules. The description restates that provenance without adding format or validation detail, 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?

States a specific verb ('Get'), a precise resource ('one egress rule'), the lookup key ('by ID'), and the payload ('protocol, ports, and CIDRs'). It is immediately distinguishable from the sibling list_egress_rules because it is explicitly a single-record fetch.

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

Usage Guidelines4/5

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

Names list_egress_rules as the source of the ID, which implicitly tells the agent to enumerate first and then fetch. It does not state exclusions or what to do if the ID is unknown, so it stops short of full when/when-not guidance.

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