Skip to main content
Glama
chaandannn

nable (finops-mcp)

set_budget

Set spending budgets with percentage-based Slack alerts and CI gate thresholds. Monitor costs by provider, team, service, or total account.

Instructions

Create or update a spending budget. Budgets fire Slack alerts when spend crosses alert_at_pct, and fail CI checks when it crosses block_at_pct.

Args: name: Budget name (e.g. "Platform Team Monthly") limit_usd: Spending limit in USD scope_type: What to watch, "total", "provider", "team", "service" scope_value: The specific value (e.g. "aws", "platform", "EC2") Use "*" for total account budget period: "monthly" or "weekly" alert_at_pct: Send warning alert at this % of limit (default 80) block_at_pct: Fail CI gate at this % of limit (default 100)

Examples: - "Set a $50,000 monthly budget for AWS" - "Create a $15,000 monthly budget for the platform team" - "Set a $20,000 budget for EC2 with warnings at 75%" - "Add a total monthly budget of $100,000"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
periodNomonthly
limit_usdYes
scope_typeNototal
scope_valueNo*
alert_at_pctNo
block_at_pctNo
Behavior3/5

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

With no annotations, the description carries full burden. It explains when alerts and CI failures trigger based on alert_at_pct and block_at_pct, and scope usage. But it lacks details on update behavior (merge or replace), required permissions, rate limits, or reversibility.

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 a clear intro, parameter list, and examples. Every sentence adds value; no fluff. Front-loaded purpose.

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?

Given 7 parameters and no output schema, the description is fairly comprehensive with parameter details and examples. Missing update behavior details and return value info, but overall adequate.

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 coverage is 0%, yet the description provides thorough explanations for all 7 parameters in the Args section, including default values and scope_value usage (e.g., '*' for total account). Examples further clarify parameter meaning.

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 'Create or update a spending budget' with specifics on what budgets do (fire Slack alerts and fail CI checks). It distinguishes itself from siblings like list_budgets, delete_budget, or check_budget_status.

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?

Examples provide context on when to use the tool (e.g., 'Set a $50,000 monthly budget for AWS'). However, it does not explicitly mention alternatives like sync_budgets_from_yaml for bulk setup or when not to use it.

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