Skip to main content

Example Queries: Costs, Resources, and Security

Overview​

These prompts help an AI client choose Spotto MCP tools. Answers depend on the data Spotto has synchronized, the key's permissions, and the selected endpoint profile. Ask the assistant to report missing data and coverage limits. A prompt does not add a capability that the tools or your account lack.

For monetary answers, ask for the currency, period, billed or amortized basis, and whether figures are billing-backed or estimated. Keep currencies separate and do not add standalone recommendation savings unless the result explicitly provides a deduplicated portfolio total.

Read-heavy workflows

If your client mainly asks questions and does not need action tools, the regional read endpoint is usually a good fit. It keeps the tool catalog smaller, which can help clients that struggle with the default full endpoint. See MCP Endpoint Profiles.

Cost Analysis​

Understanding Current Spend​

"What's my total spend across all subscriptions this month?"

"Show me a breakdown of costs by resource group for subscription prod-001"

"Which services are costing the most in my analytics subscription?"

Comparing Periods​

"How does this month's spend compare to last month?"

"What changed in my storage costs between October and November?"

"Show me the cost trend for my production subscription over the last 6 months"

Identifying Anomalies​

"Are there any unusual cost spikes I should know about?"

"What's driving the 40% increase in my compute costs?"

"Which resources have the biggest cost changes this week?"

Drilling Into Details​

"Break down the costs for resource group rg-data-platform by service type"

"What are the individual line items for my SQL database costs?"

"Show me the daily cost pattern for my storage accounts"

Resource Management​

Browsing Resources​

"List all VMs in my production subscription"

"What resources are in the analytics resource group?"

"Show me all storage accounts across my subscriptions"

Getting Resource Details​

"What's the configuration of my SQL database server-prod-01?"

"Show me the details for the VM named web-server-03"

"What tags are applied to resources in the data-platform resource group?"

Service Retirements​

"Are there any Azure service retirements affecting my subscriptions?"

"What deprecated services am I still using?"

"Show me upcoming retirements I need to plan for"

Working with Recommendations​

Finding Opportunities​

"What are my top 5 cost-saving opportunities?"

"Show me recommendations for my production subscription"

"What security improvements should I prioritize?"

"Are there any high-impact recommendations I'm missing?"

Filtering Recommendations​

"Show me only recommendations that save more than 100 USD per month"

"What recommendations exist for my SQL databases?"

"List dismissed recommendations for the analytics team"

Acting on Recommendations​

These prompts require the full or write profile. Automatic implementation can change Azure resources and requires a supported recommendation action and configured write capability; it does not simply mark a recommendation as completed.

"Dismiss the VM rightsizing recommendation for batch - server—we need the capacity for month-end processing"

"Show the supported automatic action and affected resources for this recommendation before requesting implementation"

"Prioritize the security recommendations as high priority"

Sharing with Your Team​

Share a specific recommendation and its selected resources through a configured company integration. Slack and Teams use that integration's destination; naming a channel in a prompt does not configure or override it. The share tool is not a general email or report-delivery service.

"Share the storage optimization recommendations to #infrastructure on Slack"

"Email this recommendation and its affected resources to [email protected]"

"Create a Jira ticket for the networking security recommendations"

"Post the top 3 recommendations to the DevOps Teams channel"

Security Posture​

Secure Score​

"What's my current secure score?"

"How has my secure score changed over the last month?"

"Which subscriptions have the lowest secure scores?"

Security Recommendations​

"Show me high-priority security recommendations"

"What security issues affect my production environment?"

"List recommendations related to network security"

Planning & Governance​

Budgets & Forecasting​

Ask for stored budget or forecast evidence where available. Forecasts and budget coverage may be missing; the assistant should say so instead of inventing values.

"What is my forecasted spend for the current month?"

"Am I projected to go over budget on subscription prod-001?"

"Show me the budget utilization for my marketing resource group."

Tagging & Compliance​

"List resources that are missing the 'Owner' tag."

"Show me all resources tagged 'Environment: Dev' that cost more than 10 USD per month."

"Check the configuration of 'app-service-01'—is HTTPS only enabled?"

Multi-Subscription Queries​

Cross-Subscription Analysis​

"Compare costs across all my subscriptions"

"Which subscription has the most recommendations?"

"Show me resource counts by subscription"

Company-Wide Views​

"What's the total spend for Acme Corp across all subscriptions?"

"Find cost optimization opportunities across Contoso and show which subscriptions were covered"

"Use compiled cost environment evidence for every subscription, follow all continuation pages, and report unavailable subscriptions"

"List all subscriptions I have access to"

"Show me the highest-cost resources company-wide"

Administrative Tasks​

User Management​

"Who has access to the production company?"

"What role does [email protected] have?"

"List the users assigned to this company"

API Key Management​

Use the Spotto Portal to list, inspect, create, rotate, or revoke API keys. Those MCP tool names may appear in discovery, but the API rejects key-management calls authenticated with an API key.

Tips for Effective Queries​

Be Specific When You Can​

Instead of: "Show me costs"

Try: "Show me compute costs for subscription prod-001 over the last 30 days"

Provide Context for Actions​

Instead of: "Dismiss the recommendation"

Try: "Dismiss the VM rightsizing recommendation for batch - server—we need the extra capacity for quarterly reports"

Ask Follow-Up Questions​

Start broad, then narrow down:

  1. "What are my biggest cost drivers?"
  2. "Break down the storage costs by storage account"
  3. "What recommendations exist for storage-account-03?"

Use Natural Timeframes​

Your AI client translates natural time expressions into the tools' supported parameters. It must select available periods and report when the requested range is unavailable:

  • "this month" / "last month"
  • "the last 30 days"
  • "this week"
  • "since January"
  • "Q3 2024"

Troubleshooting Queries​

If You Get Incomplete Results​

Try being more specific about what you're looking for:

"Show the cost breakdown for subscription prod-001 by service, stating the period, billed or amortized basis, source, currency, and any missing data"

If the AI Seems Confused​

Break complex questions into steps:

Instead of: "Show me which recommendations I should implement first based on ROI and effort"

Try:

  1. "What are the cost-saving recommendations for prod-001?"
  2. "Which of those save more than 50 USD per month?"
  3. "What's the effort level for each?"

If You Need Historical Data​

Specify the time range explicitly:

"Show me the subscription metrics history for the last 12 months"

What's Not Supported​

Spotto MCP exposes a curated tool catalog, rather than every Spotto API or Portal operation. It does not provide arbitrary Azure resource creation, deletion, or configuration commands, invoice downloads, API-key management, or a general report-email tool. Supported recommendation implementation can change Azure configuration through the configured action workflow. Dashboard layout tools are available when the key has permission.

For other workflows, use the relevant Spotto Portal or Azure Portal feature.