{
  "$schema": "https://spec.modelcontextprotocol.io/schema/tools.json",
  "tools": [
    {
      "name": "calculate_savings_goal",
      "description": "Calculate monthly savings needed to achieve a target goal in Piggy Ledger",
      "inputSchema": {
        "type": "object",
        "properties": {
          "targetAmount": {
            "type": "number",
            "description": "Target financial goal amount in user's currency"
          },
          "targetMonths": {
            "type": "number",
            "description": "Number of months to achieve the target"
          },
          "currentSavings": {
            "type": "number",
            "description": "Current savings already accumulated"
          }
        },
        "required": ["targetAmount", "targetMonths"]
      }
    },
    {
      "name": "lookup_gold_rates",
      "description": "Look up live 18k, 21k, and 24k gold karat market prices per gram and compute asset valuation",
      "inputSchema": {
        "type": "object",
        "properties": {
          "grams": {
            "type": "number",
            "description": "Number of grams of gold"
          },
          "karat": {
            "type": "string",
            "enum": ["18k", "21k", "24k"],
            "description": "Gold purity karat"
          }
        },
        "required": ["grams"]
      }
    }
  ]
}
