Documentation

Available Tools

What the ZopNight MCP server's read and write tools cover, how the Write access setting gates them, and the required arguments, pagination, and filter values.

The MCP server exposes two classes of tool: reads, available to every connected agent, and writes, which change something and are governed by your organisation's Write access setting and by the caller's OAuth scopes (or PAT capabilities). The first tool, list_organisations, requires no arguments. All other tools require an org_id argument — call list_organisations first to get the org IDs.

Authentication

Every request carries a Bearer token — either an OAuth 2.1 access token (recommended for interactive MCP clients) or a Personal Access Token (for CI and non-browser clients):

text
Authorization: Bearer <access_token_or_pat>

Key points about authentication:

  • Identity is resolved from the token on every call; there is no session
  • Permissions are checked dynamically per request, against your live role
  • If you are removed from an organisation, access is denied immediately
  • If MCP is disabled for an organisation, tool calls for that org are blocked
  • OAuth access tokens are short-lived JWTs; refresh tokens rotate on every use with family-kill-on-reuse (RFC 9700 §4.14.2)
  • PATs are long-lived, have a configurable expiry, and carry the write capabilities you ticked at mint time
  • A token cannot exceed the identity's role — but it can carry less than the identity, bounded by the OAuth scopes granted (or the PAT capabilities ticked)

See How to Connect for the full protocol reference.

What the read tools cover

Reads are available at every level of write access. Each one is still checked against your role: you see through MCP exactly what you would see in the UI.

AreaCovers
ExploreOrganisations, cloud accounts, resources, teams, and the discovery status behind them
CostCost and savings summaries, per-resource and per-provider breakdowns, trends, history, snapshots, budgets, billing sync
OptimizeRecommendations and their savings, schedules, overrides, resource groups
OperateStart/stop history, actions, scheduler events, provisioning jobs, Services and their deploys
GovernTagging policies, smart tags, roles, users, audit logs, notification channels
DiagnoseMetrics, error detail, and the state behind a failed deploy or job
ShipProjects, Environments, Services, Infrastructure, and deploy status
IntrospectWhat your own token can do — including get_my_permissions

What the write tools cover

A write tool changes something. Which ones your organisation admits is set by one dial, Settings → Organisation → Write access:

SettingAdmitsExamples of what it turns on
Read-onlyNothing
Metadata onlyChanges to ZopNight's own records. No cloud state, no cost.Create/update/delete a budget, set a recommendation's status, accept or revoke a smart tag
Reversible changesBounded blast radius, may affect cost.Create/update/delete schedules and overrides, attach and detach resources, tagging policies, deploy / redeploy / roll back a Service, change Service config and env vars, retry a Provisioning job
Irreversible changesNo undo, or incurs cost.Start and stop resources, create a Provisioning job, Kubernetes manifest writes and workload restarts, cancel a workflow, every delete

The settings are cumulative — Reversible changes admits the metadata-only tools too. The picker in Settings enumerates the exact tools each setting turns on, generated from the same manifest the gateway authorizes against.

Some surfaces are excluded at every setting and nothing adds them: roles and permissions, user management, organisation deletion, cloud-account deletion, credentials, and bulk actions.

Retries are only partly deduplicated

Every write tool accepts an optional idempotency_key, up to 128 printable ASCII characters. It does two real things: a repeat call carrying the same key replays the original response for 24 hours instead of executing the write again, and two concurrent calls sharing a key are collapsed into a single execution. Reusing a key with different arguments is rejected rather than silently replayed, so a genuine retry is safe and a key collision is loud rather than silent.

Changes are not visible instantly

A write returns when ZopNight has recorded your intent, which is earlier than the world agreeing:

  • Schedules and overrides are applied by the scheduler on its next pass — allow about a minute before reading back.
  • Deploys and Provisioning jobs are asynchronous. They return an id; poll for status. A deploy routinely runs 20 minutes and can take up to about 35. wait_for_deploy returns after at most 60 seconds with callAgain: true if the deploy is still going — that is normal, and the agent should keep calling.
  • Start and stop are confirmed against real cloud state rather than assumed, so a resource can read starting or stopping for a while.

An immediate read-back that shows the old value usually means the change has not landed yet, not that it failed.

Every tool

The complete surface, generated from the gateway's tool manifest. Reads are grouped by area; writes by the level that admits them (see above). The one-line purpose is each tool's own summary — call tools/list for the full argument schema, and remember your own list is filtered to what your token, role, and Write access setting allow.

Reads (165) — available at every tier

Explore · Organisations, cloud accounts, resources, teams, discovery

