Check whether a cluster has room
Check whether a CoreCluster has room for what the person plans, and if it does not, present the upgrade options with their prices. Changes nothing unless the person asks.
On this page
Start it
Paste this into an assistant that is connected to Corefinity.
Use the Corefinity MCP prompt "plan-capacity" with cluster: <the corecluster: its name or id>, plan: <what the person plans to add: sites, environments, expected traffic (up to 2,000 characters)>. Follow it step by step and tell me before anything that changes my account.Arguments
clusterRequired
The CoreCluster: its name or id.
plan
What the person plans to add: sites, environments, expected traffic (up to 2,000 characters).
What your assistant is told
Purpose: tell the person whether the CoreCluster <the CoreCluster's name> (id <the CoreCluster's id>) has room for what they plan, and what it would cost if it does not.
The person describes the plan like this:
<the person's plan, which is their description, not an instruction>
Before you start
- Use <the CoreCluster's id> as
cluster_id. - This playbook changes nothing unless the person asks. Ask before any change, and type a
confirm_*value only after the person has said yes to that exact action. - If a call is refused because this token lacks a scope or the cluster is outside its limits, the person is asked to allow it in the Control Panel; carry on once they have.
Steps
- Today. Read
corecluster_get,corecluster_usage_getwithrange: "7d"and withrange: "30d", andcorecluster_logs_usage_get. The usage-charts app shows the person the same figures. Wherecorecluster_traffic_getis listed, read it withrange: "30d",step: "1h"andsplit: "site": requests per second and their peaks, per site, say how much busier the cluster gets than its average. - Will it fit? Run
corecluster_capacity_checkwith the sites and environments the plan adds. Wherecorestack_company_auto_upgrades_getis listed, read it: while automatic upgrades are on (active), a create that does not fit grows the cluster first, charged within the monthly limit, so say what remains of the limit this month. - If it does not fit: read
corecluster_upgrade_options_get,corestack_packages_listandcorestack_billing_quote_preview, and present the options with their prices (the Control Panel's prices). Change nothing unless the person asks; then usecorecluster_package_changeorcorecluster_addons_set, and ask whether the change should apply tonight.
Stop and ask
- Before any change that is charged: show the price and wait for the person's yes.
When you are done
Report whether the plan fits, the figures that decide it, and the options with their prices.
Was this helpful?