Skip to main content
Glama

get_jobs

Read-only

Fetch Job summary rows: name, namespace, completions, parallelism, succeeded/failed/active counts, start and completion time. Failed jobs sort first. A list needs namespace or all_namespaces=true and carries total, returned, truncated and scope.

Input Schema

NameRequiredDescriptionDefault
nameNoSpecific Job 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?

With readOnlyHint=true already declaring the safe-read profile, the description adds real behavioral value: the returned field set, the 'failed jobs sort first' ordering rule, and the list envelope (total, returned, truncated, scope). These are traits not derivable from the annotations.

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?

Three tight sentences, front-loading the returned fields before the scoping constraint. Little waste, though the scoping sentence partially duplicates what the schema already states.

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?

No output schema exists, so the description must carry return semantics, and it does so by listing the summary columns and the pagination envelope. Only minor gaps remain, such as error behavior beyond the scope_required case already in the schema.

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 the schema already documents name, namespace, cluster_id, and all_namespaces in detail. The description restates the namespace/all_namespaces rule with no additional syntax or format nuance, so it matches the baseline of 3 rather than exceeding it.

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 and resource ('Fetch Job summary rows') and enumerates the exact fields returned. An agent can distinguish this from get_cronjobs and get_deployments by the 'Job' resource and completions/parallelism fields, though it never names a sibling explicitly.

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?

Provides a conditional rule for listing ('needs namespace or all_namespaces=true') versus a named read, which is useful context. However it offers no when-to-use guidance relative to the many sibling list/get tools (e.g. get_cronjobs, get_application_jobs), so routing is left to inference.

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