Skip to main content
Glama
alexpota

cloudscope-mcp

by alexpota

CloudScope MCP

Спрашивайте свой ИИ о счетах за облачные услуги.

npm version Node.js TypeScript License: MIT

Установка

Claude Code

Cursor

VS Code

claude mcp add cloudscope -- npx -y cloudscope-mcp

Установить

Установить

Related MCP server: Azure FinOps Elite

Что это делает

CloudScope предоставляет ИИ-ассистентам доступ только для чтения к вашим данным о расходах в Azure. Спрашивайте о затратах, находите аномалии, получайте рекомендации по оптимизации и прогнозируйте счет за следующий месяц — и все это на естественном языке.

Поддерживаемые провайдеры

Провайдер

Статус

Azure

✅ Поддерживается

GCP

Скоро появится

AWS

Используйте официальный сервер AWS

Предварительные требования

  • Установленный и настроенный Azure CLI (az login)

  • Ваш ID подписки (az account show --query id -o tsv)

  • Роль Cost Management Reader (Читатель управления затратами) для подписки

Конфигурация

Добавьте в конфигурацию вашего MCP-клиента (claude_desktop_config.json, настройки Cursor и т.д.):

{
  "mcpServers": {
    "cloudscope": {
      "command": "npx",
      "args": ["-y", "cloudscope-mcp"],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "your-subscription-id"
      }
    }
  }
}

Для локальной разработки не требуется субъект-служба (service principal). DefaultAzureCredential автоматически подхватывает вашу сессию az login.

Переменная

Описание

AZURE_TENANT_ID

ID арендатора Azure AD

AZURE_CLIENT_ID

ID клиента регистрации приложения

AZURE_CLIENT_SECRET

Секрет клиента регистрации приложения

Установите их вместе с AZURE_SUBSCRIPTION_ID в блоке env выше.

Инструменты

Инструмент

Описание

Ключевые параметры

get_cost_summary

Разбивка расходов по сервисам, группам или регионам

start_date, end_date, group_by

detect_anomalies

Поиск скачков расходов по сравнению с предыдущим периодом

days, threshold

list_recommendations

Рекомендации Azure Advisor по оптимизации затрат

category

get_cost_forecast

Прогноз расходов на основе текущих тенденций

days

check_budgets

Статус бюджета, текущие расходы, прогнозируемое превышение

(нет)

compare_periods

Сравнение расходов за два периода времени

period_a_start/end, period_b_start/end

top_spending_resources

Самые дорогие отдельные ресурсы

days, limit

get_current_date

Сегодняшняя дата и границы текущего/предыдущего месяца

(нет)

Примеры запросов

  • "Сколько стоил Azure в прошлом месяце?"

  • "Покажи расходы по группам ресурсов за последние 7 дней"

  • "Были ли аномалии в расходах на этой неделе?"

  • "Сколько будет стоить Azure в следующем месяце?"

  • "Покажи мне рекомендации по оптимизации затрат"

  • "У каких сервисов был самый большой рост расходов?"

Безопасность

CloudScope работает только в режиме чтения. Он не может создавать, изменять или удалять какие-либо ресурсы Azure. Все вызовы API используют права доступа Cost Management Reader без возможности записи.

Часто задаваемые вопросы

Изменяет ли это мои ресурсы Azure? Нет. Только доступ для чтения.

Нужен ли мне субъект-служба (service principal)? Нет. az login работает для локального использования.

Как насчет GCP? Скоро появится.

Платный ли API Azure Cost Management? Нет. Он бесплатный.

Разработка

git clone https://github.com/alexpota/cloudscope-mcp.git
cd cloudscope-mcp
npm install
npm run build
npm test
npx @modelcontextprotocol/inspector node dist/index.js

Лицензия

MIT

Available Tools

15 tools
check_budgetsBudget StatusA
Read-onlyIdempotent

