Skip to main content
Glama
Nimbuz MCP Server

Nimbuz MCP Server

Official
by nimbuz-tech

Environment quota usage

get_environment_usage
Read-only

Check remaining CPU, memory, storage, and workload quota for an environment before creating or scaling apps, so you avoid exceeding plan limits.

Instructions

Shows how much of the environment's resource quota (CPU, memory, storage, workloads) is still available. Check this before creating or scaling apps.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_environment_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNoAccount plan name used to look up plan maximums (default "lite").
projectNoProject name or ID. Defaults to NIMBUZ_PROJECT, the `nimbuz use` context, or the only project.
environmentNoEnvironment name (e.g. production) or ID (env-…). Defaults to NIMBUZ_ENV, the `nimbuz use` context, or the only environment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds that the result is remaining headroom rather than historical consumption, which is useful, but says nothing about whether the lookup depends on the environment existing, how plan maximums affect the answer, or what a failure looks like.

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?

Two short sentences, zero filler, with the core capability front-loaded and the actionable guidance second.

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?

All three parameters are optional and fully specified in the schema, annotations cover the read-only nature, and no output schema exists to explain. The only gap is behavior when no environment can be resolved or when the plan name is unknown, which the description leaves unaddressed.

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?

Schema coverage is 100% and every parameter (plan, project, environment) already documents its defaults and fallback chain (NIMBUZ_PROJECT, `nimbuz use` context, sole project/environment). The description adds no parameter guidance beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Shows how much of the environment's resource quota ... is still available") plus the quota dimensions covered (CPU, memory, storage, workloads). It implicitly distinguishes itself from the metrics sibling by emphasizing remaining availability, though it never names get_environment_metrics explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete trigger for use: "Check this before creating or scaling apps." There is no explicit when-not or named alternative (e.g., for historical consumption use get_environment_metrics), but the pre-flight context is clear.

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