Skip to main content
Glama

get_remaining_capacity

Read-onlyIdempotent

Determine remaining capacity headroom for a cluster or host. Returns overall percentage and absolute remaining values for CPU, memory, and disk to see how much more workload fits.

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 (only available 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: Aria target name from config; default when omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo
resource_idYes
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, and the description adds rich behavioral context: it explains the return structure (group-level capacity_remaining_pct, per-dimension remaining_value with units), the data source (OnlineCapacityAnalytics demand model), and the warm-up behavior (Values are None while capacity analytics warm up). No contradictions 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?

The description is well-structured with a leading [READ] tag, a clear purpose statement, a return summary, an edge-case note, and alternative tool pointers, followed by a concise Args section. Every sentence contributes value, and the information is front-loaded for quick scanning.

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?

With no output schema, the description adequately explains what the tool returns (group-level percentage and per-dimension remaining values with units) and covers important context (None during warm-up, possible resource types). It also provides enough guidance for a moderate-complexity tool with two parameters, making it complete for an agent to invoke correctly.

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

Parameters5/5

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

Schema description coverage is 0%, so the description fully compensates by explaining both parameters in an Args section: resource_id is a UUID for ClusterComputeResource or HostSystem from list_resources, and target is an Aria target name from config with a default when omitted. This adds significant meaning beyond the raw 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 uses a specific verb+resource ('Get remaining capacity headroom for a cluster or host') and explicitly distinguishes itself from sibling tools by naming get_capacity_overview and get_time_remaining for alternative views. This clearly defines what the tool does and how it differs.

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 provides explicit when-to-use guidance by stating 'Use get_capacity_overview for the combined view, or get_time_remaining for projected days-until-full.' It also notes that values are None while analytics warm up, implying users should wait or avoid relying on it during that period. This fully orients the agent on appropriate usage.

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

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