Skip to main content
Glama

Get Usage Tool

residential_get_usage
Read-only

[Residential] Traffic used per hour or per day (UTC), including empty periods. Exact bytes and readable B/KB/MB/GB amounts avoid rounding small usage to zero. usage_synced_at and usage_stale describe freshness; recent requests may appear after the next sync.

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": "residential_get_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodsNoHow many periods back, including the current one. Up to 168 hours or 90 days. Defaults to 24 hours or 30 days.
granularityNohour or day. Defaults to day.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Even with readOnlyHint=true already covering the safety profile, the description adds real behavioral context: empty periods are returned, byte counts are exact alongside human-readable amounts so small usage is not rounded to zero, and results are eventually consistent via usage_synced_at/usage_stale. It does not describe ordering or response structure, but the disclosure is well beyond what annotations supply.

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?

Three compact sentences, front-loaded with what is returned and followed by the two non-obvious caveats (zero-rounding and sync lag). No filler or repetition of the tool name.

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?

For a small, read-only tool with two optional parameters and no output schema, the description covers the essential unknowns: timezone, empty periods, precision, and freshness fields. Only minor gaps remain, such as the effective cap when granularity=day and whether results are ordered chronologically.

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%, so both parameters, their bounds, defaults, and the hour/day enum are already fully documented in the schema. The description only reinforces the granularity choice and the UTC time basis; it does not clarify the interaction between the 168-period cap and the 90-day/day-granularity limit, so 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?

The description names a specific resource (residential traffic used) with a stated time basis (UTC) and granularity (hour or day), and adds the notable behavior of including empty periods. It lacks an explicit verb and does not name a sibling, but among the listed siblings (connections, proxies, locations, billing) the resource is unmistakably distinct.

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 implied rather than stated: an agent can infer this is the tool for traffic reporting, and the freshness caveat ('recent requests may appear after the next sync') helps decide whether results are trustworthy. There is no explicit when-to-use/when-not or pointer to an alternative, so it stays at minimum-viable guidance.

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.

Resources