Skip to main content
Glama

get_services

Read-only

Fetch service summary rows: name, namespace, type, cluster IP, external IPs, ports, selector, and the load balancer addresses of a LoadBalancer service (one still waiting for an address sorts first). A list needs namespace or all_namespaces=true and carries total, returned, truncated and scope.

Input Schema

NameRequiredDescriptionDefault
nameNoSpecific service name to fetch.
namespaceNoKubernetes namespace to list. A list needs either this or all_namespaces=true; a named read (name) needs neither.
cluster_idYesAnkra cluster id (UUID) the call targets. Discover ids with list_clusters.
all_namespacesNoSet true to list every namespace on the cluster deliberately. Omit it and pass namespace to list one namespace; a list with neither is refused (error_code scope_required).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered. The description goes beyond that by disclosing sort behavior (a LoadBalancer still awaiting an address sorts first) and result metadata (total, returned, truncated, scope) plus the scope_required error path, all of which are non-obvious behaviors.

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?

Two dense sentences with no filler; the returned-field inventory is front-loaded, followed by list semantics. The parenthetical sorting note is useful but slightly buried in the middle of the first sentence.

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?

With readOnlyHint covering safety and no output schema present, the description usefully inventories the returned columns and scope metadata, which compensates for the missing output schema. It is adequately complete for a read/list tool of this complexity.

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 coverage is 100%, so the schema already documents every parameter with the equivalent list/named-read constraint and the scope_required error. The description largely restates that constraint, adding little beyond the structured fields, 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 specific verb ('Fetch') and resource ('service summary rows') and enumerates the returned columns, giving a precise picture of the tool's output. It does not explicitly differentiate from adjacent sibling tools like get_service_instance or list_service_instances, but the k8s 'service' scope is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clarifies the two modes — a named read (name) versus a list needing namespace or all_namespaces=true — which is useful operational context. However, it offers no routing guidance for choosing this tool over sibling tools such as get_service_instance, so selection intent is only implied.

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.

Resources