Skip to main content
Glama
junzzhu

OpenShift MCP Server

by junzzhu

inspect_gpu_pod

View GPU process and memory details in OpenShift pods using nvidia-smi to debug memory issues, verify GPU allocation, and check running processes.

Instructions

Run 'nvidia-smi' inside a GPU-enabled pod to view real-time process and memory details.

Why:
- Debug OOM: See exact memory usage per process.
- Verify allocation: Confirm the pod actually sees the GPU.
- Check processes: Identify zombie processes or unexpected workloads.

Args:
    namespace: Pod namespace
    pod_name: Pod name
    
Returns:
    Output of nvidia-smi from inside the pod.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namespaceYes
pod_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries full burden and discloses key behaviors: it runs a command inside a pod (implies execution capability), returns real-time output, and is specifically for GPU-enabled pods. It doesn't mention permissions, rate limits, or side effects, but covers core operational context adequately.

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?

Well-structured with clear sections (description, Why, Args, Returns), each sentence adds value. No redundant information; front-loaded with the core action, followed by rationale and details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 2 parameters, no annotations, and an output schema (implied by 'Returns'), the description is complete: it explains purpose, usage, parameters, and output. For a diagnostic tool with straightforward inputs/output, no critical gaps remain.

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 description coverage is 0%, so the description must compensate. It lists both parameters ('namespace', 'pod_name') under 'Args' with brief explanations, adding meaning beyond the bare schema. However, it doesn't specify format constraints or examples (e.g., namespace naming rules).

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?

The description clearly states the specific action ('Run nvidia-smi inside a GPU-enabled pod') and resource ('GPU-enabled pod'), with distinct purpose from siblings like 'get_gpu_utilization' (monitoring) or 'get_pod_diagnostics' (general diagnostics). It explicitly mentions viewing 'real-time process and memory details'.

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

Usage Guidelines5/5

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

The 'Why' section provides explicit guidance on when to use this tool: for debugging OOM, verifying GPU allocation, and checking processes. It implicitly distinguishes from siblings by focusing on real-time GPU process inspection rather than health checks, logs, or utilization metrics.

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/junzzhu/openshift-mcp-server'

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