Skip to main content
Glama

services and addresses

services

Query live Kubernetes endpoints with their cluster IP, external IP, and ports; ask by name or plain-language question to scope or filter results.

Instructions

services in a cluster with their cluster IP, external IP and ports — ask for one by name, e.g. “traefik ip on tz preprod”. Read live from the systems the portal is connected to.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
focusNoOne name to look at — a service, host, application or pod — when the question is about a single thing.
limitNoRows to return. The true total is always reported, even when the rows are cut.
questionNoThe question in plain words. Names in it are honoured: a cluster or project name scopes the answer, a namespace narrows it, and words like failing, unhealthy, pending or notready filter it. Leave it out for everything.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry the safety profile, and "Read live from the systems the portal is connected to" does communicate a read-only, live (non-cached) operation with a dependency on connection state. It says nothing about behaviour on a disconnected or unreachable system, nor about freshness, latency or auth requirements, leaving real gaps for a zero-annotation tool.

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?

It is a single front-loaded sentence naming the resource and its payload first, then the usage hint. The em-dash example clause is dense and slightly fragmentary, but no sentence is wasted.

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?

A read-only three-optional-parameter tool with no output schema; the description covers what fields come back and how to scope a query by name. The remaining gap is behavioural, not informational: nothing about what happens when the portal's connections are unavailable.

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 coverage is 100%, so a 3 is the baseline, but the example "traefik ip on tz preprod" shows how a cluster name and object name are packed into the natural-language question, which adds meaning the schema's description does not convey on its own. The limit and focus parameters gain nothing extra beyond the schema text.

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?

The description names a specific resource (services in a cluster) and states exactly what is returned: cluster IP, external IP and ports. It does not explicitly contrast with plausible neighbours such as ingress or pods, so it falls short of a 5, but an agent can tell what the tool does without opening the schema.

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?

It gives a clear use case (asking about a single service by name) backed by a concrete example query, "traefik ip on tz preprod". It does not state exclusions or name which sibling to use for multi-object or manifest-level questions, so it stops short of explicit when-not guidance.

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