Skip to main content
Glama

generate_istio_config

Generate Istio VirtualService, DestinationRule, and Gateway manifests

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": {
      "service": "<service>",
      "namespace": "<namespace>",
      "hosts": "<hosts>"
    },
    "name": "generate_istio_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostsYesHosts/domains
serviceYesService name
namespaceYesKubernetes namespace
canaryWeightNoCanary traffic percentage
withTrafficSplitNoInclude traffic splitting (canary)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and doesn't say whether manifests are returned as text, written to disk, or applied to a cluster, nor whether the operation has side effects. It also stays silent on how canaryWeight interacts with withTrafficSplit and what the default behavior is when that flag is omitted.

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

Conciseness4/5

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

A single, front-loaded sentence naming the produced artifacts with no wasted words. It is efficient, though its terseness leaves no room for the routing or prerequisite context the tool needs.

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?

A 5-parameter generation tool with no annotations and no output schema needs the description to cover return shape, defaults, and side effects, and it covers none of these. The only real coverage comes from the schema, leaving the behavioral surface underspecified.

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%, so all five parameters are already documented (hosts, service, namespace, canaryWeight, withTrafficSplit). The description adds no extra meaning about formats, defaults, or interactions between canaryWeight and withTrafficSplit, so the baseline 3 applies.

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

Purpose4/5

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

States a concrete verb ('Generate') plus the exact Kubernetes/Istio artifact types (VirtualService, DestinationRule, Gateway), which is more specific than most sibling 'generate_*_config' tools. It doesn't contrast itself with the service-mesh-adjacent sibling (generate_linkerd_config), so an agent must infer that distinction from the resource names 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?

No guidance on when to choose this over generate_linkerd_config or other mesh/gateway configs, no prerequisites (e.g., Istio installed, target namespace exists), and no statement about whether the output is applied or merely emitted. Usage is only implied by the resource names.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.