Check budget status: current spend vs limit, percentage used, forecast, and overage risk. For GCP, requires GCP_BILLING_ACCOUNT_ID to be set.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerNoCloud provider to query (azure or gcp)azure

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, so safety is covered. The description adds the GCP prerequisite and mentions the type of data returned (forecast, overage risk), providing useful behavioral context beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: first states the purpose concisely, second adds a critical prerequisite. No unnecessary words, front-loaded with key information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the tool's purpose and key conditions clearly. With no output schema, it lists the types of data returned (spend vs limit, percentage, forecast, overage risk). Could mention relationship to cost tools, but adequate for a simple read tool with annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with the parameter 'provider' fully described. The description adds no additional meaning beyond the schema, only a conditional usage note. Baseline of 3 applies as per guidelines.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb 'Check' and resource 'budget status', clearly listing the metrics (current spend vs limit, percentage used, forecast, overage risk). None of the sibling tools mention budgets, so it distinguishes well.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a clear condition for GCP usage (requires GCP_BILLING_ACCOUNT_ID) but does not explicitly state when to use vs alternatives like cost summary or forecasts. The context is clear but lacks exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

compare_periodsCompare Cost PeriodsA
Read-onlyIdempotent

Compare costs between two date ranges, showing per-service absolute and percentage changes.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerNoCloud provider to query (azure or gcp)azure
period_a_startYesPeriod A start date (YYYY-MM-DD)
period_a_endYesPeriod A end date (YYYY-MM-DD)
period_b_startYesPeriod B start date (YYYY-MM-DD)
period_b_endYesPeriod B end date (YYYY-MM-DD)
group_byNoHow to group costs: service or resource_groupservice

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate this is a safe, read-only operation. The description adds value by specifying that output includes per-service absolute and percentage changes, providing transparency beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence (13 words) that is front-loaded and free of superfluous information. Every word adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of an output schema, the description adequately explains the return format (per-service absolute and percentage changes). For a tool with 6 parameters and rich annotations, this provides sufficient context for use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Since schema description coverage is 100%, the description does not need to add parameter details. The description does not elaborate on parameters beyond what the schema provides, which is acceptable at baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action (compare), the resource (costs between two date ranges), and the output (per-service absolute and percentage changes). It effectively distinguishes this tool from sibling tools like get_cost_summary or get_cost_forecast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for comparing cost periods but does not explicitly state when to use this tool versus alternatives, nor does it provide exclusions or prerequisites. Guidance is minimal.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

detect_anomaliesDetect Cost AnomaliesA
Read-onlyIdempotent

Compares daily spending over the last N days against the prior N days to find cost spikes. Returns a list of services where spending increased above the threshold percentage, sorted by increase amount. Each entry includes service name, previous cost, current cost, percentage change, and absolute change in USD. Returns an empty list if no anomalies found. Use this when the user asks about unexpected cost increases, billing surprises, or wants to know if anything changed recently.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerNoCloud provider to query (azure or gcp)azure
daysNoNumber of days to compare (default: 7)
thresholdNoMinimum percentage increase to flag (default: 20)

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description explains the comparison logic, sorting, and that it returns an empty list if no anomalies. Annotations already indicate read-only, idempotent, non-destructive behavior. The description adds context about the output structure but not about rate limits or prerequisites.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, no fluff, front-loaded with the main action. Every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (3 optional params, no output schema), the description covers what it does, what it returns, and when to use it. No missing information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with clear descriptions for all parameters. The description does not add extra parameter details beyond the schema, but it contextually explains how days is used for both periods. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool compares daily spending to find cost spikes, lists the output fields, and distinguishes its purpose from siblings like compare_periods by focusing on anomaly detection.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly tells when to use the tool: when the user asks about unexpected cost increases, billing surprises, or recent changes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

find_idle_resourcesFind Idle ResourcesA
Read-onlyIdempotent

Finds cloud resources that are provisioned but not actively used — unattached disks, orphaned network interfaces, unused IPs, idle VMs, and empty compute plans. Returns each resource with its name, type, resource group/project, reason it is idle, and estimated monthly cost in USD. Returns an empty list if no idle resources are found. Use this when the user asks about waste, idle or unused resources, cleanup opportunities, or wants to find resources to delete to reduce costs.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerNoCloud provider to query (azure or gcp)azure

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Disclosures basic read-only behavior, return format (name, type, group, reason, cost), and empty list case. Annotations already provide readOnlyHint, destructiveHint, idempotentHint, and openWorldHint. The description adds useful return details but could mention pagination or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, no redundancy. Front-loaded purpose, then return details, then usage guidance. Every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the low parameter count (1), no required parameters, comprehensive annotations, and no output schema, the description adequately covers all necessary context including return format and empty result behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with the single 'provider' parameter having a clear description and enum. The description does not add new meaning beyond the schema, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description specifies exactly what the tool does: find provisioned but unused cloud resources (unattached disks, orphaned interfaces, unused IPs, idle VMs, empty compute plans). It clearly distinguishes from sibling tools like find_untagged_resources by focusing on idle resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use: when user asks about waste, idle or unused resources, cleanup opportunities, or cost reduction. This provides clear context for when this tool is appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

