Skip to main content
Glama

Re-run Resource Pool Infrastructure

reprovision_cluster
Idempotent

Re-run the infrastructure setup on one of your resource pools, as the portal's 'Update infrastructure' button does: it brings a pool whose infra_update_available is true to the current infrastructure, and runs again on a pool whose last run failed (status 'error', its last_error naming the step that failed). It converges the box over SSH with the key you authorised; your data and running apps are untouched. It runs as a job: poll get_job_status with the returned job_id until it is completed or failed (up to 20 minutes); list_clusters then shows the pool 'connected'. A pool never provisioned is refused: provision it in the portal. Resource pools are part of the Managed server plan. One operation runs on a pool at a time: while another runs, the call is refused and the refusal names the running job. While RationalBloks is being updated, the call is refused with 'RationalBloks is being updated': call it again in a few minutes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cluster_id": "<cluster_id>"
    },
    "name": "reprovision_cluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYesResource pool ID (list_clusters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior3/5

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

The annotations already declare idempotentHint=true and destructiveHint=false, and the description adds genuinely useful context beyond them: SSH convergence with the authorised key, data/apps untouched, async job with a 20-minute poll window, single-operation-per-pool locking, and a named retry-after condition during RationalBloks updates.

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?

Front-loaded with the action and its UI analogue, then behavior, then refusal cases. Every clause carries information, though the long run-on sentences and the Managed-plan remark make it denser than strictly necessary.

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?

No output schema exists, yet the description covers the returned job_id, the polling protocol against get_job_status, the success signal via list_clusters, and the refusal modes — enough for an agent to call and follow through correctly.

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?

Only one parameter (cluster_id) with 100% schema coverage, which already points to list_clusters for the ID. The description adds no syntax or format detail beyond that, so the baseline 3 applies.

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?

States a specific verb and resource ('Re-run the infrastructure setup on one of your resource pools') and immediately anchors it to a concrete UI equivalent ('Update infrastructure' button), so it is distinguishable from siblings like get_job_status or list_clusters.

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 names the two triggering conditions (infra_update_available is true, or last run failed with status 'error'), the exclusion (a never-provisioned pool is refused — provision it in the portal), and the alternatives to fall back on (get_job_status to poll, list_clusters to confirm).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.