ToolWhat it's for
count_autoscaler_policiesGet the TOTAL number of autoscaler policies
count_cloud_accountsGet the TOTAL number of connected cloud accounts
count_event_readiness_plansGet the TOTAL number of event-readiness plans
count_recommendation_rulesGet the TOTAL number of recommendation RULES (the rule catalog), not recommendations
count_schedulesGet the TOTAL number of schedules in this org
get_blast_radiusGet what else is affected if you act on a resource — the dependency graph around a target
get_cloud_accountGet details of a specific cloud account
get_dashboardGet one dashboard's full detail including its widget layout
get_discovery_statusGet the status of the last resource discovery refresh
get_discovery_summaryGet discovery summary showing resource counts by provider and type
get_resourceGet full details of a single cloud resource by UID
get_resource_countGet the number of resources in the organisation, counting the SAME listable set list_resources enumerates — networking/dependent infrastructure (subnets, firewalls, peering, snapshots, replicas, pub/sub topics) is excluded, exactly as it is from list_resources
get_resource_filtersGet the VALID filter values for this org's resources — call this before list_resources instead of guessing filter strings
get_resource_overviewSTART HERE for any question about ONE cloud resource: 'why is this expensive', 'is this idle', 'what should I do about it'
get_resource_summaryGet resource counts grouped by cloud provider and cloud account
get_resources_by_idsFetch a batch of resources by their INTERNAL resource ids (NOT cloud UIDs) in one call
get_resources_last_syncedGet when discovery last refreshed this org's cloud inventory
list_cloud_accountsList connected cloud accounts (AWS/GCP/Azure)
list_dashboardsList the org's dashboards — the saved cost/estate landing views
list_resourcesList cloud resources (VMs, databases, clusters) across AWS/GCP/Azure

Cost · Spend, savings, budgets, billing, trends

