Skip to main content
Glama

ako_ingress_diagnose

Read-onlyIdempotent

Diagnose why an Ingress lacks an AVI Virtual Service by validating IngressClass, TLS secrets, and backend Services. Returns issues with fix suggestions.

Instructions

[READ] Diagnose why a specific Ingress has no corresponding AVI Virtual Service.

Reads the Ingress and validates three things: IngressClass is 'avi' or 'avi-lb', each referenced TLS secret exists, and every backend Service exists in the namespace. Returns the Ingress annotations, a numbered issue list, and concrete fix suggestions (kubectl commands). If configuration is clean, it points you to ako_logs and ako_sync_status as next steps. Use ako_ingress_map first to find which Ingresses are missing a VS, then diagnose one here.

Args: name: Exact Ingress resource name. Fails with 'not found' if absent. namespace: K8s namespace containing the Ingress (default 'default'). context: kubeconfig context name (optional; uses current context). Discover context names with ako_clusters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
namespaceNodefault
contextNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Adds behavioral context beyond annotations: details three validations, return content (annotations, issue list, fix suggestions), and next steps if clean. No contradiction with 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?

Concise (~140 words), well-structured with summary, body, parameters. No unnecessary sentences.

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?

Covers validations, output, and next steps. With output schema present, return values are covered. Minor omission: no mention of error cases beyond missing name.

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?

Schema coverage is 0%, but description provides meaningful details for each parameter: name must be exact and returns 'not found', namespace defaults to 'default', context optional and discoverable via ako_clusters.

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 diagnoses why an Ingress has no corresponding AVI Virtual Service, lists three validations, and distinguishes from sibling tools like ako_ingress_map and ako_ingress_check.

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?

Explicitly instructs to use ako_ingress_map first and then diagnose one here. Lacks explicit 'do not use for' but 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-AVI'

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