find_untagged_resourcesFind Untagged ResourcesA
Read-onlyIdempotent

Finds resources that have no tags or labels applied. Returns each resource with its name, type, resource group/project, and location. Untagged resources cannot be attributed to teams or projects, making cost allocation and chargeback impossible. Returns an empty list if all resources are tagged. Use this when the user asks about tagging compliance, governance, cost attribution gaps, or wants to identify resources that need tags or labels.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerNoCloud provider to query (azure or gcp)azure

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Description adds that results include specific fields, returns empty list if all tagged, and explains the business impact. Annotations already indicate it's safe and idempotent, but the description provides useful behavioral context beyond them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, no wasted words. First sentence states purpose, second details output, third explains importance, fourth gives usage guidance. Efficient and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with one parameter and no output schema, the description covers the output format, edge case (empty list), and business relevance. Complete and sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter 'provider' is fully documented in the schema with enum values. The description adds meaning by explaining the output structure and the empty list case, going beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool finds resources without tags/labels, specifying the returned fields (name, type, resource group/project, location). It distinguishes from siblings like 'get_cost_by_tag' which deals with tagged resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says to use when the user asks about tagging compliance, governance, or cost attribution gaps. Does not mention when not to use or alternatives, but the context is clear given the sibling list.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_cost_by_tagCost by TagA
Read-onlyIdempotent

Breaks down costs by a specific tag or label key such as team, environment, or project. Returns a sorted table with each tag value, cost in USD, and percentage of total. Includes a total row and daily average. Returns an error if the date range is invalid or no tagged costs exist. Use this when the user asks about costs per team, per environment, cost allocation, chargeback, or wants to understand spending by any custom tag or label.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerNoCloud provider to query (azure or gcp)azure
tag_keyYesTag/label key to group costs by (e.g. team, environment, project)
start_dateNoStart date (YYYY-MM-DD). Defaults to first of current month.
end_dateNoEnd date (YYYY-MM-DD). Defaults to today.

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint and idempotentHint, so the description adds value by mentioning error conditions (invalid date range, no tagged costs) and output structure. It does not contradict annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two well-structured sentences. The first states functionality and output, the second gives usage guidance and error conditions. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description adequately covers purpose, output, and errors. It could mention sorting order or pagination, but the annotations (openWorldHint) imply results may vary. Overall, sufficiently complete for a read-only analytical tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already describes all parameters. The description adds context about default provider and grouping by tag_key, but doesn't significantly enhance meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool breaks down costs by a specific tag key and returns a sorted table with cost, percentage, total, and daily average. It distinguishes itself from siblings like find_untagged_resources by focusing on cost allocation by tag.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly tells when to use this tool (e.g., 'costs per team, per environment, cost allocation, chargeback'). It lacks explicit when-not-to-use or alternatives among siblings, but the guidance is clear enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_cost_forecastCost ForecastA
Read-onlyIdempotent

Projects future cloud spending for the next N days using a linear trend based on the last 30 days of actual costs. Returns the forecast period dates, projected total cost in USD, average daily projected cost, and the confidence basis (number of historical days used). Use this when the user asks "how much will I spend this month", wants to predict upcoming bills, or needs to plan budgets. Returns an error if insufficient historical data exists.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerNoCloud provider to query (azure or gcp)azure
daysNoNumber of days to forecast (default: 30)

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly and idempotent. Description adds behavioral details: linear trend, 30-day historical basis, return fields, and error condition. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: first states functionality and outputs, second gives usage and error condition. No fluff, front-loaded, every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite no output schema, description explains return values. Parameters are fully documented in schema. Error condition is mentioned. Complete for a forecast tool with given context signals.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions for both parameters. Description does not add new meaning beyond that, but it implies the days parameter corresponds to 'next N days'. Baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool projects future cloud spending using a linear trend based on the last 30 days. It lists specific return values and distinguishes from siblings like check_budgets or get_cost_summary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit usage guidance is given: use when user asks about monthly spend, predicts bills, or plans budgets. It also mentions error condition for insufficient data. No mention of when not to use or alternatives, but context is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_cost_summaryCloud Cost SummaryA
Read-onlyIdempotent

