Skip to main content
Glama

update_tier1_gateway

Partially update a Tier-1 gateway, change its Tier-0 connection or enable route advertisement without affecting other settings.

Instructions

[WRITE] Partially update an existing Tier-1 gateway via PATCH.

Only the fields you pass change; omitted fields keep their current values. Use get_tier1_gateway first to inspect current config. Typical uses: relink the gateway to a different Tier-0, or enable route advertisement on a gateway created without it. Re-applying identical values is harmless. Returns the updated gateway dict; on failure returns {"error", "hint"}. Recorded in the audit log (~/.vmware/audit.db).

Args: tier1_id: Tier-1 gateway ID to update, as returned by list_tier1_gateways. display_name: New display name. Optional. tier0_path: New parent Tier-0 policy path, e.g. "/infra/tier-0s/". Optional. route_advertisement: Comma-separated advertisement types. Valid values: TIER1_CONNECTED, TIER1_STATIC_ROUTES, TIER1_NAT, TIER1_LB_VIP, TIER1_LB_SNAT, TIER1_DNS_FORWARDER_IP, TIER1_IPSEC_LOCAL_ENDPOINT. target: NSX Manager name from config.yaml. Uses the default target if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo
tier1_idYes
tier0_pathNo
display_nameNo
route_advertisementNo
Behavior4/5

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

Annotations already indicate write operation (readOnlyHint=false). Description adds details about partial update, return format, and audit logging, providing valuable context 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 header, bullet points for use cases, and clear Args section. Every sentence adds value; no wasted words.

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?

Explains return format (updated dict or error dict), mentions audit log, and covers all aspects needed for a partial update tool with multiple optional parameters.

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?

Despite 0% schema coverage, description fully explains all parameters with examples and valid values for route_advertisement. This compensates completely for the schema gap.

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?

Description clearly states verb (update), resource (Tier-1 gateway), and method (PATCH). It distinguishes from siblings like create_tier1_gateway and delete_tier1_gateway.

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?

Advises to inspect current config with get_tier1_gateway first, lists typical use cases, and notes idempotency. Could add explicit when-not-to-use but otherwise excellent.

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