ToolWhat it's for
count_recommendationsGet the TOTAL number of recommendations, optionally filtered (status, provider, severity, category)
get_ai_budget_spendGet AI-gateway budget spend for the organisation (spend against the AI budget)
get_ai_cost_summaryGet the AI Gateway cost summary: total spend and a breakdown across the org's usage (by model/provider/tier)
get_ai_org_budgetGet the org-wide AI Gateway budget: the spend ceiling across every virtual key (nil when unset), how much has been spent, and the budget window
get_ai_usageGet AI Gateway usage and spend — one row per LLM request routed through the gateway
get_anomaliesGet detected cost anomalies — unexpected spend spikes — in a date range
get_billing_sync_statusGet billing data sync health per cloud account
get_budget_spend_by_resource_groupsGet current-month spend broken down per resource group, as the budgets page renders it in the per-row spend columns
get_budget_spend_by_resourcesGet current-month spend broken down per resource, as the budgets page renders it in the per-row spend columns
get_budget_summaryGet budget health summary — counts of healthy, warning, and over-budget budgets
get_cost_breakdownBreak org cost and savings down by a dimension (provider, cloud account, region, resource type, service, purchase type, resource UID or team)
get_cost_by_providerGet cost breakdown grouped by cloud provider
get_cost_by_resourcesGet per-resource cost breakdown showing individual resource costs
get_cost_by_tagGet cost and savings grouped by tag key (showback)
get_cost_by_teamGet cost and savings attributed to each team (showback)
get_cost_overviewSTART HERE for any cost question: 'where is the money going', 'what is my spend', 'how do I cut cost'
get_cost_trendsGet cost trends over time at daily, weekly, or monthly granularity
get_costsGet the organisation-level cost and savings summary
get_currency_exchange_rateGet current currency exchange rates used by the organisation for cost calculations
get_event_cost_estimateGet the estimated extra cost of an event-readiness plan (the pre-scaling spend)
get_event_db_impactGet the database impact assessment for an event-readiness plan (connection/IOPS headroom under the projected load)
get_event_db_sizingRecommend the database instance sizing a resource needs to survive a traffic event
get_event_readinessAssess whether the infrastructure behind a scaling policy is ready for a traffic event
get_event_readiness_checkGet the readiness check for one event-readiness plan — the pre-flight checklist (are the targets valid, permissions in place, window sane) and any blockers or warnings before the plan runs
get_event_readiness_logsGet the execution log for one event-readiness plan — the timeline of what the plan actually DID (scale-ups, scale-downs, per-action status and any errors), not what it was configured to do
get_event_readiness_planGet one event-readiness plan's full detail (window, targets, per-target scaling, status)
get_kubernetes_cluster_cost_breakdownGet one Kubernetes cluster's cost breakdown (by namespace/node)
get_kubernetes_cluster_costsList Kubernetes clusters with their cost: per cluster the name, provider, region, node cost, requested (allocated) cost, node count and namespace count, plus org totals
get_kubernetes_cluster_workloadsList a Kubernetes cluster's workloads with their requested cost (CPU + memory), replicas, kind and namespace
get_report_snapshotsGet monthly cost and savings snapshots for historical comparison
get_resource_activityGet a resource's activity breakdown over time: counts of operations (start/stop/etc.) per time slot for one resource
get_resource_cost_historyGet daily cost history for a specific resource over a date range
get_schedule_successGet schedule adherence over a date range: how many scheduled start/stop runs succeeded vs missed, the success rate, and (paginated) the missed runs
get_tag_cost_trendsGet tag cost over time (trend)
get_tag_value_resourcesList the resources behind one tag value (tag_key = tag_value) with their cost
get_tag_valuesGet cost and savings per VALUE of one tag key (e.g
get_team_cost_detailGet one team's cost detail (showback): allocated cost and savings for the team
get_team_cost_trendsGet team cost over time (trend)
get_team_resourcesList the resources attributed to one team with their cost
get_unit_economicsGet the unit-economics trend for ONE business-unit metric: cost, the metric value, and cost-per-unit per date
list_ai_keysList the org's AI Gateway virtual keys: per key the alias, the models it may call, its budget ceiling and spend, and rate limits
list_ai_modelsList the AI Gateway model deployments the org has registered: per model the logical name, the provider model it maps to, the provider and the routing tier
list_budget_ai_entitiesList the AI providers a budget can be scoped to, for the AI-budget entity picker
list_budget_cloud_account_entitiesList the cloud accounts a budget can be scoped to, for the budget entity picker
list_budget_resource_entitiesList the resources a budget can be scoped to, for the budget entity picker
list_budget_resource_group_entitiesList the resource groups a budget can be scoped to, for the budget entity picker
list_budgetsList budgets configured for resources or resource groups
list_event_readinessList saved event-readiness plans (traffic-event prep)

Optimize · Recommendations, schedules, overrides, resource groups

ToolWhat it's for
count_recommendation_resourcesCount the DISTINCT resources that have at least one recommendation (the headline 'N resources with opportunities' number) without paging the list
get_override_candidatesList what can be overridden — every resource and resource group that has a schedule attached, each annotated with whether an override can be created for it RIGHT NOW and why
get_recommendationGet full details of a single recommendation including affected resources and remediation steps
get_recommendation_by_providerGet recommendation counts and savings breakdown by cloud provider
get_recommendation_filtersGet the available filter facets for recommendations (every dropdown's options: providers, categories, rules, resource types, …)
get_recommendation_rulesList the recommendation rules (the Rules tab): per rule its id, name, category and how many findings it currently has
get_recommendation_summaryGet recommendation summary stats — total potential savings and counts by severity
get_recommendationsList optimization recommendations for cost savings and best practices
list_recommendation_resourcesList resources that have active recommendations, with their recommendation details
preview_remediationPreview what a recommendation's remediation workflow WOULD do, WITHOUT starting it: the planned steps and their targets for recommendation_id (from a recommendations list)

Operate · State history, actions, scheduler events, provisioning, Services

ToolWhat it's for
get_actionGet details of a specific start/stop action execution
get_autoscaler_eventsGet an autoscaler policy's scaling-event history: when it scaled out/in, the trigger that fired, and the capacity change
get_autoscaler_infrastructure_statusGet the status of an autoscaler infrastructure-creation request (the async provisioning started by create_autoscaler_infrastructure)
get_autoscaler_policyGet one autoscaler policy's full config: target, min/max instances, cooldown, scaling mode, triggers (metric + target), status and provider
get_autoscaler_required_permissionsList the cloud IAM permissions the account needs before autoscaler infrastructure can be created, and whether the account currently has them
get_autoscaler_smart_defaultsSuggest sensible autoscaler-policy defaults (min/max, triggers, cooldown) for a scalable target, so create_autoscaler_policy can be pre-filled instead of guessed
get_infrastructureGet one cluster or VM pool by id, as returned by list_infrastructure
get_latest_bulk_actionGet the most recent bulk start/stop action for a resource group
get_overrideGet details of a specific schedule override
get_provisioning_job_overviewGet everything about one provisioning job in a single call: its status, every step with that step's own status and timings, the actionable failure detail when a step failed (errorCategory, errorFixHint, errorRetryable, errorConsoleUrl), and the databases the job created
get_resource_groupGet resource group details including member resources
get_resource_group_schedulesList the schedules attached to a resource group (a group can be scheduled as a unit)
get_scheduleGet full schedule details including weekly time windows and assigned resource groups
get_state_historyList resource start/stop state transitions
get_workflowGet one remediation workflow's detail: its status, the steps and their outcomes, and any human-approval gate
list_autoscaler_policiesList autoscaler policies — the rules that automatically scale a target's instance count between a min and max based on metrics
list_cloud_scaling_policiesList the cloud-native autoscaling policies that ALREADY exist on the provider for a SPECIFIC target (e.g
list_eventsList scheduler execution events showing what the scheduler did and when
list_infrastructureList all the infrastructure in this organisation as ONE list — the same board the Infrastructure page shows
list_overridesList schedule overrides — temporary force-on/off rules that take priority over schedules
list_provisioning_jobsList provisioning jobs — the record of ZopNight building, changing or tearing down infrastructure
list_resource_groupsList resource groups — logical groupings of resources assigned to schedules
list_schedulesList start/stop schedules that control when resources run
list_workflowsList the remediation workflows that are PARKED WAITING FOR YOU to act

Ship · Projects, Environments, Services, Infrastructure, deploys

ToolWhat it's for
connect_githubStart connecting a GitHub account so ZopDay can deploy from its repositories
get_project_statsGet rollup counts (services, environments, health) for one or more projects in a single call
get_service_configGet the runtime configuration of a service: port, replicas, liveness probe path, rootPath, exposed hosts, CPU/memory resources, and the NAMES of its environment variables
get_service_overviewGet everything about one service in a single call: its status and statusBucket, the current revision (number, stage, image, commit, who deployed it), recent deploys, the last deploy events, and its public URL if it has one
get_service_urlGet the public URL a service is reachable at
list_branchesList the branches of one git repository reachable through a connected git integration
list_deploysList a service's deploy history, newest first
list_environmentsList the environments in a project, each resolved to WHERE it actually runs
list_integrationsList the org's connected integrations (git, ITSM)
list_projectsList the ZopDay projects in this organisation
list_repositoriesList the git repositories ZopDay can deploy from, through a connected git integration
list_service_datastoresList the datastores a service can create a database on: the MySQL and PostgreSQL datastores CONNECTED to the infrastructure the service runs on
list_servicesList the services deployed in one environment
wait_for_deployWait for a service's in-flight deploy to finish, then report the outcome

Govern · Tagging policies, smart tags, roles, users, audit logs, notifications

ToolWhat it's for
get_budget_spendGet current-month spend for the entities a budget targets — use this to answer 'how much has account X / this resource / this group spent so far', and to see which targets are tracking over
get_cloud_account_permissionsGet the per-permission IAM probe verdicts for one cloud account — use this to explain WHY discovery or a cost/recommendation feature is missing data, rather than guessing
get_email_preferencesList the org's transactional-email preferences — which system emails (e.g
get_iac_ci_statusReport the live per-repo IaC governance-CI wiring state: active (workflow merged AND a live scan token backs the repo), token_missing (workflow merged but no active token — runs 401), pending (setup PR open, not merged), not_wired (nothing set up), or unknown (GitHub unreachable)
get_iac_policy_catalogGet the IaC GOVERNANCE policy catalog: the builtin rule types a Terraform/OpenTofu policy can be built on (e.g
get_iac_validationGet one IaC validation run's full report: its status, enforcement posture, and every finding (policy, resource, severity, blocking)
get_iac_validation_auditGet one IaC validation run's audit trail — its executions, overrides, and outcomes in chronological order (who overrode a block, when, and why)
get_itsm_ticketGet the ITSM (Jira) ticket linked to a recommendation, if any: its key, URL, external status and the current assignee/owner
get_notification_read_cursorGet the caller's alert read-cursor for this org — the timestamp up to which the notification bell's alerts are considered read
get_policyGet one automation/governance policy's full definition by id (the rules behind auto-tagging and recommendation automation)
get_policy_catalogGet the recommendation-policy catalog: the rule types a watch policy can be built on (id, name, category, the fields each rule supports)
get_tagging_policy_catalogGet the TAGGING-policy catalog: the rule types a tagging (smart-tag) policy can be built on — scope, condition facets, value modes and key presets — with the parameters each supports
get_teamGet details of a specific team including member count and resource count
list_alerting_policiesList this org's ALERTING policies (the 'Alerting' card): id, name, description, the entity each is attached to (targetType/targetId), enabled, and spec (the recommendation match selector plus the notify/open_ticket action)
list_alertsList operational alerts ZopNight raised
list_assignmentsList the org's role assignments (read-only): who holds which role, and over which resources/scope
list_audit_logsList API audit log entries showing who did what and when
list_iac_ci_tokensList the org's active IaC CI scan tokens: per repo the token id and the policy scopes it grants
list_iac_policiesList this org's IaC GOVERNANCE policies (the Terraform/OpenTofu pull-request gates): id, name, description, the repository each gates (targetType/targetId), enabled, and spec
list_iac_validationsList this org's IaC validation runs — the history of pre-merge Terraform/OpenTofu plan/state scans, one per PR check
list_jira_assignable_usersList the users assignable to issues in a Jira project — the account-id picker for create_itsm_ticket / set_itsm_ownership's assignee_account_id (the reliable assignee reference)
list_jira_projectsList the projects available in a connected Jira integration — the picker source for create_itsm_ticket's project_key
list_notification_channelsList notification channels (Slack, Teams, Google Chat, webhooks) configured for the organisation
list_notification_event_typesList the notification event types this org can subscribe channels to — the catalog behind the alerts matrix
list_notification_subscriptionsList notification subscriptions — the routing rules that decide which event types (e.g
list_resource_teamsList the teams a single resource belongs to — the resource->teams inverse of list_team_resources
list_role_policiesList the RBAC permission catalog — every policy (permission) a custom role can grant, with its name and description
list_rolesList the roles defined in this organisation and the RBAC policies each one carries
list_smart_tagsList smart tags — the tags ZopNight DERIVES for a resource from this org's tagging policies, to fill gaps in the tags the cloud account actually carries
list_tagging_policiesList the tagging policies that govern which tags this org's resources must carry and how each tag's value is derived
list_tagging_violationsList resources that violate the org's tagging policies (missing/invalid required tags)
list_team_membersList members of a team
list_team_resourcesList resources assigned to a team
list_teamsList teams in the organisation
list_usersList all users in the organisation
list_watch_policiesList this org's WATCH policies (the 'Recommendation' card / custom recommendations): id, name, description, targetType/targetId, enabled, and spec (scope selector, signals, and outcome)

Diagnose · Metrics, errors, and the state behind a failed deploy or job

ToolWhat it's for
diagnose_serviceDiagnose an unhealthy Service in ONE call — start here instead of stitching four tools together
get_k8s_manifestGet the raw Kubernetes manifest (the full object as JSON) for one object
get_k8s_resourceGet the live detail of one Kubernetes object (the structured view)
get_live_metricsGet current CPU/memory/network utilization for ONE resource, fetched on demand from the cloud provider right now
get_pod_logsGet recent stdout/stderr log lines from ONE pod container
get_resource_metricsGet CPU, memory, disk, and network utilization metrics for resources
get_service_eventsGet the deploy event history for one Service — the durable record of what was deployed, when, and why it failed
list_k8s_eventsList recent Kubernetes Events for a cluster — the warnings that explain failures
list_k8s_resourcesList live Kubernetes objects of one kind in a cluster

Introspect · What your own token can do

ToolWhat it's for
check_eligibilityAsk whether a write would be accepted, WITHOUT performing it
get_my_permissionsGet YOUR OWN effective RBAC permissions in this org — call this BEFORE attempting an action, instead of discovering a 403 by trying
get_organisationGet organisation settings and metadata
list_organisationsList organisations the authenticated user has access to

Writes (124) — gated by the Write access setting

Metadata only · Changes to ZopNight's own records. No cloud state, no cost.

ToolWhat it's for
accept_smart_tagAccept smart tags on a resource — promote tag keys ZopNight DERIVED from this org's tagging policies into cost attribution
add_org_memberAdd a person to the organisation
add_team_memberAdd a person to a team, with a role
assign_resource_to_teamAssign a resource to a team so the team's members can see and manage it
create_budgetCreate a monthly spend budget for ONE resource, resource group or cloud account
create_dashboardCreate a new dashboard
create_roleCreate a role — a named set of permissions people can be granted
create_teamCreate a team — a group used to scope which resources a set of people can see and manage
delete_ai_modelDeregister an AI Gateway model deployment by model_id (from list_ai_models)
delete_budgetDelete a budget
delete_dashboardDelete a dashboard
delete_roleDelete a role
delete_teamDelete a team
export_audit_logsExport the audit logs as a CSV, delivered by EMAIL to the organisation
export_cost_reportExport the cost report as a CSV, delivered by EMAIL to the organisation
export_recommendationsExport the recommendations list as a CSV, delivered by EMAIL to the organisation
preview_event_costPreview the estimated cost of an UNSAVED event-readiness draft WITHOUT saving it: if you have a SAVED plan, get_event_cost_estimate is the cheaper pure read
preview_event_readinessPreview the readiness of an UNSAVED event-readiness draft WITHOUT saving it: given event_start, event_end and targets, return the readiness checklist the creation wizard shows
remove_org_memberRemove a person from the organisation
remove_team_memberRemove a person from a team
revoke_smart_tagRevoke smart tags on a resource — return accepted tag keys to PENDING, so they stop being used for cost attribution
set_default_dashboardSet the org's default dashboard — the landing view everyone in the org sees
unassign_resource_from_teamRemove a resource from a team so its members no longer see/manage it through the team
update_budgetChange an existing budget's monthly amount and alert threshold
update_dashboardUpdate a dashboard's name, description or layout
update_org_memberUpdate an org member's display name (and optionally rename their email identity)
update_recommendation_statusSet a recommendation's status — this is BOOKKEEPING ONLY
update_roleUpdate a role's name and permissions
update_teamRename a team or change its description
update_team_member_roleChange a team member's role
validate_iac_policyValidate an UNSAVED IaC-governance policy draft WITHOUT saving it: pass the policy spec as a JSON object; returns {valid, errors}
validate_watch_policyValidate an UNSAVED watch-policy draft WITHOUT saving it: pass the policy spec as a JSON object; returns {valid, errors}

Reversible changes · Bounded blast radius, may affect cost.

ToolWhat it's for
add_ai_modelRegister an AI Gateway model deployment: map a logical_name to a provider_model on a provider, at a routing tier
add_resource_to_groupAdd one resource to a resource group
apply_smart_tagsApply accepted smart tags to the LIVE cloud resource — write the tag key/value pairs onto the actual AWS/GCP/Azure resource
attach_group_to_scheduleAttach a resource group to a schedule
attach_resource_to_schedulePut one resource under a schedule
bulk_update_subscriptionsSet many notification subscriptions in one call — the batch form of create/update_notification_subscription, for wiring up a channel's routing all at once
cancel_event_readinessCancel (disarm) a scheduled event-readiness plan so its pre-scaling will NOT run
create_alerting_policyCreate an ALERTING policy (the 'Alerting' card in Settings > Policy): a rule that, when open recommendations match a filter, either notifies your channels or opens a Jira ticket
create_autoscaler_policyCreate an autoscaler policy
create_environmentCreate an environment inside a project
create_event_readinessCreate an event-readiness plan: prepare infrastructure to absorb a traffic event
create_iac_policyCreate an IaC GOVERNANCE policy (the Terraform/OpenTofu pull-request gate) for ONE repository: a rule that decides which infrastructure-as-code changes that repo's pull requests are allowed to make
create_integrationConnect a third-party integration (Jira, GitLab, Bitbucket, a container registry, …)
create_itsm_ticketOpen a Jira ticket for a recommendation via the org's connected Jira integration
create_notification_channelCreate a notification channel — an alert DESTINATION ZopNight sends notifications to
create_notification_subscriptionCreate a notification subscription — route one event type to a channel
create_overrideSuspend a schedule for a window, on one resource or on EVERY MEMBER of a resource group
create_projectCreate a project
create_resource_groupCreate an EMPTY resource group — a named grouping of resources
create_scheduleCreate a recurring start/stop schedule
create_service_databaseCreate a database for a service on a connected datastore and attach it: the database and a scoped SQL user are created on the datastore, the credential is stored in the cloud secret manager (only a reference ever leaves it), connection variables (DB_HOST, DB_PORT, DB_USER, DB_NAME, DB_DIALECT, DB_PASSWORD) are recorded on the service, and a deploy ships them — THIS RESTARTS THE SERVICE
create_tagging_policyCreate a resource TAGGING policy — a rule that derives a tag onto this org's cloud resources so their spend can be attributed
create_unit_metricCreate a unit-metric definition (e.g., 'monthly active users', 'transactions/day')
create_watch_policyCreate a WATCH policy (the 'Recommendation' card in Settings > Policy, also called a custom recommendation): watch chosen resources on the metric signals you pick, combine the signals, and raise a recommendation when they all hold
delete_autoscaler_policyDelete an autoscaler policy
delete_event_readinessDelete an event-readiness plan
delete_integrationDisconnect an integration
delete_notification_channelDelete a notification channel
delete_notification_subscriptionDelete a notification subscription (routing rule)
delete_overrideRemove ONE override, letting its schedule resume on that target within about a minute
delete_policyDelete a policy of ANY domain by id — tagging, alerting (the 'Alerting' card) or watch/recommendation (the 'Recommendation' card)
delete_resource_groupDelete a resource group
delete_scheduleDelete a schedule
deploy_serviceCreate a new service in an environment and ship its first deploy
detach_group_from_scheduleDetach a resource group from a schedule
detach_resource_from_scheduleTake ONE resource off a schedule, leaving the schedule and every other attached resource untouched
ingest_unit_metric_valuesIngest a batch of date-value observations for a push-source unit-metric
mark_all_notifications_readMark the notification bell READ for the caller in this org — advances the read-cursor to now, so every alert up to this moment stops counting as unread
pause_autoscaler_policyPause an active autoscaler policy
redeploy_serviceShip an existing service again as a new deploy
reject_workflow_stepReject (decline) a remediation-workflow step that is waiting for approval, so the change does NOT run
remove_autoscaler_policyRemove (detach) an autoscaler policy from the cloud provider
remove_resource_from_groupRemove one resource from a resource group, leaving the group and every other member alone
remove_service_databaseDetach a database from a service: its connection variables (DB_HOST, DB_PASSWORD, ...) are removed from the service and a deploy ships without them — THIS RESTARTS THE SERVICE, and anything still reading those variables breaks when it settles
resolve_alertMark one alert resolved (acknowledge it / clear it from the open list)
revoke_iac_ci_tokenRevoke one IaC CI scan token by token_id (from list_iac_ci_tokens)
rollback_serviceRoll a service back to an earlier deploy
set_ai_org_budgetSet the org-wide AI-gateway monthly spend ceiling
set_auto_deployTurn auto-deploy on or off for a service
set_email_preferenceTurn one transactional-email event on or off for the WHOLE organisation
set_group_start_stop_orderSet the start/stop ORDER of one resource within a resource group (for staged start-up / shut-down, e.g
set_itsm_ownershipSet who owns a recommendation's remediation: assign it to a person (assignee_email and/or assignee_account_id) and/or an owner_team, or clear the assignee with unassign=true
set_service_env_varsSet or remove a service's environment variables AND roll them out
share_recommendationShare a recommendation with people or a team channel
test_notification_channelSend a test notification to a channel to verify it is configured correctly
test_pull_unit_metricDry-run the pull configuration of a pull-source unit-metric
update_alerting_policyChange an ALERTING policy — its label, its match filter, its action, or whether it is on
update_autoscaler_policyChange an autoscaler policy's config — name, min/max instances, cooldown, mode or triggers
update_event_readinessUpdate an event-readiness plan (partial: send only what changes)
update_iac_policyChange an IaC GOVERNANCE policy — its label, its rule, or whether it is on
update_integrationUpdate a connected integration
update_notification_channelUpdate a notification channel's configuration
update_notification_subscriptionEnable or disable a notification subscription
update_resource_groupChange a resource group's name, description or team
update_scheduleChange a schedule's name, description, timezone or rules
update_service_configChange a service's runtime settings: port, replicas, liveness probe path, root path
update_tagging_policyChange an existing resource TAGGING policy — its label, its rule, or whether it is on
update_unit_metricUpdate a unit-metric
update_watch_policyChange a WATCH policy — its label, its scope, its signals, its outcome, or whether it is on

Irreversible changes · No undo, or incurs cost.

ToolWhat it's for
apply_autoscaler_policyApply an autoscaler policy to the cloud provider
apply_recommendation_policyApply an open-ticket recommendation policy — backfill ITSM tickets for every recommendation currently matching the policy's scope
approve_workflow_stepApprove a remediation-workflow step that is waiting for approval, LETTING THE CHANGE PROCEED
bulk_start_resourcesStart MANY resources at once
bulk_stop_resourcesStop MANY resources at once
cancel_workflowCancel a running remediation workflow
create_autoscaler_infrastructureProvision the cloud autoscaling infrastructure (an AWS Auto Scaling Group, GCP MIG or Azure VMSS) built FROM an existing instance, so a policy can then scale it
create_provisioning_jobProvision NEW cloud infrastructure — a cluster, a VM pool or a managed database
delete_all_unit_metric_valuesIRREVERSIBLE WIPE of ALL ingested values for a unit-metric
delete_k8s_resourceDelete a live Kubernetes object
delete_projectDelete a Project
delete_provisioning_jobTear down provisioned cloud infrastructure — the reversal of create_provisioning_job
delete_serviceDelete a Service: uninstall it from the cluster and remove it from ZopDay
delete_unit_metricDelete a unit-metric definition
ensure_iac_ciWire (or confirm) automated per-PR IaC scanning for one repo
restart_k8s_workloadRestart a Kubernetes workload's pods — a rolling restart
resume_autoscaler_policyResume a paused autoscaler policy
retry_provisioning_jobRe-attempt a FAILED provisioning job
schedule_event_readinessArm an event-readiness plan: schedule the pre-scaling so the infrastructure IS scaled up before event_start and restored after event_end
start_remediationStart the remediation workflow for ONE recommendation
start_resourceStart ONE stopped cloud resource right now
stop_resourceStop ONE cloud resource right now
update_k8s_manifestReplace a live Kubernetes object's spec

Pagination

List tools return results in pages — tools/list says which, in each tool's own description. Pass a page argument (starting at 1) to navigate through results. The response includes:

json
{
"items": [...],
"total": 42,
"page": 1,
"limit": 10,
"hasMore": true
}

When hasMore is true, increment the page number to fetch the next set. If you omit the page argument, the server returns page 1 by default.

Filters Reference

Many tools accept optional filter arguments to narrow results. Pass them in the arguments object alongside org_id. All filters are optional unless noted otherwise.

list_resources

FilterValuesNotes
provideraws, gcp, azureCloud provider
resource_typecompute, disk, kms-key, gcp-subnet, ...Resource type
statusrunning, stopped, active, available, ...Resource status (case-insensitive)
regionus-central1, ap-south-1, us-east-1, ...Cloud region
searchAny stringSubstring match on resource name
cloud_account_idAccount IDFilter by cloud account
schedulabletrue, false (also accepts 1, 0, yes, no)Whether resource can be scheduled
instance_typee2-micro, STANDARD, ...Instance/machine type
sort_bynameSort field
sort_orderasc, descSort direction
viewall, parents, childrenResource hierarchy view
parent_uidResource UIDParent resource — requires view=children
tagTag key nameFilter by tag key presence
limitIntegerResults per page

get_recommendations

list_recommendation_resources supports the same filters.

FilterValuesNotes
statusopen, applied, dismissed, optimised, rule_retiredRecommendation status
provideraws, gcp, azureCloud provider
categorycompliance, discount, idle, orphan, rightsizing, scheduleRecommendation category
resource_typedisk, compute, gke-cluster, s3, ecr, ec2, ebs-volumeResource type
severityhigh, medium, lowRecommendation severity
cloud_account_idAccount IDFilter by cloud account
searchAny stringMatches resource name or UID
resource_uidFull resource UIDExact match on resource
rule_ide.g. RC-022, RC-111Specific recommendation rule
sort_byupdated_at, generated_at, savings_usd, severity, titleSort field
sort_orderasc, descSort direction

list_schedules

FilterValuesNotes
searchAny stringMatches schedule name
team_idTeam UUIDReturns team-linked + standalone schedules

list_resource_groups

FilterValuesNotes
searchAny stringMatches group name
team_idTeam UUIDReturns team-matching + unassigned groups

list_overrides

FilterValuesNotes
group_idResource group UUIDFilter by resource group
resource_uidResource UIDFilter by resource
statusactive, expiredOverride status
sort_bycreated_at, expires_atSort field
sort_orderasc, descSort direction

list_cloud_accounts

FilterValuesNotes
searchAny stringMatches account name
provideraws, gcp, azureCloud provider

get_cost_trends

FilterValuesNotes
fromYYYY-MM-DDStart date (defaults to the backend range)
toYYYY-MM-DDEnd date (defaults to the backend range)
granularitydaily, weekly, monthlyTime granularity (defaults to daily)

get_cost_by_resources

FilterValuesNotes
resource_uidsComma-separated UIDsFilter to specific resources
sort_bycostSort field
sort_orderasc, descSort direction

list_audit_logs

FilterValuesNotes
methodPOST, DELETE, PUT, PATCHHTTP method
resourceAny stringPath substring match
statusHTTP status codeFilter by response status
userEmail addressFilter by user email
searchAny stringGeneral search
start_dateYYYY-MM-DDStart date
end_dateYYYY-MM-DDEnd date
sort_orderasc, descSort direction

get_state_history

FilterValuesNotes
statestopped, started, failedAction state
resource_uidResource UIDFilter by resource
changed_by_typeschedule, manual, override, bulkHow the action was triggered
fromYYYY-MM-DDStart date
toYYYY-MM-DDEnd date
sort_bychanged_atSort field
sort_orderasc, descSort direction

list_events

FilterValuesNotes
schedule_idSchedule UUIDFilter by schedule
resource_uidResource UIDFilter by resource
sort_orderasc, descSort direction

list_budgets

FilterValuesNotes
resource_group_idResource group UUIDFilter by resource group
resource_uidResource UIDFilter by resource

Filter Example

To list only running AWS compute resources sorted by name:

json
{
"method": "tools/call",
"params": {
  "name": "list_resources",
  "arguments": {
    "org_id": "your-org-id",
    "provider": "aws",
    "resource_type": "compute",
    "status": "running",
    "sort_by": "name",
    "sort_order": "asc",
    "page": 1
  }
}
}

Example Prompts

Once connected, try asking your AI assistant:

What to askWhat happens
"List my organisations"Shows all orgs you have access to
"What are my cloud costs this month?"Shows cost summary and savings
"Show me optimization recommendations"Lists recommendations with savings estimates
"How many resources do I have?"Shows total resource count and summary by provider
"What schedules are active?"Shows start/stop schedules
"Show my cloud accounts"Lists connected AWS/GCP/Azure accounts
"Show cost trends over the last month"Shows daily cost trends
"What is the CPU utilization of my EC2 instances?"Shows CPU/memory metrics
"Are my budgets on track?"Shows budget health summary
"Show billing sync status"Shows if billing data is syncing correctly
"What teams exist in my org?"Lists all teams and members
"Show audit logs"Shows recent activity in the organisation
"What actions were executed recently?"Shows scheduler events and action history