Skip to main content
Glama
chaandannn

nable (finops-mcp)

list_kubernetes_contexts

List all Kubernetes contexts from your local kubeconfig and identify the active context. Use this to choose a context for Kubernetes cost queries.

Instructions

List all Kubernetes contexts available in the local kubeconfig, and show which one is currently active. Use this to discover what to pass as the 'context' argument to get_kubernetes_costs.

Examples: - "What Kubernetes clusters do I have?" - "List my kubeconfig contexts" - "Which K8s context is currently active?"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations, so description carries full burden. Clearly states it lists contexts from local kubeconfig and shows active context. Implicitly non-destructive; no side effects mentioned, but acceptable for a list operation.

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?

Two concise sentences plus examples. Every sentence adds value: purpose, usage guidance, and example queries. No unnecessary information.

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?

Covers purpose, usage, and behavior adequately. No output schema, but return format (list of context names) is implied. Slight gap in not describing exact output structure.

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 has 0 parameters with 100% coverage. Baseline 3 applies as description adds no parameter detail, which is appropriate given no parameters.

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?

Description clearly states verb 'List' and resource 'Kubernetes contexts', with specifics about showing active context and providing examples. Differentiates from sibling tools by explicitly mentioning its use for get_kubernetes_costs.

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?

Directly states when to use: to discover context argument for get_kubernetes_costs. Implicitly covers other scenarios like listing contexts. Lacks explicit when-not or alternatives, but narrow scope makes it adequate.

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/chaandannn/finopsmcp'

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