{
  "siteName": "CredSutra",
  "tagline": "Modern banking, decoded by AI.",
  "description": "An autonomous personal finance portal tracking Indian credit card reward devaluations, bank tiers, and loan calculations.",
  "version": "1.0.0",
  "mcpHub": "/mcp",
  "sitemap": "/sitemap-index.xml",
  "entryPoints": {
    "home": "/[lang]/",
    "cardDirectory": "/[lang]/choose",
    "devaluationTracker": "/[lang]/track",
    "webMcpHub": "/[lang]/mcp",
    "calculatorTool": "/[lang]/tools/calculator"
  },
  "tools": [
    {
      "name": "calculateCardRewards",
      "description": "Calculates each card's estimated monthly reward yield for a monthly spend and an online-spend percentage, and returns a shortlist ranked per reward-currency class so cash and points figures are never compared against each other. Every result carries its rewardCurrency, and cards tied with the last place in their class are all included.",
      "params": {
        "monthlySpend": "number",
        "onlineSpendPercentage": "number",
        "cardSlug": "string (optional slug)"
      }
    },
    {
      "name": "compareCards",
      "description": "Retrieves side-by-side comparison specs and showdown verdict between two card identifiers.",
      "params": {
        "cardA": "string (slug)",
        "cardB": "string (slug)",
        "compact": "boolean (optional)",
        "locale": "string (optional: 'en' | 'hi' | 'hinglish')"
      }
    },
    {
      "name": "checkLoungeEligibility",
      "description": "Evaluates airport lounge access against the verified lounge catalogue. Returns a grounded verdict: eligible true, eligible false, or null when eligibility cannot be established from the catalogue.",
      "params": {
        "cardId": "string (slug)",
        "quarterSpend": "number"
      }
    },
    {
      "name": "recommendCards",
      "description": "Recommends top credit cards based on user spend profile, category splits, and optional redemption valuation scenario.",
      "params": {
        "profile": "object (monthlySpend | spendSplit, optional wantsLounge)",
        "ownedCards": "array of strings",
        "scenario": "string (optional: 'floor' | 'portal' | 'as-published')"
      }
    },
    {
      "name": "getCardReview",
      "description": "Retrieves the detailed editorial review, fee waiver terms, lounge access rules, reward earn rates, and key facts for any Indian credit card.",
      "params": {
        "cardId": "string (slug)",
        "locale": "string (optional: 'en' | 'hi' | 'hinglish')"
      }
    },
    {
      "name": "getLatestNews",
      "description": "Fetches the latest credit card news, devaluation tracker updates, milestone cuts, fee revisions, and upcoming policy changes.",
      "params": {
        "bank": "string (optional)",
        "cardId": "string (optional slug)",
        "limit": "number (optional, default 5)"
      }
    },
    {
      "name": "calculateLoanEmi",
      "description": "Calculates monthly EMI, total interest, and total payable for Home Loans or Personal Loans.",
      "params": {
        "principal": "number (loan amount in INR)",
        "annualInterestRate": "number (annual interest rate percentage)",
        "tenureMonths": "number (tenure in months)"
      }
    },
    {
      "name": "form_calculateCardRewards",
      "description": "Calculates estimated monthly reward yields for Indian credit cards from a monthly spend and online-spend ratio via DOM form submission.",
      "params": {
        "monthlySpend": "number (monthly spend in INR)",
        "onlineSpendPercentage": "number (online spend percentage 0-100)"
      }
    },
    {
      "name": "form_checkLoungeEligibility",
      "description": "Evaluates airport lounge access under 2026 spend-based rules for a selected Indian credit card via DOM form submission.",
      "params": {
        "cardId": "string (card slug)",
        "quarterSpend": "number (spend in current quarter in INR)"
      }
    }
  ],
  "browserMCP": {
    "apiObject": "window.document.modelContext",
    "toolsRegistered": [
      {
        "name": "calculateCardRewards",
        "description": "Calculates each card's estimated monthly reward yield for a monthly spend and an online-spend percentage, and returns a shortlist ranked per reward-currency class so cash and points figures are never compared against each other. Every result carries its rewardCurrency, and cards tied with the last place in their class are all included.",
        "params": {
          "monthlySpend": "number",
          "onlineSpendPercentage": "number",
          "cardSlug": "string (optional slug)"
        }
      },
      {
        "name": "compareCards",
        "description": "Retrieves side-by-side comparison specs and showdown verdict between two card identifiers.",
        "params": {
          "cardA": "string (slug)",
          "cardB": "string (slug)",
          "compact": "boolean (optional)",
          "locale": "string (optional: 'en' | 'hi' | 'hinglish')"
        }
      },
      {
        "name": "checkLoungeEligibility",
        "description": "Evaluates airport lounge access against the verified lounge catalogue. Returns a grounded verdict: eligible true, eligible false, or null when eligibility cannot be established from the catalogue.",
        "params": {
          "cardId": "string (slug)",
          "quarterSpend": "number"
        }
      },
      {
        "name": "recommendCards",
        "description": "Recommends top credit cards based on user spend profile, category splits, and optional redemption valuation scenario.",
        "params": {
          "profile": "object (monthlySpend | spendSplit, optional wantsLounge)",
          "ownedCards": "array of strings",
          "scenario": "string (optional: 'floor' | 'portal' | 'as-published')"
        }
      },
      {
        "name": "getCardReview",
        "description": "Retrieves the detailed editorial review, fee waiver terms, lounge access rules, reward earn rates, and key facts for any Indian credit card.",
        "params": {
          "cardId": "string (slug)",
          "locale": "string (optional: 'en' | 'hi' | 'hinglish')"
        }
      },
      {
        "name": "getLatestNews",
        "description": "Fetches the latest credit card news, devaluation tracker updates, milestone cuts, fee revisions, and upcoming policy changes.",
        "params": {
          "bank": "string (optional)",
          "cardId": "string (optional slug)",
          "limit": "number (optional, default 5)"
        }
      },
      {
        "name": "calculateLoanEmi",
        "description": "Calculates monthly EMI, total interest, and total payable for Home Loans or Personal Loans.",
        "params": {
          "principal": "number (loan amount in INR)",
          "annualInterestRate": "number (annual interest rate percentage)",
          "tenureMonths": "number (tenure in months)"
        }
      },
      {
        "name": "form_calculateCardRewards",
        "description": "Calculates estimated monthly reward yields for Indian credit cards from a monthly spend and online-spend ratio via DOM form submission.",
        "params": {
          "monthlySpend": "number (monthly spend in INR)",
          "onlineSpendPercentage": "number (online spend percentage 0-100)"
        }
      },
      {
        "name": "form_checkLoungeEligibility",
        "description": "Evaluates airport lounge access under 2026 spend-based rules for a selected Indian credit card via DOM form submission.",
        "params": {
          "cardId": "string (card slug)",
          "quarterSpend": "number (spend in current quarter in INR)"
        }
      }
    ]
  },
  "scrapingSemantics": {
    "cardDetail": {
      "name": "[data-agent-prop=\"cardName\"]",
      "bank": "[data-agent-prop=\"bank\"]",
      "annualFee": "[data-agent-prop=\"annualFee\"]",
      "loungeAccess": "[data-agent-prop=\"loungeAccess\"]",
      "rewardsRate": "[data-agent-prop=\"rewardsRate\"]",
      "bestFor": "[data-agent-prop=\"bestFor\"]"
    },
    "staticJsonAlternate": {
      "metaSelector": "link[rel=\"alternate\"][type=\"application/json\"][data-agent-alternate]"
    }
  }
}
