Skip to main content
Glama
getnable

nable (finops-mcp)

by getnable

Get label costs

get_label_costs
Read-only

Aggregate Kubernetes costs by any pod label to enable chargeback. Group spend by team, environment, or app, with untagged costs flagged.

Instructions

Aggregate Kubernetes costs by any pod label across all namespaces. Great for chargeback: see spend by team, environment, app, or any label.

Workloads without the label are grouped under 'untagged'. If tagging coverage is low, the response includes a warning with the tagged %.

Common label_key values: team, env, environment, app, component, tier, app.kubernetes.io/name, app.kubernetes.io/part-of

Examples: - "Show me Kubernetes costs by team" - "Which team is spending the most on Kubernetes?" - "Break down K8s costs by environment" - "How much is the payments team spending in the cluster?" - "Show K8s cost by app label" - "What percentage of our cluster is untagged?" Args: label_key: Kubernetes label key to group costs by (e.g. "app", "team"). context: Kubernetes context name from list_kubernetes_contexts(). Default context when omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contextNo
label_keyNoteam
Behavior4/5

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

Annotations already indicate readOnlyHint=true and destructiveHint=false. Description adds behavioral details such as untagged grouping (__untagged__) and warning for low tagging coverage, enriching transparency beyond 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?

Description is concise and front-loaded with purpose. Examples and bullet list add value but could be slightly more streamlined. Still effective and well-structured.

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?

Covers all necessary aspects: purpose, parameters, untagged behavior, warnings, and examples. References sibling tool for context. Complete for effective agent use without output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 0% description coverage, but description fully compensates by explaining label_key with common values and examples, and context parameter with source and default behavior. All parameters are clearly defined.

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?

Clearly states the tool aggregates Kubernetes costs by any pod label across all namespaces, with explicit mention of chargeback use case and specific labels. Distinguishes from sibling tools like get_costs_by_team which is team-specific.

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?

Provides examples of query intents (by team, environment, app, etc.) and describes untagged grouping. Clear context for when to use, though lacks explicit when-not-to-use or alternatives.

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

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