Returns a cost breakdown for a date range grouped by service, resource group, tag, or region. Defaults to current month if dates are omitted. Output includes a sorted table with each group name, cost in USD, and percentage of total. Includes a total row, daily average, and collapses groups beyond the top 10 into an "Other" row. Returns an error if the date range is invalid. Use this when the user asks "how much am I spending", "what costs the most", "show me my cloud bill", or wants a spending overview.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerNoCloud provider to query (azure or gcp)azure
start_dateNoStart date (YYYY-MM-DD). Defaults to first of current month.
end_dateNoEnd date (YYYY-MM-DD). Defaults to today.
group_byNoHow to group costs: service, resource_group, tag, or regionservice

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds details beyond the annotations: it explains the output format (sorted table with percentage, total row, daily average, and 'Other' row for groups beyond top 10), and mentions error behavior for invalid date ranges. This complements the readOnlyHint and idempotentHint well.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is four sentences, each serving a purpose: first defines the function, second explains defaults, third details output, fourth warns about errors and gives usage examples. It is well-structured and not overly long.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description compensates by detailing the output structure. It covers all four parameters implicitly and addresses common use cases. For a read-only summary tool with 15 siblings, it provides enough context to distinguish from related tools like get_cost_by_tag or compare_periods.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions for all parameters. The description does not add new semantics beyond defaults (e.g., provider defaults to azure, dates default to current month/today) which are already in the schema. So minimally adds value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it returns a cost breakdown grouped by service, resource group, tag, or region for a date range. It gives specific example queries like 'how much am I spending' and 'show me my cloud bill', which makes the purpose immediate and distinguishable from siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says to use this tool when the user asks for cost overviews, providing concrete query examples. However, it does not mention when to avoid it or suggest alternatives like get_cost_by_tag for specific tag breakdowns, which would make it more complete.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_cross_project_costsCross-Project Cost SummaryA
Read-onlyIdempotent

Returns a combined cost breakdown across multiple GCP projects sorted by total spend. Each project shows its name, total cost in USD, and percentage of the combined total. Use this when the user asks about costs across all GCP projects, wants to compare project spending, or needs an organization-wide cost overview.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerYesCloud provider (GCP-only tool)
project_idsNoProject IDs to include. Defaults to all known projects.
start_dateNoStart date (YYYY-MM-DD). Defaults to first of current month.
end_dateNoEnd date (YYYY-MM-DD). Defaults to today.

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already provide readOnlyHint, destructiveHint, idempotentHint. Description adds that results are sorted by total spend and include percentage, which is not in annotations. No contradiction. It does not mention rate limits or data freshness, but annotations cover safety adequately.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, no wasted words. First sentence states the main result, second sentence details output fields, third sentence gives usage guidance. Front-loaded with action verb.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Description explains what the tool returns and when to use it. It lacks details about default date ranges (handled in schema) and output format specifics, but is sufficient for an agent to select and invoke correctly given the annotations and schema coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. Description does not add extra parameter semantics beyond the schema; it only restates the tool's purpose. No new constraints or formats explained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it returns a combined cost breakdown across multiple GCP projects, sorted by total spend. It lists the returned fields (name, total cost, percentage). The verb 'returns' is specific and the resource is well-defined. It distinguishes from sibling tools like get_cross_subscription_costs by specifying GCP.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Description explicitly mentions three use cases: when user asks about costs across all GCP projects, wants to compare spending, or needs organization-wide overview. It does not explicitly say when not to use, but the context and sibling list imply it's for GCP only. Could mention alternatives like get_cross_subscription_costs, but still clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_cross_subscription_costsCross-Subscription Cost SummaryA
Read-onlyIdempotent

