Skip to main content
Glama

Show storage usage

storage_usage
Read-onlyIdempotent

Read storage usage for your account, or a team you belong to (team): the plan, bytes used and the limit (null: no limit), bytes per workspace, standalone and bundle bytes, trashBytes (the part of usedBytes in the trash), textBytes (long text: task briefs, results and drafts, task definition instructions, output text and descriptions), and the largest artifacts with their current and history bytes. Every kept version, table row and bundle version counts, and so does long text, and the trash until it is purged. A workspace counts toward its owner. A platform admin reads any team, or another account with account (an account id or alias; anyone else: FORBIDDEN).

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

Input Schema

NameRequiredDescriptionDefault
whyNoOptional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters.
teamNoA team's storage, by slug or id (members only; a platform admin reads any team's).
accountNoAnother account's storage, by account id or alias (platform admins only; anyone else is refused FORBIDDEN). Not with team.

Output Schema

NameRequiredDescriptionDefault
planYes
payerYes
largestYes
textBytesYes
usedBytesYes
limitBytesYes
trashBytesYes
workspacesYes
bundleBytesYes
standaloneBytesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / why / description
      Previous value: -"Optional, accepted and not recorded by this operation. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters."New value: +"Optional, accepted and not recorded by this operation. If you send one, one sentence on the goal this change serves. At most 300 characters."
  2. Changed1 schema field changed
    • addedInput schema / properties / why
      Added value: +{
      +  "description": "Optional, accepted and not recorded by this operation. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters.",
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • addedOutput schema / properties / textBytes
      Added value: +{
      +  "minimum": 0,
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "payer",
      -  "plan",
      -  "usedBytes",
      -  "limitBytes",
      -  "workspaces",
      -  "standaloneBytes",
      -  "bundleBytes",
      -  "trashBytes",
      -  "largest"
      -]New value: +[
      +  "payer",
      +  "plan",
      +  "usedBytes",
      +  "limitBytes",
      +  "workspaces",
      +  "standaloneBytes",
      +  "bundleBytes",
      +  "trashBytes",
      +  "textBytes",
      +  "largest"
      +]
  4. Changed1 schema field changed
    • changedOutput schema / properties / plan / enum
      Previous value: -[
      -  "free",
      -  "pro",
      -  "team",
      -  "enterprise"
      -]New value: +[
      +  "free",
      +  "pro",
      +  "power",
      +  "enterprise"
      +]
  5. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already establish this is a safe, idempotent read, and the description adds real context on top: what counts toward usage (kept versions, table rows, bundle versions, long text), that trash counts until purged, and that a workspace bills to its owner. The permission model and FORBIDDEN outcome for non-admins are also disclosed, which an agent needs to predict failures.

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?

The core scope and returned fields are front-loaded in the first sentence, and the trailing sentences on accounting rules are load-bearing rather than filler. The long parenthetical defining textBytes is dense but suppresses ambiguity about what is measured.

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?

An output schema exists so return shape needn't be explained, yet the description usefully enumerates the returned fields (plan, usedBytes, limit nullable, per-workspace bytes, trashBytes, textBytes, largest artifacts). With permissions, accounting rules and mutual exclusions all covered, an agent has everything needed to call it correctly.

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 the schema already documents why, team and account, including the 'not with team' constraint. The description largely restates these semantics (membership, admin-only, id-or-alias) rather than adding format or edge-case detail, so the baseline 3 applies.

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?

States a specific verb and resource ('Read storage usage') and immediately scopes it: your account, a team you belong to, or (for admins) any team or another account. The subject matter (bytes/plan/limits) is distinct enough from siblings like actions_usage that an agent can select it without ambiguity.

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?

Provides clear conditions for each mode: team requires membership, account requires platform admin (else FORBIDDEN), and 'Not with team' states a mutual exclusion. It does not explicitly enumerate alternatives (e.g., actions_usage for action counts), so it stops short of a 5.

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.