CloudQuell
Server Details
Ask about AWS, Azure, GCP, OpenAI, Anthropic and Snowflake costs, budgets, and anomalies.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- OAuth
- Requires browser extension
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 71 tools
Most tools have explicitly documented boundaries, but several clusters overlap heavily: query_costs, compare_periods, run_cost_pivot, get_weekly_cost_slices, get_forecast and get_finops_briefing all answer spend questions, while get_available_services/tag_keys/linked_accounts overlap with get_metadata. The descriptions repeatedly steer the agent to the right tool, but with 71 tools the risk of misselection remains.
The tool set is predominantly consistent snake_case verb_noun naming: create_*, get_*, list_*, update_*, delete_*, run_*, preview_*. Minor deviations exist, notably plural list-style tools named get_budgets/get_budgets and specialist verbs like compare_periods and investigate_anomaly, but the pattern remains readable and predictable.
At 71 tools, the surface is far beyond the well-scoped 3-15 range and well past the 25+ threshold for being too heavy. FinOps is a broad domain and many tools are distinct, but there is enough overlap among cost-query and discovery tools that the set could be consolidated substantially.
Budgets, alert rules, notification channels and report schedules have strong lifecycle coverage, and the read/analytics surface is extensive. However, core domains have notable gaps: saved reports lack create/update/delete, cost centers lack update/delete, allocation rules lack delete, integrations lack create/update/delete, and members lack role/removal management, forcing dashboard fallbacks.
Publisher details
- Operator
- CloudQuell · Publisher source
- Operator website
- https://www.cloudquell.com/
- Vendor relationship
- First-party · Publisher source
- Privacy policy
- https://docs.cloudquell.com/trust/security-and-privacy/
- Trust center
- Not provided
- Restrictions
- A CloudQuell account and an eligible subscription plan are required to access the MCP server. Authentication is handled through OAuth 2.1. Access is subject to the user's organization permissions. · Publisher source
Available Tools
71 toolscancel_inviteCancel Organization InviteADestructiveIdempotentInspect
Cancel (revoke) a pending organization invite by its id (DELETE /api/invites/{inviteId}). DESTRUCTIVE — the invite can no longer be accepted. Get invite_id from list_invites, which returns every pending and recently expired invite with its id, email and role — do not guess it. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "invite_id": "a1b2c3d4-...", "confirm": true } revokes that invite.
Inputs: invite_id (required), confirm.
compare_periodsCompare PeriodsARead-onlyInspect
Compare two time periods and rank what changed — THE tool for "what changed in our bill?", "why is this month higher than last?", "what moved week over week?", "which team's spend went up?". Returns totals for both periods, the absolute and percentage delta, and a movers table ranked by the SIZE of the change (largest absolute swing first), each row flagged "new" (spend only in period_a), "gone" (only in period_b), or "changed". Deltas are period_a MINUS period_b — period_b is the baseline. Give explicit windows ({ "period_a": { "start_date": "2026-06-01", "end_date": "2026-06-15" }, "period_b": { … } }) or use preset: "mom" (this month-to-date vs the same day-range of the previous month — also the default when you pass nothing), "wow" (the last 7 days vs the 7 before), "yoy" (this month-to-date vs the same day-range 12 months ago). Break the change down with group_by. "service" (default) and "account" are the FAST path: one call, any window length. Also: "tag:" (any tag key), "subcategory" (usage type), "usage_family", "region", "cost_center", "service_category", "charge_type". Those run two DAILY cost pivots in parallel (never monthly columns, which would compare a partial month against a full one), so: each window must be 31 days or shorter (a longer one is refused); they need one scope — provider OR integration_id, not both — and default to AWS like the fast path, saying so in scopeNote; a tag key is checked against get_available_tag_keys first and a wrong one is refused with the valid keys (keys are case- and hyphen-sensitive); and if the backend serves a different window than requested the tool fails rather than compare clamped data. Tag rows include "untagged" for spend without that tag. If those pivots take longer than the call allows you get { "status": "pending", "jobIds", "resumeWith" }: call compare_periods again with the resumeWith arguments (they include job_ids) to finish — that collects the same jobs instead of starting new ones. Scope with provider and integration_id. cost_basis is applied identically to BOTH periods and echoed as costBasis; on the fast path you can set any subset of the five toggles (the rest keep the organization's saved values), but the pivot group_by values take all five or none, because a pivot can't layer a partial basis over the saved settings. limit caps the movers table (default 25). FOLLOW-UP: this tool tells you WHAT moved; investigate_anomaly tells you WHY for a service, and run_cost_pivot with the mover's dimension plus "service" shows what is inside a tag or usage-type mover. Read-only. Examples: { "preset": "mom", "group_by": "service", "limit": 10 } returns the 10 services that moved the most this month vs the same days last month; { "preset": "mom", "group_by": "tag:team" } does the same per team tag value; { "preset": "wow", "group_by": "subcategory", "provider": "aws" } ranks usage types week over week.
Inputs: limit, preset, job_ids, group_by, +6 more. Returns: note, tool, counts, jobIds, +23 more
create_alert_ruleCreate Alert RuleAInspect
Create a cost-alert rule (POST /api/reports/cost-dashboard/alerts) — the same rule the Alerts page's form builds. Required: alert_name, alert_type, the threshold for that type, and at least one recipient. By type: trend → threshold_percent (fires when total spend rises ≥ that % vs the previous period); anomaly → threshold_percent + optional threshold_amount minimum impact (per-service spike vs a 4-window baseline); budget → threshold_amount in the org's currency (spend over the analysis period reaches it — standalone, NOT a create_budget budget); expiry → threshold_amount = days notice, whole 1-365: every commitment on the Commitments page with an end date (AWS RIs and Savings Plans; Azure reservations and savings plans when their end dates are available; not Google Cloud CUDs) ending within that many days, listed by commitment id and end date, each notified once (service / account / tag filters do not apply); tokens_per_request ("Tokens per Request Rise", OpenAI only) → threshold_percent (> 0; the Alerts form suggests 50): fires when the 7-day average input tokens per request (uncached + cached input tokens ÷ requests) of an OpenAI API key or model is more than that % above its prior 28-day average on 3 consecutive days. It runs daily only (frequency daily, analysis_period 7d_vs_28d — both the defaults), is evaluated per per (api_key, the default, or model), skips any key / model with fewer than min_requests requests in the 7 days (default 1000), and values limits it to given key ids or model names; it watches every OpenAI connection, or one OpenAI integration_id, and takes no services / accounts / tags. frequency is the evaluation cadence at 08:00 UTC (daily | weekly = Mondays | monthly = the 3rd; default weekly); analysis_period the window (defaults per type). Scope: omit integration_id for the whole organization across every provider, or pin one connection; services, accounts, tags narrow it (empty = everything). Cost center (budget and trend only): cost_center_id (list_cost_centers) measures the rule on that cost center — its allocation rules decide what counts, child cost centers included, and the figures match the Allocation page's cost-center breakdown for the same window; it is organization-wide and takes no integration_id, services, accounts or tags. Recipients: notification_channel_ids (list_notification_channels) and/or emails (up to 5). A rule with nowhere to deliver is refused. Validation errors come back from the backend verbatim — fix the field it names. Returns the created rule as list_alert_rules shows it. In the app any active member can create alert rules and manage the ones they created, contributors and admins manage every rule, viewers can attach saved channels but not ad-hoc emails, and the public demo organization is read-only; over MCP every write additionally needs the admin gate below. Alert rules need a paid plan. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "alert_name": "EC2 weekly spike", "alert_type": "trend", "threshold_percent": 20, "frequency": "daily", "services": ["AmazonEC2"], "notification_channel_ids": ["<channel_id>"], "confirm": true }; { "alert_name": "Prompt bloat", "alert_type": "tokens_per_request", "threshold_percent": 50, "per": "model", "emails": ["ml@example.com"], "confirm": true }.
Inputs: alert_name (required), alert_type (required), per, tags, +13 more.
create_allocation_ruleCreate Allocation RuleAInspect
Create a cost-allocation rule (POST /api/allocation-rules) that routes matching spend to a cost center. match_dimension picks what it matches: "tag" (tag_key + tag_value, exact match, both case-sensitive — copy keys from get_available_tag_keys), "service" (service_code, e.g. "AmazonRDS"), or "integration" (integration_id — everything from one connection). For tag/service rules integration_id optionally narrows the rule to one connection. priority sets resolution order: LOWER is checked FIRST and the first matching rule claims the dollar (default 100; ties go to the older rule, so a new rule ranks after existing rules of the same priority). A new rule can therefore take spend from another center, not only from Unallocated. ALWAYS run preview_allocation_rule with the same fields first and show the user the impact. After saving, this tool returns impact — the before/after allocation for the current month to date — unless include_impact:false. The backend refuses a duplicate match (same dimension, value and scope as an existing rule) and a target center that has child centers. Reversible: disable it with update_allocation_rule. Requires a paid plan. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "cost_center_id": "", "match_dimension": "tag", "tag_key": "team", "tag_value": "platform", "priority": 50, "confirm": true }.
Inputs: cost_center_id (required), match_dimension (required), confirm, enabled, +6 more.
create_budgetCreate BudgetAInspect
Create a budget for the organization (POST /api/budgets). Required: name, amount (positive, in the org's display currency), and start_date (YYYY-MM-DD). Optional: period (monthly | quarterly | annual; default monthly), end_date (YYYY-MM-DD; omit for ongoing), integration_id to scope it, a structured scope ({ platform | accountIds | services | tagKey+tagValue | costCenterId }), threshold_pcts (e.g. [80, 100]), and who to notify on a crossing: notification_channel_ids (ids from list_notification_channels — any number, any type) and/or emails (up to 5 addresses). Omit both for an informational-only budget. Webhook URLs are not accepted here — create a channel with create_notification_channel and attach its id. The currency is NOT settable — the backend stamps your organization's display currency. Returns the created budget. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Reversible (a budget can be deleted/edited). Example: { "name": "Prod AWS monthly", "amount": 50000, "start_date": "2026-07-01", "period": "monthly", "threshold_pcts": [80, 100], "notification_channel_ids": ["<channel_id>"], "emails": ["ops@acme.com"], "confirm": true }.
Inputs: name (required), amount (required), start_date (required), scope, +7 more.
create_cost_centerCreate Cost CenterAInspect
Create a cost center (POST /api/cost-centers) — a bucket that allocation rules route spend into (a team, product or business unit). Pass name, and optionally description, color (hex) and parent_cost_center_id to nest it (max 5 levels; the parent must not own rules itself — only leaf centers hold rules). A new center holds $0 until a rule targets it, so this is normally followed by preview_allocation_rule + create_allocation_rule. Additive and reversible (delete it in the dashboard). Requires a paid plan. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "name": "Platform team", "color": "#2563eb", "confirm": true }.
Inputs: name (required), color, confirm, description, +1 more.
create_notification_channelCreate Notification ChannelAInspect
Create a notification channel for cost alerts (POST /api/reports/cost-dashboard/notification-channels). Provide a channel_name, a channel_type (slack | teams | email | webhook) and a destination (webhook URL or email address). Returns the created channel (channel_id, channel_name, channel_type). WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "channel_name": "FinOps Slack", "channel_type": "slack", "destination": "https://hooks.slack.com/services/...", "confirm": true }.
Inputs: destination (required), channel_name (required), channel_type (required), confirm.
create_org_digestCreate Org DigestAInspect
Create the organization's All Costs digest — the org-wide spend recap email (POST /api/reports/custom-reports/schedules with no report). There is ONE per organization; if it already exists you get already_scheduled with its schedule_id (use update_report_schedule). Its email recipients are NOT set here: it goes to members by role (super_admin, admin and contributor by default; viewers opt in), and each member can opt in/out from their profile. frequency: daily | weekly (Mondays, default) | monthly (the 3rd), sent at 13:00 UTC. Optional notification_channel_ids also posts it to Slack/Teams channels (email channels are refused). Included on every plan. Returns the saved digest including deliverable — false means the org has no connected integration and it will not send. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "frequency": "weekly", "notification_channel_ids": ["<slack_channel_id>"], "confirm": true }.
Inputs: confirm, frequency, notification_channel_ids.
create_report_scheduleCreate Report ScheduleAInspect
Schedule a saved report to be emailed on a cadence (POST /api/reports/custom-reports/schedules). Required: report_id (from list_saved_reports) and scope: "personal" (emailed to you alone, visible only to you — no emails/channels) or "team" (emailed to emails — up to 5 addresses — and/or notification_channel_ids — any number of channels of any type from list_notification_channels; at least one is required). frequency: daily | weekly (Mondays, default) | monthly (the 3rd), sent at 13:00 UTC. The schedule is named after the report. One team schedule per report and one personal schedule per report per member: a second one is refused with already_scheduled and the existing schedule_id — change that one with update_report_schedule. Per-report schedules are a paid feature with a per-organization team cap and 5 personal schedules per member; those refusals come back from the backend verbatim. For the org-wide All Costs recap use create_org_digest instead. Returns the saved schedule including deliverable — if it is false (no connected integration) tell the user it will not send. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "report_id": "rpt-…", "scope": "team", "frequency": "weekly", "notification_channel_ids": ["<channel_id>"], "emails": ["cfo@acme.com"], "confirm": true }.
Inputs: scope (required), report_id (required), emails, confirm, +2 more.
delete_alert_ruleDelete Alert RuleADestructiveIdempotentInspect
Delete an alert rule (DELETE /api/reports/cost-dashboard/alerts/{id}). DESTRUCTIVE — the rule stops and is gone; its past firings stay in list_triggered_alerts. To stop it temporarily use set_alert_rule_active with is_active:false. Works on any plan. In the app any active member can create alert rules and manage the ones they created, contributors and admins manage every rule, viewers can attach saved channels but not ad-hoc emails, and the public demo organization is read-only; over MCP every write additionally needs the admin gate below. Alert rules need a paid plan. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "alert_id": "…", "confirm": true }.
Inputs: alert_id (required), confirm.
delete_budgetDelete BudgetADestructiveIdempotentInspect
Delete a budget by its id (DELETE /api/budgets/{budget_id}). DESTRUCTIVE — the budget and its alerting are removed. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "budget_id": "b1a2c3d4-...", "confirm": true }.
Inputs: budget_id (required), confirm.
delete_notification_channelDelete Notification ChannelADestructiveIdempotentInspect
Delete a notification channel by its id (DELETE /api/reports/cost-dashboard/notification-channels/{id}). DESTRUCTIVE for the channel only: it is detached from every alert rule, budget and report schedule that sent to it, and any alert rule left with no other destination is PAUSED (not deleted) until another channel is attached; budgets become informational-only and report schedules simply stop mirroring to it. The response reports paused_alert_rules, detached_alert_rules, detached_budgets and detached_report_schedules — tell the user what went quiet. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "channel_id": "chan-123", "confirm": true } removes that channel and pauses any rule that had nowhere else to deliver.
Inputs: channel_id (required), confirm.
delete_report_scheduleDelete Report ScheduleADestructiveIdempotentInspect
Delete a report schedule (DELETE /api/reports/custom-reports/schedules/{id}). DESTRUCTIVE — the recap stops and the schedule is gone (the saved report itself is untouched). To stop it temporarily, use update_report_schedule with is_active:false instead. Deleting the org digest stops the All Costs recap for every member. Team schedules can be deleted by their creator or an admin; a personal schedule only by its creator. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "schedule_id": "…", "confirm": true }.
Inputs: schedule_id (required), confirm.
dismiss_anomalyDismiss AnomalyAIdempotentInspect
Dismiss (suppress) a cost anomaly so it no longer surfaces in the anomaly feed (PUT /api/reports/cost-dashboard/anomaly-dismissals, body { service, period, window, integrationId?, reason? }). Upsert — re-dismissing the same anomaly is a no-op. SCOPE: pass integration_id to suppress the anomaly for ONE integration only (detection runs per integration); OMIT integration_id for an ORG-WIDE dismissal that suppresses the same-keyed anomaly across ALL integrations. The (service, period, window, integration_id-or-absent) tuple is the dismissal KEY; keep it so you can reverse the dismissal with undismiss_anomaly. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "service": "AmazonEC2", "period": "2026-06", "window": "mtd", "integration_id": "8f0b7c8e-...", "reason": "expected", "confirm": true }.
Inputs: period (required), window (required), service (required), reason, +2 more.
get_ai_spendGet AI SpendARead-onlyInspect
Query the organization's AI / LLM spend. provider selects "direct" (default — Anthropic AND OpenAI API spend together), "anthropic" (Claude API spend only), "openai" (OpenAI API spend only), or one cloud-billed lens: "bedrock" (Amazon Bedrock), "azure_openai" (Azure AI Foundry — Azure OpenAI, the other models Microsoft sells through Foundry, and Claude bought through Azure Marketplace) or "vertex" (Google Gemini / Vertex AI generative usage). ⚠ By default this returns DIRECT provider spend only and does NOT include any cloud-billed AI. Bedrock, Azure AI Foundry and Gemini / Vertex AI are billed by AWS, Azure and Google and are already counted in your cloud spend (query_costs / the cloud surfaces). Set include_bedrock: true to add Bedrock only, or include_cross_billed: true to add all three (with the default "direct" they mean both direct providers plus the lens(es); alongside "anthropic" or "openai" they mean that provider plus the lens(es)); the response then reports directTotal (provider-billed, NOT in cloud totals), crossBilledTotal (cloud-billed, ALREADY in cloud totals) and allAiTotal (their sum) separately. Never add totalCost, allAiTotal or crossBilledTotal to a cloud total when a lens is included — that double-counts it. Break it down with group_by: "model" (default), "token_type" (provider-native values — Anthropic uncached_input/output/cache_read/cache_creation, OpenAI input_uncached/input_cached/output), "workspace" (Anthropic workspaces; for OpenAI this is its Projects), "api_key" (dollars and tokens per API key: dimension is the key id, label its latest name; Anthropic and OpenAI only), "user" (dollars and tokens per user email — the key's owner or the user who made the request; Anthropic and OpenAI only), "service_tier" (batch vs standard; batch bills at a 50% discount, so this shows batch-adoption savings headroom), "cost_type" (tokens vs web_search/code_execution/session_usage dollars), "provider", "day", or "none" for a grand total; for a cloud-billed lens also "model_developer" (Azure / Vertex), "account", "region", "routing" (deployment type) and "tag" (Bedrock, with tag_key). Add split_by for a second dimension (e.g. group_by "day" + split_by "model"). Each row returns cost (dollars, currency-correct for the org), tokens (token count), requests (server-tool request counts, e.g. web_search — kept separate from tokens), and tokenMeteredCost (the part of cost that actually bought tokens — divide by that, not by cost, for an effective $/1M rate). With "api_key" or "user", the "(unattributed)" row is spend and tokens the provider ties to no key or user (older history, non-token charges, shared keys); a service account appears as "service-account:". Report the unattributed row alongside the named rows, never drop it — together they sum to the total. Do NOT compute a per-key or per-user $/1M from these rows: tokens are tied to a key on every day but dollars only on days the provider ties them, so per-row rates mix windows; quote the response-level $/1M instead. If the answer carries unpricedTokens, those are Anthropic Priority Tier commitment tokens whose cost no API reports — divide tokenMeteredCost by (totalTokens - unpricedTokens) for $/1M. PER REQUEST (OpenAI only): set per_request: true for perRequest — model requests, tokensPerRequest and costPerRequest, total and per group (group_by "model", "api_key", or "day" with api_key for one key's trend). Per key, OpenAI attributes dollars to a key only on days its per-key cost reconciles, so a key's cost per request can read low; its note says so — repeat it. By model, OpenAI can name one model differently in its cost report and its usage (e.g. gpt-4 vs gpt-4-0613): when the two names match one to one, the cost-report model's row carries the pair's requests, tokens and cost per request, and the usage-name row reads 0 with null ratios and a group note (included in the matching cost-report model) — that is not $0 per request. WHY IT CHANGED: set explain_change: true to get changeExplanation vs the immediately preceding window of the same length — volume, mix, rate and non-token lines that add up to the change to the cent, plus the top drivers; quote its summary. A matched OpenAI cost-report / usage name pair counts as one model there (shown under its cost-report name), decided over both windows. EFFICIENCY: with group_by "token_type" (or split_by "token_type" under group_by "model", "api_key", "user", "workspace", "provider" or "day") the answer adds efficiency — cacheHitRate, inputOutputRatio, cacheWritePayback and a DERIVED netCacheSavings, for the whole selection and per group. Use these instead of computing ratios from rows yourself; a null metric is NOT zero (notAvailable says why). With group_by or split_by "service_tier" it adds tierExposure (each tier's share of dollars). Filter with model, token_type, workspace, integration_id (arrays; cloud-billed lenses also account, region, service_tier, routing) and the required start_date/end_date (YYYY-MM-DD). Every answer carries sources: included (the AI sources the figures cover), excluded (AI sources this organization has that the answer leaves out — each with a reason (cloud_billed, not_selected or not_entitled) and how to add it) and notConnected (a requested source with no integration). When excluded is non-empty, say in your answer which sources were left out and why — never present a partial AI figure as the organization's total AI spend. completeThrough is the last day WITH SPEND in the window, not a loading cut-off: when it is before end_date, read freshnessNote — usually those days simply had no spend. Read-only — never modifies anything. Example: { "group_by": "model", "start_date": "2026-06-01", "end_date": "2026-06-19" } returns month-to-date Anthropic + OpenAI spend by model; add "provider": "anthropic" or "openai" for one provider, "provider": "azure_openai" / "vertex" / "bedrock" for one cloud-billed lens, or "include_cross_billed": true for everything.
Inputs: end_date (required), start_date (required), model, region, +16 more. Returns: rows, tool, groupBy, message, +19 more
get_ai_tool_activityGet AI Tool Activity (Claude Code cost per developer)ARead-onlyInspect
Claude Code cost per developer: Anthropic's billed dollars for Claude Code next to its usage — sessions, commits, pull requests, lines added and removed, tool accept rate and cache hit rate — with cost per session, per pull request, per active developer and per active day. COVERAGE: only Claude Code used with Claude Console sign-ins or Console API keys, read through the organization's Anthropic integration. It does NOT include Claude Code used through Pro, Max, Team or Enterprise seats, or through Amazon Bedrock, Google Vertex AI or Microsoft Foundry. Every answer carries coverageNote; state that limit when you report the figures, and never present zero here as "nobody used Claude Code". BILLED, NOT ESTIMATED: billedCost and every cost ratio come from Anthropic's billing and match the Anthropic Console. When billedComplete is true, say the figures are billed, not estimated. When it is false, the last day or two are not billed yet and estimatedCost is Anthropic's estimate — label it as an estimate. A null ratio means nothing is billed yet, not zero. Read costNote. These dollars are already part of the Anthropic total in get_ai_spend — never add the two together. ACTIVITY NEEDS TELEMETRY: sessions, commits, pull requests, lines, tool accepts and tokens come from Claude Code telemetry. When Anthropic reported none, those fields are null (unknown, not zero) and activityNote says so — never report them as 0. TEAM-LEVEL BY DEFAULT: response_format "concise" (default) returns team totals (billedCost, estimatedCost, activeDevelopers, sessions, commits, pullRequests, linesAdded, linesRemoved, toolAcceptRate, cacheHitRate, costPerSession, costPerPullRequest, costPerActiveDeveloper). "detailed" adds developers — one entry per person (actor is their email, or "Name removed" once their email has been removed from CloudQuell (their usage still counts in the team totals)), per API key, and an "(unattributed)" entry for spend Anthropic ties to no developer — listed by cost as on the dashboard, each with the same figures plus activeDays, costPerActiveDay, lastActiveDate and topModel, and daily (billedCost, estimatedCost, activeDevelopers and sessions for every day). Report per-developer figures as context for the team, not as a ranking or a performance measure. LOCKED: if this returns "locked", the organization's plan does not include Claude Code cost per developer yet — tell the user that, and do not retry. tool is "claude_code" (the only one, and the default). Required start_date/end_date (YYYY-MM-DD, at most 366 days); optional integration_id for one Anthropic integration. Read-only — never modifies anything. Example: { "start_date": "2026-11-01", "end_date": "2026-11-18" } returns the team's Claude Code cost and activity for November so far.
Inputs: end_date (required), start_date (required), tool, integration_id, +1 more.
get_alert_ruleGet Cost-Alert RuleARead-onlyInspect
Get a single cost-alert rule by its id. There is no dedicated backend endpoint for one rule, so this fetches the full alert-rule list and filters to the matching alert_id client-side. Returns the rule's type, cadence, thresholds, watched services/accounts, and notification channels; if no rule matches the id you get a clear not-found result (use list_alert_rules to discover valid ids). Optionally scope with integration_id. Use response_format="concise" (default) or "detailed". Read-only. Example: { "alert_id": "a1b2c3d4-..." } returns that one rule.
Inputs: alert_id (required), integration_id, response_format.
get_allocation_breakdownGet Allocation BreakdownARead-onlyInspect
Show how the organization's spend is allocated across cost centers for the current period. Returns totalSpend, the active rule count, and a costCenters list — each with its own spend and rolledUpSpend (own + descendants), pctOfTotal, and parentCostCenterId for the hierarchy. A synthetic "Unallocated" bucket (null costCenterId) captures spend no rule matched. Optionally scope with integration_id; limit caps the cost-center list. Read-only. FOLLOW-UP: this gives the per-cost-center totals; to see WHAT each centre is spending on, call run_cost_pivot with { "dimensions": ["cost_center", "service"] }, or filter to a few with cost_centers ("UNALLOCATED" selects unattributed spend). Example: {} returns the full allocation breakdown for the current period.
Inputs: limit, integration_id, response_format.
get_available_linked_accountsGet Available Linked AccountsARead-onlyInspect
List the sub-accounts the organization has cost data for, as { accountId, accountName } pairs — the mapping you need to resolve an account id to its friendly name (and vice-versa). DEFAULTS TO the linked AWS accounts; scope with a non-AWS connection's integration_id to get that provider's sub-accounts instead (Azure subscriptions, GCP projects, Snowflake accounts, Anthropic/OpenAI workspaces/projects). IMPORTANT: the cost tools filter by account NAME, not the id — pass the accountName from this list as the account_id argument to query_costs / get_weekly_cost_slices / investigate_anomaly (passing the numeric id yields no match). limit caps the list. Use response_format="concise" (default) for the id/name pair, "detailed" for any extra fields. Read-only. Example: {} returns every linked AWS account with its id and name.
Inputs: limit, integration_id, response_format.
get_available_servicesGet Available ServicesARead-onlyInspect
List the service codes the organization has cost data for — the exact service values accepted by query_costs and the other cost tools (e.g. "AmazonEC2", "AmazonS3", "AmazonRDS"). DEFAULTS TO AWS service codes; scope with a non-AWS connection's integration_id to get that provider's service names instead (the backend follows the integration's provider). Use this to discover valid service filters before querying. The list may include a few opaque ids the backend has not yet mapped to a friendly name. limit caps the list. Read-only. Example: {} returns every available AWS service code for the org.
Inputs: limit, integration_id, response_format.
get_available_tag_keysGet Available Tag KeysARead-onlyInspect
List the cost-allocation tag keys the organization has data for (e.g. "user_environment", "user_project", "user_service") — the valid tag-pivot values for the detailed and tag-coverage views. DEFAULTS TO AWS tag keys; scope with a non-AWS connection's integration_id to get that provider's tag vocabulary (the backend follows the integration's provider). Use this to discover which tags can be grouped or filtered on before querying. limit caps the list. Read-only. Example: {} returns every available AWS tag key for the org.
Inputs: limit, integration_id, response_format.
get_budgetGet BudgetARead-onlyInspect
Fetch a single budget definition by id (GET /api/budgets/{budget_id}). Returns the budget: name, amount, currency, period, startDate/endDate, thresholdPcts, its delivery (channels + emails; notificationChannelIds in detailed), and scope. Use response_format="concise" (default) for key fields, "detailed" for every field (incl. created/updated metadata). For current spend vs this budget, use get_budget_status. Read-only. Example: { "budget_id": "b1a2c3d4-..." }.
Inputs: budget_id (required), response_format.
get_budgetsGet BudgetsARead-onlyInspect
List the organization's budget definitions (GET /api/budgets). Each budget carries budgetId, name, amount, currency, period (monthly | quarterly | annual), startDate/endDate, thresholdPcts (alert crossings), who a crossing notifies (channels — attached notification channels by name and type — and emails, ad-hoc addresses), and a scope (org-wide / platform / a single integration / a cost center / a service or tag). Optionally scope with integration_id to one connection; limit caps the list. Use response_format="concise" (default) for key fields, "detailed" for every field. This returns the budget DEFINITIONS — for current spend vs budget (actual + forecast + status) use get_budget_status. Read-only. Example: {} returns every budget; { "integration_id": "abc-123" } scopes to one connection.
Inputs: limit, integration_id, response_format.
get_budget_statusGet Budget StatusARead-onlyInspect
Report current spend vs budget for the organization (GET /api/reports/cost-dashboard?view=budget_status). Each row joins a budget with its current-period actual and forecast spend: amount, actual, forecast, actualPct, forecastPct, variancePct, the thresholdPcts crossed, and a derived status (on_track | warning | over), plus periodStart/periodEnd. Use this to see which budgets are on track, in warning, or over. Optionally scope with integration_id; limit caps the list; response_format="concise" (default) or "detailed". Read-only. Example: {} returns the status of every budget for the current period.
Inputs: limit, integration_id, response_format.
get_cost_pivotGet Cost PivotARead-onlyInspect
Collect the results of a pivot job started by run_cost_pivot, using the jobId it returned. If the job is still running you get { status, pollAfterMs } and should call again in a second or two — do NOT resubmit with run_cost_pivot, that starts a second Athena query. While running, grandTotals may already be final (the org-wide totals query usually finishes first) even though the rows are not ready; that is flagged in the note and is not a completed result. When it succeeds you get the same shape run_cost_pivot returns: rows largest-_total-first, columns, grandTotals, and the window actually served. Every matching row arrives in ONE response — this backend does not page, nextCursor is always null, and cursor is inert. limit caps the list here after sorting by _total desc. ⚠ RESPONSE_TOO_LARGE (413) means the pivot is too wide to return at all: rerun run_cost_pivot with FEWER DIMENSIONS or a SHORTER WINDOW — changing limit cannot help. JOB_NOT_FOUND means the job id is not in this organization or has expired: jobs are org-scoped and discarded 24 hours after creation. Read-only. Example: { "job_id": "…", "limit": 100 } after run_cost_pivot returned a handle.
Inputs: job_id (required), limit, cursor, response_format. Returns: code, note, rows, tool, +24 more
get_current_organizationGet Current OrganizationARead-onlyInspect
Fetch the organization every other CloudQuell tool is acting on (GET /api/organizations/current): its name and id, subscription tier (and any comp/sales tier override), status, member and connection counts, trial and cancellation state, and — most usefully — YOUR role in it (your_role) and seat status. To work in a different organization, call list_organizations and then switch_organization. Call this when you need to name the company in a report, explain why a write was refused (the server checks your organization ROLE, not just the admin:write OAuth scope — a viewer is refused either way), or explain why data looks limited (a free tier, a lapsed trial, or a "limited" seat_status). Use response_format="concise" (default) or "detailed" for every billing/trial field. Read-only. Example: {} returns the current organization and your role in it.
Inputs: response_format.
get_data_freshnessGet Data FreshnessARead-onlyInspect
Answer "can I trust these numbers?" before you report any of them. Checks every provider connection and returns a top-level verdict — "fresh", "stale" or "degraded" — with a one-line reason, plus a per-connection row carrying its provider, sync status, last successful ingest, staleness in hours, and any sync error message. IMPORTANT CONTEXT the verdict encodes: CloudQuell cost data is INGESTED DAILY, not in real time, and the cloud providers' own billing exports lag 2-3 days behind the wall clock. A healthy org is therefore always reporting on the day before yesterday — that is normal, not stale. "degraded" means a connection is erroring, was never set up, has stopped receiving cost files (an AWS connection whose last Cost and Usage Report file was copied more than 72 hours ago shows health "replication_stalled", even when its last sync looks recent — a sync can run and copy nothing), or the account is frozen (in which case recent cost data is hidden ON PURPOSE, not missing through lag) — totals are incomplete and you should say so. "stale" means everything is wired up but at least one connection has not synced inside stale_after_hours (default 48). "fresh" means every active connection is current. Run this FIRST in any workflow that will put a number in front of a person, and quote costDataLastUpdated next to the figures. If the verdict is not "fresh", name the affected connections rather than presenting the totals as complete. Set include_ingestion_detail: false for a faster answer from the connection list alone — but that skips the AWS file-arrival check, so a stalled AWS connection can then read as fresh (the per-connection ingest counters exist only for AWS connections; a non-AWS one returns ingestionDetail: null plus a note, never zeros). limit caps the connection list. Read-only — this tool only observes; it never re-runs or repairs a connection. Example: {} returns the verdict and every connection's freshness; { "stale_after_hours": 24 } tightens the staleness threshold.
Inputs: limit, response_format, stale_after_hours, include_ingestion_detail.
get_expiring_commitmentsGet Expiring CommitmentsARead-onlyInspect
Return only the cloud commitments (AWS RIs/Savings Plans, Azure Reservations/Savings Plans, GCP CUDs) matching a lifecycle status — defaults to "expiring_soon" (those nearing expiry that need renewal action). Reads the same commitments payload as list_commitments and filters by status client-side; also accepts "expired", "active", or "unknown". The rollup summary (count expiring within 60 days, already expired, total dollars saved) is included for context. Scope with provider ("aws" | "azure" | "gcp"; OMIT = all cloud providers combined, AWS + Azure + GCP — the backend default) or with integration_id (scoping follows that integration's provider server-side). Read-only. Example: { "status": "expiring_soon", "provider": "gcp" } surfaces the CUDs to renew before they lapse.
Inputs: limit, status, provider, integration_id, +1 more.
get_finops_briefingGet FinOps BriefingARead-onlyInspect
One call that answers "what should I look at today?" — THE tool for SCHEDULED AND HEADLESS AGENTS and for a Monday-morning cost review. Start here, then drill in. It calls UP TO EIGHT existing read tools in parallel and joins their answers into one briefing, in this order: (1) freshness, (2) spend, (3) movers, (4) anomalies, (5) budgets, (6) commitments, (7) savings, (8) AI spend (only when include_ai_spend is true). FRESHNESS IS REPORTED FIRST, ON PURPOSE, so every number below it carries its trust level: when the verdict is not "fresh" the briefing opens with a warning and you must repeat that caveat in anything you report. EACH SECTION CAN BE DRILLED INTO WITH THE NAMED TOOL — get_data_freshness, get_forecast, compare_periods, list_anomalies, get_budget_status, get_expiring_commitments, get_savings, get_ai_spend. Use the briefing to decide WHERE to look; use those tools to look. Every section degrades independently: one that fails or times out comes back as { status: "unavailable", reason } and is named in sectionsUnavailable — the briefing still succeeds, so never treat a missing section as zero spend, and say which sections were missing when you report. A section a provider cannot have (commitments for an LLM provider, savings outside AWS/Azure/GCP) returns status "not_applicable" instead. period: "weekly" (default) compares month-to-date against the same days of last month; "daily" compares the last 7 days against the 7 before. Scope with provider / integration_id, pin the accounting basis with cost_basis, and cap every ranked list with items_per_section (default 5, max 10). Tune the anomaly signal with anomaly_min_pct (default 25) and anomaly_min_cost (default 100). include_ai_spend (default false) adds direct Anthropic + OpenAI month-to-date spend as its OWN section — those dollars are billed by the AI providers and are NOT in the cloud totals, so never add the two together. The same section carries a separate cloudBilled line for Amazon Bedrock, Azure AI Foundry and Google Gemini / Vertex AI when the org has any: that spend is ALREADY inside the cloud numbers, so it is informational only and must never be added to anything. Read-only — it never writes anything. The text output is a compact markdown briefing; structuredContent carries one key per section plus generatedAt, window, costBasis and sectionsUnavailable. Examples: {} for the weekly review; { "period": "daily", "items_per_section": 3 } for a morning cron; { "include_ai_spend": true, "provider": "aws" } for AWS plus the AI providers side by side.
Inputs: period, provider, cost_basis, integration_id, +5 more. Returns: raw, tool, scope, spend, +16 more
get_forecastGet Month-End ForecastARead-onlyInspect
Project month-end spend for the organization, plus per-service and per-account projections ranked by projected spend. IMPORTANT: this is a PROJECTION derived from the daily cost data CloudQuell has already ingested — NOT a forecast returned by a backend service. It runs the same algorithm and the same anchors as the CloudQuell dashboard's "Forecasted Month-End" KPI, so the number matches what the customer sees on screen. Returns asOfDay (the last day with ingested data — cost data lags the wall clock by 2-3 days), daysInMonth, mtdActual, forecastMonthEnd, previousMonthTotal, deltaVsPreviousMonthPct, the method used, and a plain-English confidence note. The four methods: "prev-month-shape" paces the month against the previous (or last-3-months average) cumulative curve — the most reliable; "linear" extrapolates the run rate when there is no comparable previous month; "flat-mtd" refuses to extrapolate under 7 days of data and carries month-to-date flat; "waiting" means no current-month data has arrived yet. ALWAYS report the confidence note alongside the number — a 3-day projection is not a forecast. Per-service and per-account rows pace independently and therefore do NOT sum to the org total; use them for ranking. Scope with provider, integration_id, account_id (name or 12-digit id) and service; limit caps each ranked list (default 10). Read-only. Example: {} projects org-wide month-end spend with the top 10 services and accounts; { "provider": "azure", "limit": 5 } does the same for Azure.
Inputs: limit, service, provider, account_id, +2 more. Returns: note, tool, method, asOfDay, +19 more
get_integrationGet IntegrationARead-onlyInspect
Fetch a single provider integration by id (GET /api/integrations/{id}). Returns id, name, provider, and status (plus every field in detailed mode). Use response_format="concise" (default) or "detailed". Read-only. Example: { "integration_id": "int-123" }.
Inputs: integration_id (required), response_format.
get_metadataGet Cost MetadataARead-onlyInspect
Get all the cost-query filter vocabularies in ONE call: the available service codes, tag keys, and sub-accounts ({ accountId, accountName }) the organization has data for. DEFAULTS TO the AWS vocabularies (service codes, tag keys, linked AWS accounts); scope with a non-AWS connection's integration_id to get that provider's vocabularies instead (the backend follows the integration's provider). A one-shot alternative to calling get_available_services + get_available_tag_keys + get_available_linked_accounts separately — use it to populate every filter before querying. limit caps each list independently. Use response_format="concise" (default) or "detailed". Read-only. Example: {} returns the full AWS services / tag-keys / linked-accounts vocabulary for the org.
Inputs: limit, integration_id, response_format.
get_recommendation_historyGet Recommendation HistoryARead-onlyInspect
Fetch the status-change history of a single savings recommendation (GET /api/reports/cost-dashboard/recommendations/{recommendation_id}/history). Each entry carries the status (and previousStatus), any notes, realizedSavings, dismissedReason, and changedAt — the audit trail behind update_recommendation_status. Use response_format="concise" (default) or "detailed"; limit caps the list. Read-only. Example: { "recommendation_id": "rec-123" }.
Inputs: recommendation_id (required), limit, response_format.
get_reportGet Saved ReportARead-onlyInspect
Fetch a single saved custom report by its report_id. NOTE: there is no per-report backend endpoint, so this fetches the full saved-reports list and filters client-side; returns a clear not-found if the id is absent. Optionally pass integration_id to scope the underlying list. Use response_format="concise" (default) for key fields, "detailed" for the full config. Read-only. Example: { "report_id": "rpt_8f2c..." } returns that report's name, chart type, and pivot config.
Inputs: report_id (required), integration_id, response_format.
get_resource_breakdownGet Resource BreakdownARead-onlyInspect
Break one service's spend down to the INDIVIDUAL RESOURCES behind it — the level below every other cost tool. Returns the top resources by cost with resource id, type, account name, region, operation, usage type, each resource's share of that service's spend over the window, and its prior-period cost for comparison. Use it to turn "RDS is up $4k" into "this one cluster went from $12 to $410". service is REQUIRED (provider-native name, e.g. "AmazonEC2" — see get_available_services). date anchors the window and defaults to the latest day CloudQuell has ingested data for that service (cost data lags the wall clock by 2-3 days, so today usually has none). granularity sets how wide that window is: "monthly" (default) covers the whole CALENDAR MONTH containing date, "daily" covers just that day — use "daily" when you are chasing a one-day spike. The window the backend actually applied comes back as resolvedWindow ({granularity, start, end}, both dates inclusive) with a plain-English window; quote it when reporting the figures, because a bare date widens to its whole month. Scope with provider (defaults to all connected CLOUD providers; Snowflake / Anthropic / OpenAI have no per-resource rows), account_id (name or 12-digit id) and integration_id. limit caps the list (default 25). RELATED: run_cost_pivot with a "resource" dimension answers the BROADER version of this question — resources across a whole grouping (e.g. per service, or per cost center) and over several months rather than one service on one date. Use THIS tool for the single-service, single-date case: it takes them directly and runs no job. RELATED: investigate_anomaly answers WHY — it runs this same breakdown plus the weekly and month-over-month trend and returns a verdict. Use investigate_anomaly to triage a suspected anomaly; use this tool when you already know the service and date and just want the resource list. Read-only. Example: { "service": "AmazonRDS", "date": "2026-06-15", "granularity": "daily", "limit": 10 } lists the 10 most expensive RDS resources on that day.
Inputs: service (required), date, limit, provider, +4 more.
get_savingsGet Cloud Cost Savings (AWS / Azure / GCP)ARead-onlyInspect
Get CloudQuell cost-savings opportunities for the caller's organization in ONE call. Returns the headline rollup (banked / open / potential monthly savings), a by-action-type summary breakdown, effective-savings-rate metrics, and the list of individual recommendations. Each recommendation carries the action type (e.g. PURCHASE, Review/Delete, OPTIMIZE, Create Endpoint), affected service/product/account/region, current monthly cost, estimated monthly savings, effort, and confidence. Providers: AWS (CloudQuell rule engine + AWS Cost Optimization Hub), Azure (reservation and savings-plan purchase recommendations from Azure Cost Management) and GCP (Google Recommender recommendations for the billing export project only) — pass provider: "azure" or "gcp"; OMIT provider for the backend default (AWS, unless the request pins an integration). CloudQuell computes no Azure or GCP rightsizing of its own. Azure / GCP rows name their source; amounts are in the org's display currency, and a row converted from the provider's currency also carries providerStatedMonthlySavings + providerCurrency. Filter the recommendation list with minMonthlySavings (dollar floor), actionType, accountId (id or name), and product; results are sorted highest-savings-first and capped by limit (default 50). Use response_format="concise" (default) for trimmed rows, "detailed" for every field. Read-only — never modifies anything. Example: { "minMonthlySavings": 100, "actionType": "PURCHASE", "limit": 10, "response_format": "concise" } returns the top 10 commitment-purchase opportunities worth at least $100/mo, plus the savings totals.
Inputs: limit, product, provider, accountId, +3 more.
get_tag_coverageGet Tag CoverageARead-onlyInspect
Report cost-allocation tag coverage for the organization: the overall tagged vs untagged spend split (coveragePct, totalSpend, taggedSpend, untaggedSpend), coverage per tag key (byKey), and the services with the most untagged spend (untaggedByService). The denominator covers CLOUD providers only (AWS/Azure/GCP) BY DESIGN — LLM/credit spend (Anthropic/OpenAI/Snowflake) is excluded from totalSpend because tag governance does not apply to it, and scoping integration_id to a non-cloud integration returns zeros. Use this to find where tagging gaps are leaking allocation accuracy. Optionally scope with integration_id (cloud integrations only); limit caps the byKey / untaggedByService lists. Read-only. FOLLOW-UP: this tells you WHICH keys are under-covered; to see the spend broken down BY one of those keys, call run_cost_pivot with { "dimensions": ["tag:"] } (copy the key exactly — they are case- and hyphen-sensitive), or { "dimensions": ["tagged", "service"] } to see which services carry the untagged spend. Example: { "limit": 10 } returns the overall split plus the top 10 tag keys and top 10 untagged services.
Inputs: limit, integration_id, response_format.
get_weekly_cost_slicesGet Weekly Cost SlicesARead-onlyInspect
Return weekly per-service cost slices (weeklyByServiceLast12) plus the month-over-month by-service comparison from the cost-dashboard anomalies view, for the trailing ~12+ weeks. The data is scoped per provider: OMIT provider for all cloud providers combined (AWS + Azure + GCP — the backend default), or pass "aws", "azure", "gcp", "snowflake", "anthropic", or "openai" to get one provider's weekly slices instead. Use this to chart spend trends and spot week-over-week or month-over-month swings. Filter with service and/or account_id; cap with limit (newest weeks first). Read-only — never modifies anything. Example: { "provider": "azure", "limit": 100 } returns Azure weekly per-service costs; { "service": "AmazonRDS" } returns the AWS RDS trend and its MoM baseline-vs-current comparison.
Inputs: limit, service, provider, account_id, +1 more. Returns: tool, filters, message, currency, +10 more
investigate_anomalyInvestigate Cost AnomalyARead-onlyInspect
Deep-dive a single service to investigate a cost anomaly. Anomalies are derived per provider scope: pass provider ("aws", "azure", "gcp", "snowflake", "anthropic", or "openai") to investigate that provider's spend — all chained calls follow the same scope. When provider is OMITTED the chained backend defaults differ (the anomalies trend spans all cloud providers, while the resource/daily drill-downs default to AWS), so pass provider explicitly for non-AWS services. Chains three read calls: (1) the anomalies view for the service's weekly trend and month-over-month comparison, (2) the per-resource breakdown for that service on a specific date (which resources/operations drive the spend), and (3) the ±7-day daily cost series from the overview. Returns a synthesized investigation: the MoM row, the weekly trend, the top resources by cost, the daily series, and a brief computed verdict on whether the trend looks anomalous. Provide service (required, provider-native name); date defaults to the current MoM period end; optionally scope to an account_id. RELATED: get_resource_breakdown exposes step (2) on its own — use it when you already know the service and date and just want the resource list (it also lets you narrow the window to a single day with granularity="daily"); use THIS tool when you want the trend and a verdict too. Read-only — never modifies anything. Example: { "service": "AmazonRDS", "date": "2026-06-15", "top_n_resources": 10 } investigates AWS RDS spend on that date; add "provider": "azure" to investigate an Azure service instead.
Inputs: service (required), date, provider, account_id, +2 more.
list_alert_rulesList Cost-Alert RulesARead-onlyInspect
List the cost-alert rules configured for the organization. Each rule defines when a spend alert fires: alertType (trend | anomaly | budget | expiry | tokens_per_request) with alertTypeLabel (the Alerts page's name: Trend Spike, Anomaly Scan, Spend Threshold, Expiry, Tokens per Request Rise (OpenAI only)), providerType (which provider's spend the rule targets; "all" = org-wide), frequency (how often it evaluates), analysisPeriod, thresholdPercent / thresholdAmount, the services/accounts it watches, scope ({costCenterId} = a Spend Threshold / Trend Spike measured on that cost center and its child cost centers, as on the Allocation page; {dimension: api_key|model, minRequests, values?} on a tokens_per_request rule; {} otherwise), isActive (+ autoPausedReason when the backend paused it), and who it notifies (channels + emails). Many organizations have no alert rules configured — an empty list is normal, not an error. Optionally scope with integration_id; limit caps the list. Use response_format="concise" (default) for the core fields, "detailed" for every field. Read-only. Example: {} returns all alert rules for the org; pass an integration_id to scope to one connection.
Inputs: limit, integration_id, response_format.
list_allocation_rulesList Allocation RulesARead-onlyInspect
List the cost-allocation rules that assign spend to cost centers. Each rule maps spend matched by matchDimension (e.g. "service" via serviceCode, or a tag via tagKey/tagValue) to a costCenterId, with a priority (lower wins) and enabled flag; integrationId scopes it to one connection (null = all). Optionally filter with cost_center_id to see only the rules feeding one center; limit caps the list. Use response_format="concise" (default) or "detailed". Read-only. Example: { "cost_center_id": "5d0f41ba-5b56-41c4-8480-fe0e93d678c0" } returns just that center's rules.
Inputs: limit, cost_center_id, response_format.
list_anomaliesList Cost AnomaliesARead-onlyInspect
List cost anomalies for the organization. Anomalies are derived per provider scope: OMIT provider to analyze all cloud providers combined (AWS + Azure + GCP — the backend default), or pass "aws", "azure", "gcp", "snowflake", "anthropic", or "openai" to analyze one provider's spend. The backend does NOT precompute anomalies, so this tool DERIVES them client-side from the cost-dashboard anomalies view: a service is flagged when its month-over-month cost increase clears min_pct_increase (default 25%), or when spend appears for a service that had no baseline (a new-service anomaly). Each anomaly also carries the week-over-week delta from the weekly slices, which are returned alongside. Tune with min_pct_increase, min_cost, service, and limit. Read-only — never modifies anything. Example: { "provider": "snowflake", "min_pct_increase": 50, "min_cost": 100, "limit": 20 } returns Snowflake services whose spend jumped ≥50% month-over-month (or newly appeared) above $100.
Inputs: limit, service, min_cost, provider, +2 more.
list_anomaly_dismissalsList Anomaly DismissalsARead-onlyInspect
List the organization's active anomaly dismissals (GET /api/reports/cost-dashboard/anomaly-dismissals). Each row carries the (service, period, window, integrationId) key plus the reason and dismissedAt — integrationId null means an ORG-WIDE dismissal (suppresses the same-keyed anomaly across all integrations); a UUID means it is scoped to that one integration. Use this to see which anomalies are currently suppressed and to get the exact key that undismiss_anomaly needs to reverse one. Use response_format="concise" (default) or "detailed"; limit caps the list. Read-only. Example: {} returns every current dismissal.
Inputs: limit, response_format.
list_commitmentsList Commitments (RIs & Savings Plans)ARead-onlyInspect
List the organization's cloud commitments, with a utilization/expiry summary: AWS Reserved Instances & Savings Plans, Azure Reservations & Savings Plans, and GCP Committed Use Discounts (CUDs). Each row carries commitmentType (a provider-native string, e.g. "ReservedInstance" or "SavingsPlan" on AWS), status (active|expiring_soon|expired), daysUntilExpiry, utilizationPct, dollarsSaved, and effectiveCost; the summary totals commitments, overall utilization, count expiring within 60 days, already expired, and total dollars saved. Expired rows cover only the last 90 days and only lapses with no detected renewal/repurchase — older or already-replaced ones are dropped server-side. Scope with provider ("aws" | "azure" | "gcp"; OMIT = all cloud providers combined, AWS + Azure + GCP — the backend default; commitments are cloud-only) or with integration_id (scoping follows that integration's provider server-side). Use response_format="concise" (default) for key fields, "detailed" for every field. Read-only. Example: { "provider": "azure" } returns just the Azure commitments plus the rollup; {} returns commitments across every connected cloud. To see only the ones at risk, use get_expiring_commitments instead.
Inputs: limit, provider, integration_id, response_format.
list_cost_centersList Cost CentersARead-onlyInspect
List the organization's cost-center definitions. Each carries costCenterId, name, color, description, and parentCostCenterId — the parent field encodes the cost-center HIERARCHY (null parent = top level). Use this to understand the allocation taxonomy before reading get_allocation_breakdown or list_allocation_rules. Use response_format="concise" (default) for the core fields, "detailed" to include org/audit metadata; limit caps the list. Read-only. Example: {} returns every cost center with its parent linkage.
Inputs: limit, response_format.
list_integrationsList IntegrationsARead-onlyInspect
List the organization's provider integrations / cloud connections (GET /api/integrations). Each carries id, name, provider (aws | azure | gcp | snowflake | anthropic | openai), and status. Use this to discover the integration_id that trigger_integration_ingest requires and that many cost tools accept for scoping. Use response_format="concise" (default) or "detailed"; limit caps the list. Read-only. Example: {} returns every integration with its id and status.
Inputs: limit, response_format.
list_invitesList InvitesARead-onlyInspect
List the invitations the current organization has SENT (GET /api/invites) — pending and recently expired ones. Each carries invite_id, the invited email, the role offered, status (pending | expired), when it was created, when it expires, and who sent it. invite_id is exactly the value cancel_invite requires, so call this first to revoke an invite. An accepted invite is no longer listed here — it shows up in list_members instead. The single-use accept token is deliberately NOT returned: anyone holding it could join the organization. To re-send an invite, cancel it and call send_invite again. This route needs an ADMIN role — a viewer or contributor gets a permission error, which is a role problem, not a missing-connector problem. An empty list is normal. Filter with status, cap with limit, and use response_format="concise" (default) or "detailed". Read-only. Example: { "status": "pending" } returns every invite still awaiting acceptance, with the ids needed to cancel them.
Inputs: limit, status, response_format.
list_membersList MembersARead-onlyInspect
List the people in the current organization (GET /api/organizations/current/members): user id, email, name, role (viewer | contributor | admin | super_admin) and when they joined, plus a count per role. Use it to answer "who has access?", to check who could action a finding, or to see whether an invite has been accepted (an accepted invite becomes a member here and disappears from list_invites). Service accounts behind read-only cak_ API keys are deliberately excluded — this is the human roster. Use response_format="concise" (default) or "detailed"; limit caps the list. Read-only. Example: {} returns every member of the current organization.
Inputs: limit, response_format.
list_notification_channelsList Notification ChannelsARead-onlyInspect
List the organization's notification channels (GET /api/reports/cost-dashboard/notification-channels). Each channel carries channel_id, channel_name, channel_type (slack | teams | email | webhook), and enabled. Use this to discover the channel_id that update_notification_channel, delete_notification_channel and test_notification_channel require — and that create_budget / update_budget, create_alert_rule / update_alert_rule and create_report_schedule / create_org_digest / update_report_schedule take in notification_channel_ids. Use response_format="concise" (default) for key fields, "detailed" for every field; limit caps the list. Read-only. Example: {} returns every configured channel with its id.
Inputs: limit, response_format.
list_organizationsList OrganizationsARead-onlyInspect
List every CloudQuell organization the signed-in user belongs to (GET /api/users/me/organizations), with the user's role in each, the subscription tier and the member count. The organization every other tool is acting on is marked is_current: true and named in currentOrganization. IMPORTANT for multi-org users: every other CloudQuell tool acts on the CURRENT organization only. Use this list to confirm which company's data you are about to report on; if it is the wrong one, call switch_organization with the right organization_id from this list (flow: list_organizations → switch_organization → the other tools). Use response_format="concise" (default) or "detailed"; limit caps the list. Read-only. Example: {} returns every organization the user is a member of.
Inputs: limit, response_format.
list_report_schedulesList Report SchedulesARead-onlyInspect
List the scheduled report emails you can see (GET /api/reports/custom-reports/schedules). Three scopes: "digest" — the org-wide All Costs recap (report_id null, one per org, emailed to members by role, optionally mirrored to Slack/Teams); "team" — a saved report emailed to up to 5 addresses plus any notification channels; "personal" — a saved report emailed only to the member who created it. VISIBILITY DEPENDS ON WHO THE TOKEN BELONGS TO: you see the digest, every team schedule, and only YOUR OWN personal schedules — other members' personal schedules are invisible to everyone else, admins included (viewers see the digest only). Each row: schedule_id, name, report_id, scope, frequency (daily | weekly = Mondays | monthly = the 3rd; sent 13:00 UTC), is_active, deliverable + reason (deliverable:false with reason "no_integrations" = the org has no connected integration, so it will NOT send even though it is active — tell the user), last_sent_at, can_edit, and delivery (emails, channels; notification_channel_ids in detailed). Optional report_id filters to one saved report; limit caps the list; response_format="concise" (default) or "detailed". An empty list is normal. Read-only. Example: {} lists every visible schedule; { "report_id": "rpt-…" } lists that report's team + your personal schedule.
Inputs: limit, report_id, response_format.
list_saved_reportsList Saved ReportsARead-onlyInspect
List the organization's saved custom cost reports. Each report carries report_id, name, description, chart_type, its coverage (integration_ids — the exact integrations it reads, fixed at save time; newly connected integrations are never added automatically), and a config block (dimensions, metrics, granularity, filters) describing the pivot it renders. Many organizations have none yet — an empty list ({ "count": 0, "reports": [] }) is normal, not an error. Optionally scope with integration_id; limit caps the list. Use response_format="concise" (default) for key fields, "detailed" for the full config of every report. Read-only. Example: {} returns every saved report; { "integration_id": "abc123" } returns only that connection's reports. To fetch one by id, use get_report.
Inputs: limit, integration_id, response_format.
list_triggered_alertsList Triggered AlertsARead-onlyInspect
List the alerts that have actually TRIGGERED (the firing history) for the organization — this covers BOTH cost-alert rule firings AND budget-threshold crossings in one unified feed. Each row reports the subject (subjectName/subjectId), alertType, when it fired (occurredAt), the triggerValue vs baselineValue, and the deliveryStatus (delivered | failed | suppressed). Many organizations have no firings yet — an empty list is normal, not an error. Filter with since (ISO date lower bound), severity (which maps to DELIVERY status — the firing tables carry no separate severity level), and limit (1..500). There is no channel filter (the history has no channel column). Use response_format="concise" (default) for the core fields, "detailed" for the full row incl. payload. Read-only. Example: { "since": "2026-06-01", "severity": "failed" } lists failed-delivery firings since June 1.
Inputs: limit, since, severity, response_format.
preview_allocation_rulePreview Allocation Rule (dry run)ARead-onlyInspect
Dry-run an allocation rule BEFORE saving it: shows how this month-to-date's spend would move between cost centers if the rule existed (or if an existing rule were edited or disabled). Nothing is saved. Returns impact.candidate.capturedSpend (what the rule itself would claim), impact.unallocated before/after, and impact.changes — every cost center whose spend moves, largest first, with before/after/delta. A rule only claims spend no EARLIER-ranked rule already claimed: rules resolve by priority (lower first), first match wins, so a rule can also take spend away from another center, not only out of Unallocated — that shows up as a negative delta. warnings flags a $0 capture, a duplicate match, or a non-leaf target. NEW rule: pass cost_center_id + match_dimension and its fields ("tag" → tag_key + tag_value; "service" → service_code; "integration" → integration_id). EDIT: pass rule_id plus only the fields to change. The window is fixed by the backend to the current month to date. Requires a contributor-or-better role and a paid plan (the backend refuses a viewer with 403). Read-only — it changes nothing. WORKFLOW: get_allocation_breakdown (how much is Unallocated) → get_tag_coverage / run_cost_pivot to find who owns it → preview_allocation_rule → create_allocation_rule. Example: { "cost_center_id": "", "match_dimension": "tag", "tag_key": "team", "tag_value": "platform" }.
Inputs: enabled, rule_id, tag_key, priority, +7 more.
query_costsQuery Costs (AWS default; per-provider)ARead-onlyInspect
Query CloudQuell cost & FinOps data for the caller's organization. ONE flexible tool: choose a view to get the slice you need. view="overview" (default) returns month-to-date spend vs the previous month, per-account and per-service rollups, and a service-level comparison. view="detailed" returns the pivot VOCABULARY for this scope — the service names, tag keys and linked accounts you can filter on. It does NOT return pivot tables: use run_cost_pivot for those (by product, usage type, tag, region, cost center, charge type or provider). DEFAULTS TO AWS: without provider the backend scopes to AWS cost data only. Pass provider ("azure" | "gcp" | "snowflake" | "anthropic" | "openai") to query another connected provider instead. Filter with start_date/end_date (YYYY-MM-DD), account_id, and service — the filter values are provider-native (payload field names like awsService are legacy-named but carry the scoped provider's data). account_id takes either a sub-account NAME or a 12-digit cloud account id (the id is resolved to the name for you); get_available_linked_accounts lists both. COST BASIS: by default the numbers use the organization's SAVED cost settings. Pass cost_basis to pin an explicit basis — { "use_amortized": true } for the FINANCE view (commitment/upfront fees spread across the term they cover, matching accrual reporting and what a chargeback or a CFO conversation needs), or leave it unblended for the ENGINEERING view (what was billed on the day, matching the provider console and what a team debugging a spike expects). include_credits / include_discounts / include_refunds / include_taxes decide what nets against the total. cost_basis is LAYERED: each field you set overrides just that toggle for this call, and every field you omit keeps the organization's saved value — so pin only what the question needs. The basis actually applied comes back as costBasis in the response (with overrides naming the toggles you pinned); quote its summary when reporting the numbers. Use response_format="concise" (default) for key fields, "detailed" for the full payload. Read-only — never modifies anything. Example: { "view": "overview", "start_date": "2026-05-01", "end_date": "2026-05-31", "response_format": "concise" } returns this-month-so-far totals and the top account/service movers; add "provider": "azure" for the same slice of Azure spend, or "cost_basis": { "use_amortized": true, "include_credits": true } for the amortized, credit-netted finance view.
Inputs: view, limit, service, end_date, +5 more. Returns: note, tool, view, message, +15 more
run_cost_pivotRun Cost PivotARead-onlyInspect
Break spend down by ANY combination of dimensions — THE tool for "cost by product", "by usage type", "by tag", "by region", "by cost center", "by charge type", or "which provider is this spend on". This is the ONLY tool that can do those pivots: query_costs view="detailed" returns just the pivot vocabulary (pivotsAvailable: false), and to compare two windows by any of these dimensions, use compare_periods with that group_by — it runs the two pivots for you. Group with dimensions (1-3, outermost first): "service", "account", "region", "provider", "service_category", "subcategory" (usage type), "usage_family", "charge_type", "charge_subtype", "tagged", "cost_center", "resource", or "tag:" for any tag key. ⚠ TAG KEYS ARE CASE- AND HYPHEN-SENSITIVE — call get_available_tag_keys first and copy the key exactly; a wrong key silently returns one "untagged" row (the untagged bucket is lowercase). Scope with EXACTLY ONE of provider, integration_id or integration_ids. Window: granularity "monthly" (default) / "weekly" / "daily", plus either explicit start_date/end_date or months_back (default 3, counted in units of the granularity). THE BACKEND CLAMPS SILENTLY — daily to ~30 days, weekly to ~55 days, monthly to ~6 months — so the response always echoes requestedWindow AND returnedWindow, and adds a windowNote when they differ. Report figures against the window that was SERVED. ASYNC: this runs an Athena job. Quick pivots come back with rows; a slow one returns { jobId, status, pollAfterMs } and you call get_cost_pivot with that job_id. Jobs expire 24 hours after creation. ⚠ THE MAIN FAILURE MODE IS RESPONSE_TOO_LARGE (413) on a wide pivot — this backend returns every row in one response and does not page. The fix is FEWER DIMENSIONS or a SHORTER WINDOW, never a different limit (which is applied here, after sorting by _total desc, and cannot shrink the server-side payload). WHICH SPECIFIC RESOURCES: add "resource" as the LAST dimension to break any pivot down to individual resources — "which instances is this service's spend actually on", "which volumes are driving this account". It has FOUR rules, all checked before the job is submitted so you get a sentence instead of an error code: (1) it must be LAST in dimensions; (2) the pivot must be scoped with integration_id — never provider or integration_ids, because resource ids are only meaningful inside one connection; (3) at most 2 other dimensions before it; (4) a monthly window covers at most 3 months, not the usual 6. ⚠ READING RESOURCE ROWS (verified on prod, and NOT what you would assume): _resource_id and _region are OPTIONAL AND INDEPENDENT — a row may have both, either, or neither, within one response. Check before you use them; a missing _resource_id means the backend did not attribute one, NOT that the resource has no id. The displayed resource value is sometimes the full ARN and sometimes just a short name, so prefer _resource_id for console links and fall back to naming the resource without one. resource can also be the EMPTY STRING "" — that is spend with no resource attribution at all (support, commitment fees, tax), not a bug. And rows valued "Others" are the backend's collapse bucket: match that literal string, because such a row can still carry _resource_id and _region when only one small resource was folded into it. RELATED: get_resource_breakdown is the better tool for the SINGLE-SERVICE, SINGLE-DAY question ("what resources drove AmazonRDS on 2026-09-04") — it takes a service and a date directly and needs no job. Use a "resource" pivot when you want resources ACROSS a grouping or over several time columns. Rows use the dimension name verbatim as the key, so a tag pivot row has a literal "tag:user_app" key alongside each time column and _total. Read-only. Examples: { "dimensions": ["tag:user_app"], "provider": "aws", "granularity": "daily", "months_back": 14 } for daily spend by that tag; { "dimensions": ["provider", "service_category"], "provider": "aws", "granularity": "monthly", "months_back": 3 } for a monthly cross-provider category breakdown; { "dimensions": ["cost_center", "service"], "provider": "aws", "limit": 50 } for which services each cost center is spending on; { "dimensions": ["service", "resource"], "integration_id": "", "granularity": "monthly", "months_back": 1 } for the individual resources behind each service on one connection.
Inputs: dimensions (required), limit, end_date, provider, +11 more. Returns: code, note, rows, tool, +24 more
run_saved_reportRun Saved ReportARead-onlyInspect
Run one of the organization's saved custom reports by its report_id and get its rows — THE tool for "run our Cost by Team report" or "what does the EC2 Usage Breakdown report show this month?". It loads the report's saved pivot settings (dimensions, granularity, service / account / cost-center filters and the exact integrations it was saved over) and runs them through the same code as run_cost_pivot, so it returns the same shape: rows largest-_total-first, columns, grandTotals, and requestedWindow / returnedWindow with a windowNote if the backend clamped the window — or, for a slow report, a { jobId, status } handle you collect with get_cost_pivot. A relative range ("Last 6 Months", "This Month", …) is recomputed from today, as the dashboard does when you open the report. Override the window with start_date / end_date and the row cap with limit. Only cost is returned: if the report also saves usage metrics they are listed in omittedMetrics, and the cost figures are unaffected. Each connection's saved cost settings apply, as in the dashboard. A report with a setting this tool can't express is refused with a sentence naming it. pivotArguments echoes the exact run_cost_pivot arguments used, so you can rerun or vary it there. Read-only. Example: { "report_id": "" }; { "report_id": "…", "start_date": "2026-10-01", "end_date": "2026-10-31", "limit": 20 } runs it for October only.
Inputs: report_id (required), limit, end_date, start_date, +2 more. Returns: code, note, rows, tool, +28 more
send_inviteSend Organization InviteAInspect
Invite a person to the caller's organization by email (POST /api/invites). Optionally set their role (super_admin | admin | contributor | viewer; defaults to contributor) and a personal message. Roles: viewer = read-only; contributor = read + manage FinOps content (budgets, reports, alerts, cost centers, allocation rules, notification channels, anomaly dismissal, recommendation status); admin = + org governance (invites, members, integrations, preferences); super_admin = everything (rename, billing, delete, assign roles). WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Returns the created invite (id, email, role, status, token, expiry). Example: { "email": "ops@example.com", "role": "contributor", "confirm": true } sends the invite.
Inputs: email (required), role, confirm, message.
set_alert_rule_activePause / Resume Alert RuleAIdempotentInspect
Pause or resume an alert rule without editing it (PUT /api/reports/cost-dashboard/alerts/{id}/active). is_active: false stops it evaluating and notifying; true resumes it. Resuming is refused when the rule has nowhere to deliver (e.g. its only channel was deleted) — attach a channel or email with update_alert_rule instead, which also resumes an auto-paused rule. Works on any plan, so a downgraded organization can still silence old rules. Returns the rule's new state. In the app any active member can create alert rules and manage the ones they created, contributors and admins manage every rule, viewers can attach saved channels but not ad-hoc emails, and the public demo organization is read-only; over MCP every write additionally needs the admin gate below. Alert rules need a paid plan. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "alert_id": "…", "is_active": false, "confirm": true }.
Inputs: alert_id (required), is_active (required), confirm.
switch_organizationSwitch OrganizationAIdempotentInspect
Switch the CloudQuell organization you are working in (POST /api/organizations/{organization_id}/switch). Every other CloudQuell tool acts on the CURRENT organization only; this tool changes which one that is. Intended flow: list_organizations (find the organization_id; the current one is marked is_current) → switch_organization → then the other tools, which from the next call on run against the new organization. Returns the new organization's id, name, tier and your role in it (your_role), plus mcp_access: false when its plan will refuse the other tools. The change PERSISTS: it also switches the user's CloudQuell dashboard to that organization, and later conversations start there too. Switch back the same way. Tell the user which organization you switched to. Needs confirm:true. It changes only YOUR default organization (the same as the org switcher in the dashboard), so it does not need the admin:write scope, an admin role, or the organization's AI agent access switch, and works for any member. You can only switch to an organization you are an active member of. Not available on CloudQuell API keys (cak_), which are pinned to one organization. Example: { "organization_id": "3f2b9c1e-8a4d-4e6f-9b1a-2c3d4e5f6a7b", "confirm": true } switches to that organization.
Inputs: organization_id (required), confirm, response_format.
test_notification_channelTest Notification ChannelAInspect
Send a test message to a notification channel by its id (POST /api/reports/cost-dashboard/notification-channels/{id}/test). SIDE-EFFECTING — this dispatches a REAL test message to the channel destination (a real Slack/Teams post or email), so recipients will see it. Returns { success, message }. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "channel_id": "chan-123", "confirm": true } sends a real test message.
Inputs: channel_id (required), confirm.
trigger_integration_ingestTrigger Integration IngestAIdempotentInspect
Trigger an on-demand data ingest for an integration (POST /api/integrations/{integration_id}/ingest/trigger). Kicks off (or re-runs) the ingest job for that integration. Idempotent — re-triggering while a run is in flight is a no-op. Returns { message, status }. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "integration_id": "int-123", "confirm": true } triggers the ingest.
Inputs: integration_id (required), confirm.
undismiss_anomalyUn-dismiss AnomalyADestructiveIdempotentInspect
Reverse a previous anomaly dismissal so the anomaly can surface again (DELETE /api/reports/cost-dashboard/anomaly-dismissals?service&period&window[&integration_id]). Provide the SAME service, period, window, AND integration scope used to dismiss it — integration-scoped and org-wide dismissals are distinct rows: pass integration_id to remove a scoped dismissal, omit it to remove an org-wide one. Use list_anomaly_dismissals to find the exact values (integrationId null = org-wide). WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "service": "AmazonEC2", "period": "2026-06", "window": "mtd", "confirm": true }.
Inputs: period (required), window (required), service (required), confirm, +1 more.
update_alert_ruleUpdate Alert RuleAIdempotentInspect
Change an alert rule (PUT /api/reports/cost-dashboard/alerts/{id}). Provide alert_id and only what should change — any of alert_name, alert_type, frequency, analysis_period, threshold_percent, threshold_amount, integration_id (an id pins it; null = whole organization, or for tokens_per_request every OpenAI connection), cost_center_id (budget / trend only; null removes it), per / min_requests / values (tokens_per_request only), services, accounts, tags, notification_channel_ids (replaces; [] detaches all), emails (replaces; max 5; [] clears). Everything you omit is kept: the tool reads the rule and resends it with your changes. Changing alert_type drops the old thresholds (percent, money and days mean different things per type) and resets analysis_period to the new type's default unless you pass them — send the new type's threshold with it (trend/anomaly/tokens_per_request: threshold_percent; budget: threshold_amount; expiry: threshold_amount days). A cost center is kept across a budget ↔ trend change and dropped for any other type. Setting a cost center makes the rule organization-wide and clears its services / accounts / tags. Changing to tokens_per_request (OpenAI only) sets frequency daily, clears services / accounts / tags and targets every OpenAI connection — a rule pinned to a non-OpenAI connection is unpinned by the change unless you pass an OpenAI integration_id. The rule must keep a channel or an email; a rule the backend auto-paused (its channel was deleted, or every recipient unsubscribed) resumes when saved with a working recipient. To pause or resume without editing, use set_alert_rule_active. Validation errors come back verbatim. Returns the updated rule. In the app any active member can create alert rules and manage the ones they created, contributors and admins manage every rule, viewers can attach saved channels but not ad-hoc emails, and the public demo organization is read-only; over MCP every write additionally needs the admin gate below. Alert rules need a paid plan. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "alert_id": "…", "threshold_percent": 30, "confirm": true } changes only the threshold.
Inputs: alert_id (required), per, tags, emails, +14 more.
update_allocation_ruleUpdate Allocation RuleAIdempotentInspect
Edit an existing cost-allocation rule (PUT /api/allocation-rules/{rule_id}). Pass rule_id and ONLY the fields to change — the tool reads the stored rule and keeps everything you omit (the backend PUT replaces every column, so this merge is what stops a lone enabled:false from also resetting the priority). Typical edits: retarget (cost_center_id), fix a tag value, narrow to one connection (integration_id; null widens back to all), change priority (lower = checked first), or switch the rule off/on (enabled). Changing match_dimension drops the old dimension's fields. Run preview_allocation_rule with the same rule_id + fields first. Returns previous (the stored values before the edit), the saved rule, and impact (before/after allocation, current month to date) unless include_impact:false. Deleting rules and bulk reordering are not available here — use the CloudQuell dashboard. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "rule_id": "", "enabled": false, "confirm": true } switches a rule off; { "rule_id": "", "priority": 10, "confirm": true } moves it ahead of the default-priority rules.
Inputs: rule_id (required), confirm, enabled, tag_key, +7 more.
update_budgetUpdate BudgetAIdempotentInspect
Update an existing budget (PUT /api/budgets/{budget_id}). Provide budget_id and any of: name, amount, start_date (YYYY-MM-DD), end_date (YYYY-MM-DD), period, integration_id, scope, threshold_pcts, notification_channel_ids (replaces the attached channels; [] detaches all), emails (replaces the ad-hoc addresses, max 5; [] clears), enabled. A true PARTIAL update — only the fields you send are changed; everything omitted is preserved (so { enabled: false } disables without touching scope, thresholds, channels or emails). The currency is NOT settable. Returns the updated budget. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "budget_id": "b1a2c3d4-...", "enabled": false, "confirm": true } disables a budget; { "budget_id": "…", "amount": 60000, "confirm": true } changes only the amount.
Inputs: budget_id (required), name, scope, amount, +9 more.
update_notification_channelUpdate Notification ChannelAIdempotentInspect
Edit a notification channel in place (PUT /api/reports/cost-dashboard/notification-channels/{id}): rename it, point a Slack/Teams channel at a new webhook URL, or replace an email channel's address list. The channel type can't change. Alert rules, budgets and report schedules reference channels by id and resolve them at send time, so the change reaches every one of them on its next send — no need to re-save them. Returns the channel (the webhook URL is never echoed back). WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "channel_id": "chan-123", "email_addresses": ["finops@acme.com", "cfo@acme.com"], "confirm": true }.
Inputs: channel_id (required), confirm, webhook_url, channel_name, +1 more.
update_organization_nameUpdate Organization NameAIdempotentInspect
Rename an organization (PUT /api/organizations/{org_id}, body { organization_name }). org_id is required and is placed into the path. Returns the updated organization. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Idempotent (re-applying the same name is a no-op). Example: { "org_id": "org-123", "organization_name": "Acme FinOps", "confirm": true }.
Inputs: org_id (required), organization_name (required), confirm.
update_organization_preferencesUpdate Organization PreferencesAIdempotentInspect
Update an organization's preferences (PUT /api/organizations/{org_id}/preferences, body { preferences }). org_id is required. Common keys: currency, language, dismissed_quick_setup. Keys are shallow-merged into the existing preferences — omitted keys are left untouched — so send only the keys you want to change. Returns the updated organization. currency is the org-wide DISPLAY currency (a 3-letter ISO-4217 code, case-insensitive here). The backend validates it against the 28 supported codes (USD, EUR, GBP, CAD, AUD, JPY, CNY, INR, BRL, MXN, CHF, KRW, SGD, HKD, NZD, SEK, NOK, DKK, ZAR, AED, SAR, PLN, THB, IDR, MYR, PHP, ILS, TRY) and rejects anything else with a 400. ⚠ mcp_writes_enabled CANNOT BE SET HERE. That preference is the organization switch that allows AI agents to make changes over MCP; this tool strips it, tells you it did, and applies the rest. Only a human org admin can change it, in Settings → Organization → AI agent access. WRITE TOOL — writes are OFF by default for every organization: this call needs the admin:write scope, the organization switch turned on, an admin or super_admin org role, and confirm:true. Without all four it refuses and changes nothing. Idempotent (re-sending the same preferences is a no-op). Example: { "org_id": "org-123", "preferences": { "currency": "USD", "language": "en" }, "confirm": true }.
Inputs: org_id (required), preferences (required), confirm.
update_recommendation_statusUpdate Recommendation StatusAIdempotentInspect
Update the status of a savings recommendation (PATCH /api/reports/cost-dashboard/recommendations/{recommendation_id}/status). Use to mark a recommendation as implemented, dismissed, in_progress, etc. The done/terminal status is "implemented" (banks the estimated savings); the legacy synonym "applied" is accepted and mapped to it. Optionally record notes, realized_savings (dollars, when implemented), and a dismissed_reason (when dismissing). Returns the updated record / ack. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "recommendation_id": "rec-123", "status": "implemented", "realized_savings": 240, "confirm": true }.
Inputs: status (required), recommendation_id (required), notes, confirm, +2 more.
update_report_scheduleUpdate Report ScheduleAIdempotentInspect
Change a report schedule in place (PUT /api/reports/custom-reports/schedules/{id}): any of frequency (daily | weekly = Mondays | monthly = the 3rd, 13:00 UTC), is_active (false pauses, true resumes), notification_channel_ids (replaces the channels; [] detaches all) and emails (team only; replaces the addresses, max 5; [] clears). Only the fields you send change. Rules the backend enforces: a team schedule must keep at least one email or channel (to stop it entirely, pause or delete it); personal schedules take no emails/channels; the digest takes Slack/Teams channels but never emails (its recipients are members by role). Team schedules can be changed by their creator or an admin; a personal schedule only by its creator. Returns the updated schedule with its resolved channels. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "schedule_id": "…", "frequency": "monthly", "confirm": true }; { "schedule_id": "…", "is_active": false, "confirm": true } pauses it.
Inputs: schedule_id (required), emails, confirm, frequency, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
FinOps assistant: query AWS, GCP and Azure cost, commitments, budgets and reports.
Query cloud, AI and SaaS spend across 25+ providers: costs, budgets, anomalies, unit economics.
Cloud cost + FinOps knowledge for AI agents: AWS/Azure/GCP optimisation, AI spend, waste playbooks.
AI spend by team, developer and API key for Claude, OpenAI, Gemini and coding agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables natural language analysis of AWS cloud costs, waste audits, and budget insights across multiple profiles and regions.MIT
- AlicenseAqualityCmaintenanceEnables analyzing AWS cloud costs through natural language queries, providing cost summaries, anomaly detection, idle resource identification, rightsizing recommendations, and tagging compliance via Claude.10MIT
- FlicenseNot gradedqualityAmaintenanceEnables natural-language querying of AWS cloud spending and Amazon Bedrock usage logs, with detailed breakdowns by day, region, service, instance type, user, and model, including cross-account cost retrieval.-
- FlicenseNot gradedqualityAmaintenanceEnables natural-language querying and analysis of AWS spending and model-invocation usage, including detailed breakdowns by service, region, account, day, and instance type.-
Glama MCP Gateway
Add one secure layer between your agents and this server.