Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Read usage

tzcloud_read_usage
Read-onlyIdempotent

Read this UTC month's usage for your applications. Each gives its label and size. Compare month_total with quota. Add nothing. Report month_total whole as the one figure. Infer no second figure from by_environment. includes_before gives each source's timestamp. Later router activity may already count. Compare request end times with both includes_before.router and excludes_after.router where given. Activity between them may already count. Read freshness before comparing recent requests.

An application's state is its worst measure state, or unknown until recorded. For a size, only stored data has an overall usage quantity. On a size, null quota does not limit backend actions, data transfer, AI or monthly email. Priced use still draws your balance. An over reading refuses file puts, new uploads and the other operations listed in the reference. This lasts until the next successful daily check or a raised quantity. Reads and changes of size continue.

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

Input Schema

NameRequiredDescriptionDefault
applicationNoOne application id; omit it for all your live applications.
wait_secondsNoSeconds to delay this read. Router requests under two minutes old may not be counted. Read again once two minutes have passed since your last router request.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish this is a safe read (readOnlyHint, idempotentHint, destructiveHint=false), yet the description adds real behavioral context beyond them: an over reading blocks file puts, new uploads and other listed operations until the next daily check or a raised quantity; null quota does not limit backend actions; priced use still draws balance. These are meaningful consequences an agent could not get from annotations, though some phrasing ('worst measure state', 'may already count') stays vague.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first sentence, but the remainder is a dense run of clipped fragments ('Add nothing. Report month_total whole as the one figure. Infer no second figure from by_environment.') that are terse to the point of being hard to parse. Several sentences mix output-formatting instructions, field semantics and quota consequences, so structure costs more effort than it should.

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?

There is no output schema, so the description must explain return values, and it does cover the main ones: month_total, quota, by_environment, includes_before/excludes_after timestamps, freshness and state. Gaps remain (what `label` and `size` mean, what 'worst measure state' measures, what 'the reference' is), but for a read-only reporting tool the coverage is largely sufficient.

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 description coverage is 100% with only two parameters, both documented ('omit it for all your live applications' and the 1–45 second delay semantics), so the schema already carries parameter meaning. The description does not mention `application` or `wait_seconds` explicitly; its discussion of late-counting router activity only indirectly relates to the wait parameter, so it adds little beyond the schema. 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 opening sentence names a specific verb and resource with a clear scope ('Read this UTC month's usage for your applications') and the field references (month_total, quota, by_environment) confirm it is a usage/quota reporting read. It never names a sibling such as read_balance or tzcloud_read_plan_quotas, so an agent must infer the boundary from context rather than being told.

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 guidance is implied rather than stated: 'Compare month_total with quota' and 'Read freshness before comparing recent requests' tell the agent how to interpret output, and the wait replay advice ('Read again once two minutes have passed') is timing guidance, but it only appears in the schema. There is no explicit when-to-use/when-not-to-use or named alternative for checking quota or balance elsewhere.

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