Skip to main content
Glama

get_remaining_capacity

Read-onlyIdempotent

Retrieve remaining capacity headroom for a cluster or host to determine how much more workload fits before limits. Returns capacity_remaining_pct and absolute values per dimension.

Instructions

[READ] Get remaining capacity headroom for a cluster or host — how much more workload fits before hitting limits. Returns the group-level capacity_remaining_pct (the percentage metric only exists at group level) plus one entry per capacity dimension (cpu, mem, diskspace) with remaining_value (absolute, unit per dimension e.g. MHz/KB), from the OnlineCapacityAnalytics demand model. Values are None while capacity analytics warm up. Use get_capacity_overview for the combined view, or get_time_remaining for projected days-until-full.

Args: resource_id: The resource UUID — a ClusterComputeResource or HostSystem (from list_resources). target: Optional Aria Operations target name from config. Uses default if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resource_idYes
targetNo
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint, idempotentHint, openWorldHint. Description adds useful context about return structure (capacity_remaining_pct only at group level, per-dimension entries) and warm-up behavior. 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?

Front-loaded with main purpose, then details. Uses clear Args section. No wasted words. Appropriate length.

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?

No output schema; description explains return values in detail (capacity_remaining_pct, per-dimension entries with units) and warm-up period. Covers all needed context for a read-only query tool.

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?

Schema has 0% description coverage. Description provides clear explanations: resource_id is 'The resource UUID — a ClusterComputeResource or HostSystem (from list_resources).' target is 'Optional Aria Operations target name from config. Uses default if omitted.' Adds significant meaning.

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 the tool gets remaining capacity headroom for a cluster or host. Uses specific verb 'get' and resource 'remaining capacity'. Distinguishes from siblings like get_capacity_overview and get_time_remaining.

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 provides when-to-use guidance: 'Use get_capacity_overview for the combined view, or get_time_remaining for projected days-until-full.' Also notes that values are None during warm-up.

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

Install Server

Other Tools

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/zw008/VMware-Aria'

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