Skip to main content
Glama

Compound Mint Money Calculator

Christmas gift budget calculator

calculate_gift_budget
Read-onlyIdempotent

Use when a user asks how to split a Christmas or holiday gift budget between people, how much to spend on each person, or what it costs to put gifts on a credit card, e.g. "split $800 for gifts between 5 people", "I have $600: Mom 30%, Dad 30%, my sister 40%", "is $150 for mom and $100 for dad within my $300 budget?" or "how much interest if I put $800 of gifts on a 22% card for 6 months?". Budget comes from total_budget, or monthly_income x percent_of_income, or already_saved + monthly_savings x months_until_shopping. Splits it evenly, by percent or by a set amount per person; returns each person's amount, the total, what is left or over budget and, with card_apr, the monthly payment and interest. Same math as the compoundmint.com Christmas gift budget calculator. For a whole holiday plan with travel, food and decor use calculate_holiday_budget. Educational only, not financial advice.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "people": "<people>"
    },
    "name": "calculate_gift_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
splitNoHow to split the budget. Default: percent if people carry percents, amount if they carry amounts, else equal.
peopleYesPeople on the gift list, up to 100. Each item: a name, plus percent (for a percent split) or amount in USD (for an amount split). Names alone give an even split. Text also works: "Mom:30%, Dad:30%, Sister:40%" (percents) or "Mom:150, Dad:100" (USD).
card_aprNoOptional: credit card APR in percent, e.g. 22, to see the interest if the gifts go on a card.
total_budgetNoTotal gift budget in USD, e.g. 800. Or send per_person_budget with people or number_of_people, or monthly_income + percent_of_income, or monthly_savings + months_until_shopping.
already_savedNoUSD already saved for gifts (savings route, default 0).
payoff_monthsNoOptional: months to pay the card off, e.g. 6. Without it you get 3, 6 and 12 months.
amount_on_cardNoOptional: USD put on the card (default: all planned gifts).
monthly_incomeNoMonthly take-home pay in USD, used with percent_of_income when there is no total_budget.
monthly_savingsNoUSD you can save each month before you shop (savings route).
number_of_peopleNoInstead of people: how many people, for an even split.
per_person_budgetNoInstead of total_budget: USD to spend on each person, e.g. 50. The budget is this times the number of people.
percent_of_incomeNoPercent of one month of take-home pay for gifts, e.g. 10 for 10%.
months_until_shoppingNoMonths you can save before you shop (needed with monthly_savings).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / per_person_budget
      Added value: +{
      +  "description": "Instead of total_budget: USD to spend on each person, e.g. 50. The budget is this times the number of people.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • changedInput schema / properties / total_budget / description
      Previous value: -"Total gift budget in USD, e.g. 800. Or send monthly_income + percent_of_income, or monthly_savings + months_until_shopping."New value: +"Total gift budget in USD, e.g. 800. Or send per_person_budget with people or number_of_people, or monthly_income + percent_of_income, or monthly_savings + months_until_shopping."
  2. Changed1 schema field changed
    • changedInput schema / properties / people / description
      Previous value: -"People on the gift list, up to 100. Each item: a name, plus percent (for a percent split) or amount in USD (for an amount split). Names alone give an even split. Text like \"Mom:30, Dad:30, Sister:40\" also works."New value: +"People on the gift list, up to 100. Each item: a name, plus percent (for a percent split) or amount in USD (for an amount split). Names alone give an even split. Text also works: \"Mom:30%, Dad:30%, Sister:40%\" (percents) or \"Mom:150, Dad:100\" (USD)."
  3. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds real value beyond that: the fallback budget-derivation routes, the returned fields (per-person amount, total, leftover/over, monthly payment and interest when card_apr is set), and an 'educational only, not financial advice' caveat. It stops short of saying what happens when multiple budget inputs conflict.

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?

Front-loaded with the trigger and examples before the mechanics, and the arithmetic summary is dense but readable. Slight cost from the 'same math as the compoundmint.com calculator' plug and some repetition of the split modes already in the schema.

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?

For a 13-parameter calculator with no output schema, the description explains both inputs' roles and the shape of the return value, which is the main completeness risk. The remaining gap is precedence when several budget sources are supplied at once (e.g. both total_budget and monthly_income), which the description never resolves.

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 coverage is already 100%, so the baseline is 3. The description earns a point above baseline by explaining the budget-derivation arithmetic (total_budget, monthly_income × percent_of_income, already_saved + monthly_savings × months_until_shopping) and the default split inference, which the schema states only per-parameter.

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?

States a specific verb and resource (split a gift budget, compute per-person amounts and card interest) and distinguishes itself from the sibling 'calculate_holiday_budget' by naming the broader travel/food/decor scope. Four concrete sample queries make the capability unmistakable.

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?

Opens with an explicit trigger ('Use when a user asks how to split...') and enumerates the cases covered, then names the alternative tool and the condition that favors it. When-to-use, when-to-use-something-else, and scope boundary are all present.

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