Returns a combined cost breakdown across multiple Azure subscriptions sorted by total spend. Each subscription shows its name, total cost in USD, and percentage of the combined total. Handles partial failures gracefully — if some subscriptions are inaccessible, returns results for the rest with a warning. Use this when the user asks about costs across all subscriptions, wants to compare subscription spending, or needs an organization-wide cost overview.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerYesCloud provider (Azure-only tool)
subscription_idsNoSubscription IDs to include. Defaults to all enabled subscriptions.
start_dateNoStart date (YYYY-MM-DD). Defaults to first of current month.
end_dateNoEnd date (YYYY-MM-DD). Defaults to today.

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate read-only, non-destructive, idempotent, open-world. Description adds valuable context: partial failure handling with warning, sorting by total spend. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three well-structured sentences covering purpose, output and failure behavior, and usage guidance. No redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite no output schema, description sufficiently explains output fields (name, total cost in USD, percentage), date range defaults, and subscription selection. Handles partial failures. Complete for this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions. Description adds no further parameter meaning beyond defaults and output fields, but that is sufficient given high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it returns a combined cost breakdown across multiple Azure subscriptions sorted by total spend, listing output fields. Distinct from siblings like get_cross_project_costs and get_cost_summary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly guides when to use: when user asks about costs across all subscriptions, wants to compare, or needs organization-wide overview. No explicit exclusions or alternative references, but context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_current_dateCurrent DateA
Read-onlyIdempotent

Returns today's date and the start/end of current and previous months in YYYY-MM-DD format

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds specific behavioral details about what dates are returned (start/end of current and previous months), which goes beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, front-loaded with the key purpose and format. No unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no parameters, no output schema, and annotations covering safety, the description fully specifies what the tool returns. No gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

No parameters exist, so baseline is 4. The description does not need to add parameter information.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns today's date and start/end of current and previous months. It distinguishes from sibling tools focused on budgets, costs, and projects.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use vs alternatives, but the tool is simple and unique among siblings, so usage is implied. Lacks explicit when-not or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_projectsList GCP ProjectsA
Read-onlyIdempotent

Returns all GCP projects the current credential can access, with name, ID, and state. Shows which project is currently active. Use this when the user has multiple GCP projects and wants to see which ones are available, or before calling get_cross_project_costs.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerYesCloud provider (GCP-only tool)

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, destructiveHint, idempotentHint, openWorldHint. Description adds concrete return fields (name, ID, state) and active project indicator, which is useful but not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with purpose and output, followed by usage guidance. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple nature of the tool, the description covers purpose, usage, output fields, and safety (via annotations). No output schema needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with one trivial parameter (provider const 'gcp'). Description adds no extra semantic value beyond the schema, baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description specifies verb 'Returns' and resource 'GCP projects' with details on output fields (name, ID, state, active project). Distinguishes itself from sibling tools like get_cross_project_costs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use: when user has multiple projects and before calling get_cross_project_costs. Provides clear context and alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_recommendationsCost Optimization RecommendationsA
Read-onlyIdempotent

Fetches cost-saving recommendations filtered by category. Returns a list of recommendations each containing: title, category, impact level (high/medium/low), estimated annual savings in USD, affected resource ID, and a short description of the suggested action. Returns an empty list if no recommendations exist for the selected category. Use this when the user wants to reduce costs, find waste, or optimize resource usage.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerNoCloud provider to query (azure or gcp)azure
categoryNoFilter by category: all, compute, storage, or networkingall

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate read-only, non-destructive, and idempotent behavior. The description adds meaningful detail: returns empty list if no recommendations, and lists return fields. No contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, with two functional sentences and a usage guideline sentence. Front-loaded with the core purpose, no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is complete for this simple tool: explains return structure, empty list behavior, and usage context. Annotations cover safety. No output schema needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with both parameters having descriptions and enums. The description does not add additional meaning beyond the schema, so baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it fetches cost-saving recommendations filtered by category, with a specific verb and resource. It provides a usage directive but does not explicitly distinguish from sibling tools like find_idle_resources or check_budgets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says to use this when the user wants to reduce costs, find waste, or optimize resource usage. However, it does not specify when not to use it or mention alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_subscriptionsList Azure SubscriptionsA
Read-onlyIdempotent

Returns all Azure subscriptions the current credential can access, with name, ID, and state. Shows which subscription is currently active. Use this when the user has multiple subscriptions and wants to see which ones are available, or to confirm which subscription is being queried.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerYesCloud provider (Azure-only tool)

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate read-only, idempotent, and non-destructive behavior. The description adds transparency by specifying the returned fields (name, ID, state) and that it shows the active subscription. It doesn't contradict annotations and provides useful context beyond what annotations convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences: the first states the core functionality, the second provides usage guidance. Every sentence adds value, no fluff, and it is front-loaded. Ideal conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple listing tool with one parameter and comprehensive annotations, the description is complete. It describes what is returned, when to use it, and the constraint (Azure-only). Output schema is not needed because the description enumerates returned fields.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema covers the single parameter 'provider' with a const value 'azure' and a description, achieving 100% coverage. The description doesn't add further parameter semantics, but the schema description is sufficient, placing this at baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns all Azure subscriptions the credential can access, including name, ID, state, and active status. This verb+resource combination is specific and distinguishes it from sibling tools that deal with projects or costs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description advises using it when the user has multiple subscriptions and wants to see availability or confirm the active subscription. It doesn't explicitly state when not to use it, but given the tool's nature and sibling tools, the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

