Skip to main content
Glama
DESKTOP_CLIENT_INSTRUCTIONS.md1.72 kB
# 🚨 DESKTOP CLIENT: How to Fix Amortized Costs ## ⚠️ Current Problem Desktop client is getting **unblended costs** when asking for **amortized costs** because it's using wrong parameters. ## ✅ Solution: Use the API Artifact ### **Step 1: Get the Artifact (REQUIRED)** ``` get_umbrella_api_artifact() ``` ### **Step 2: Follow Artifact Mappings** From the artifact, you'll learn: - ✅ "amortized costs" → `isAmortized: "true"` - ✅ "net amortized costs" → `isNetAmortized: "true"` - ✅ Always include `accountId` (required) - ❌ NEVER use `costType` parameter (ignored by API) - ❌ NEVER use `isUnblended` parameter (doesn't work) ### **Step 3: Use Correct Parameters** **For Regular Amortized:** ```json { "accountId": "932213950603", "startDate": "2024-12-01", "endDate": "2025-08-24", "groupBy": "none", "periodGranLevel": "month", "cloud_context": "aws", "isAmortized": "true" } ``` **For Net Amortized:** ```json { "accountId": "932213950603", "startDate": "2024-12-01", "endDate": "2025-08-24", "groupBy": "none", "periodGranLevel": "month", "cloud_context": "aws", "isNetAmortized": "true" } ``` ## 🔍 How to Verify Success - Server says "regular amortized costs" (not "returns unblended costs") - March 2025 Regular Amortized: $108,831.79 (not $104,755.07) - March 2025 Net Amortized: $64,730.56 (42% savings) ## 🎯 Tools Available 1. `check_amortized_prerequisites(query_type="amortized")` - Checks if you need the artifact 2. `get_umbrella_api_artifact()` - Gets complete parameter reference 3. `validate_caui_parameters(parameters={...})` - Validates parameters before API calls ## 🚨 Remember **Without the artifact, you WILL get wrong results!**

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