Skip to main content
Glama

Get hosting usage

get_usage
Read-onlyIdempotent

Disk space, bandwidth, mailboxes, databases and other limits of a hosting service: what is used and the plan limit, as reported by the hosting panel (or the billing system's last disk and bandwidth reading).

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": {
      "service_id": "<service_id>"
    },
    "name": "get_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
service_idYesHosting service id, as returned by the matching list tool.

Output Schema

NameRequiredDescriptionDefault
planNo
itemsNo
sourceNo
service_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds real value beyond them by disclosing the source of truth — the hosting panel, or the billing system's last disk and bandwidth reading — which signals that some figures may be cached or stale.

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?

One dense sentence that front-loads the enumerated metrics before the provenance caveat. It is a fragment without an explicit verb, but every clause carries information and there is no filler.

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?

An output schema exists, annotations cover the safety profile, and the sole parameter is fully described, so the description need not explain return values. It rounds this out with data provenance; only explicit sibling routing is missing for a top score.

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%: the single service_id parameter is fully documented in the schema as the id returned by the matching list tool. The description adds no further semantics about the parameter, so the baseline of 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?

The description names a specific resource set — disk space, bandwidth, mailboxes, databases and other limits — plus the used-vs-plan-limit comparison, so an agent knows exactly what data this returns. It does not explicitly differentiate itself from adjacent readers like get_service or get_account_overview, which keeps it just short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied by the content described: fetch this when you need consumption figures or quota headroom for a service. There is no explicit when-to-use statement, no prerequisites, and no named alternative for related questions (e.g. service details vs. usage).

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.