top_spending_resourcesTop Spending ResourcesA
Read-onlyIdempotent

Find the N most expensive individual resources over a time period. On GCP, requires the detailed billing export for resource-level data.

ParametersJSON Schema
NameRequiredDescriptionDefault
providerNoCloud provider to query (azure or gcp)azure
daysNoNumber of days to look back (default: 30)
limitNoNumber of resources to return (default: 10)

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already provide readOnlyHint, destructiveHint, idempotentHint, openWorldHint. The description adds the prerequisite about GCP billing export, which is critical behavioral context. It does not contradict annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences: one states purpose, the other adds an important prerequisite. No unnecessary words or repetition. Excellent front-loading of intent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description could mention the sorting order or output format, but the purpose is sufficiently clear for a simple query tool. The GCP prerequisite adds useful context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% coverage with clear descriptions. The description adds value by noting the GCP requirement for the provider parameter, which is not in the schema. This goes beyond the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Find the N most expensive individual resources'), the resource type (individual resources), and the scope (over a time period). It distinguishes itself from sibling tools like check_budgets or find_idle_resources by focusing on top spending.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for finding top spending resources but does not explicitly state when to use this tool versus alternatives. It mentions a GCP prerequisite but lacks direct comparisons to siblings like get_cost_summary.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 15 tool updatesv0.3.3
    • Addedcheck_budgets
    • Addedcompare_periods
    • Addeddetect_anomalies
    • Addedfind_idle_resources
    • Addedfind_untagged_resources
    • Addedget_cost_by_tag
    • Addedget_cost_forecast
    • Addedget_cost_summary
    • Addedget_cross_project_costs
    • Addedget_cross_subscription_costs
    • Addedget_current_date
    • Addedlist_projects
    • Addedlist_recommendations
    • Addedlist_subscriptions
    • Addedtop_spending_resources
  2. 8 tool updatesv0.3.1
    • Removedcheck_budgets
    • Removedcompare_periods
    • Removeddetect_anomalies
    • Removedget_cost_forecast
    • Removedget_cost_summary
    • Removedget_current_date
    • Removedlist_recommendations
    • Removedtop_spending_resources
  3. 8 tool updatesv0.1.0
    • First observedcheck_budgets
    • First observedcompare_periods
    • First observeddetect_anomalies
    • First observedget_cost_forecast
    • First observedget_cost_summary
    • First observedget_current_date
    • First observedlist_recommendations
    • First observedtop_spending_resources

TDQS

A4.2/5.0
Disambiguation4/5

Most tools are clearly distinct by their focus (cost summary, tag breakdown, cross-project, anomalies, etc.). A minor potential confusion exists between get_cost_summary and get_cost_by_tag, but descriptions clarify the grouping dimension.

Naming Consistency4/5

The majority of tools follow a verb_noun pattern (check_, compare_, detect_, find_, get_, list_). The exception is 'top_spending_resources' which uses a less standard verb form, but overall the pattern is consistent.

Tool Count5/5

15 tools is well-scoped for a cloud cost management server, covering summary, breakdowns, forecasts, anomalies, optimization, and utilities without being overwhelming.

Completeness4/5

Core workflows are covered: cost review, forecast, anomalies, recommendations, and resource waste detection. Missing are write operations like budget creation or tagging, but the server appears read-only and covers its intended domain well.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    An MCP server for unified cost tracking and analysis across AWS, OpenAI, and Anthropic. It enables users to query expenditures, compare costs across providers, and analyze usage trends through natural language.
    10
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Production-grade MCP server for enterprise Azure cost optimization, enabling spend anomaly detection, multi-tenant auditing, budget validation, and compliance-aware recommendations.
    1
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Local-first FinOps MCP server. Ask about your AWS, Azure, GCP, and SaaS costs in plain English. Anomaly detection, rightsizing, idle-resource cleanup, and Jira/Linear ticketing. Credentials never leave your machine.
    10
    17
    Apache 2.0

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexpota/cloudscope-mcp'

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