Skip to main content
Glama

get_tier0_gateway

Read-onlyIdempotent

Retrieve configuration details for a Tier-0 gateway, including HA mode, failover settings, and transit subnets, to inspect setup or build path needed for creating Tier-1 gateways.

Instructions

[READ] Get configuration details for one Tier-0 gateway (north-south edge router).

No side effects. Use after list_tier0_gateways to inspect HA configuration, or to build the tier0_path ("/infra/tier-0s/") that create_tier1_gateway needs. For BGP peering state use get_bgp_neighbors instead. Returns: id, display_name, ha_mode (ACTIVE_ACTIVE or ACTIVE_STANDBY), failover_mode (PREEMPTIVE or NON_PREEMPTIVE), transit_subnets, internal_transit_subnets, rd_admin_field. On failure returns {"error", "hint"} instead of raising.

Args: tier0_id: Tier-0 gateway ID, as returned by list_tier0_gateways. target: NSX Manager name from config.yaml. Uses the default target if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo
tier0_idYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. Description adds 'No side effects', specifies return fields, and describes error handling (returns error object instead of raising). Adds value beyond annotations.

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?

Well-structured with a clear [READ] tag, purpose, usage guidelines, return fields, and args. Every sentence adds value; no redundancy.

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 no output schema, description lists all return fields and error behavior. Also covers parameters, usage, and sibling distinctions. Completely sufficient for an agent to select and invoke correctly.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but description explains tier0_id as the ID from list_tier0_gateways and target as NSX Manager name from config.yaml with default behavior. Adds meaning that schema lacks.

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?

Clearly states it's a READ operation for a Tier-0 gateway (north-south edge router). Distinguishes from siblings by mentioning usage after list_tier0_gateways and directing BGP queries to get_bgp_neighbors.

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 says when to use (after list_tier0_gateways to inspect HA, or to build tier0_path for create_tier1_gateway) and when not to use (for BGP state, use get_bgp_neighbors). Provides clear context.

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/zw008/VMware-NSX'

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