Skip to main content
Glama
DESKTOP_CLIENT_EXACT_FIX.md2.2 kB
# 🚨 DESKTOP CLIENT: EXACT PARAMETER FIX ## ❌ What You're Using (WRONG): ```json { "costType": "net_amortized_cost", // THIS PARAMETER DOESN'T EXIST! "isUnblended": "true", // WRONG COMBINATION "endDate": "2025-08-24", "groupBy": "none", "accountId": "932213950603", "startDate": "2025-01-01", "cloud_context": "aws", "periodGranLevel": "month" } ``` **Result**: Returns unblended costs ($104,755.07 for March) ## ✅ What You SHOULD Use (CORRECT): ### For Regular Amortized Costs: ```json { "accountId": "932213950603", "startDate": "2025-01-01", "endDate": "2025-08-24", "groupBy": "none", "periodGranLevel": "month", "cloud_context": "aws", "isAmortized": "true" // ✅ THIS IS THE CORRECT PARAMETER } ``` **Expected Result**: March 2025 = $108,831.79 ### For Net Amortized Costs (RI/SP Benefits): ```json { "accountId": "932213950603", "startDate": "2025-01-01", "endDate": "2025-08-24", "groupBy": "none", "periodGranLevel": "month", "cloud_context": "aws", "isNetAmortized": "true" // ✅ THIS IS THE CORRECT PARAMETER } ``` **Expected Result**: March 2025 = $64,730.56 ## 🔑 KEY CHANGES: 1. **REMOVE**: `costType` parameter - IT DOESN'T EXIST 2. **REMOVE**: `isUnblended` parameter - IT CAUSES CONFLICTS 3. **ADD**: `isAmortized: "true"` OR `isNetAmortized: "true"` 4. **KEEP**: All other parameters the same ## 🎯 WHY YOUR CURRENT APPROACH FAILS: - `costType` parameter is **completely ignored** by the API - `isUnblended: "true"` forces unblended costs regardless of other parameters - You're getting the SAME data every time because wrong parameters default to unblended ## ✅ HOW TO VERIFY SUCCESS: **Before (Your Current Results):** - March 2025: $104,755.07 (unblended) **After (Correct Parameters):** - March 2025 Regular Amortized: $108,831.79 - March 2025 Net Amortized: $64,730.56 **Server Response Should Say:** - "regular amortized costs" or "net amortized costs" - NOT "returns unblended costs" ## 🚨 CRITICAL INSIGHT: The API response note about "ask for 'net amortized costs'" means use `isNetAmortized: "true"` parameter - NOT invent a `costType` parameter!

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/daviddraiumbrella/invoice-monitoring'

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