Skip to main content
Glama

Storage usage

get_storage_usage
Read-onlyIdempotent

Stored bytes and file count of this project. Use when checking how much storage the project uses. Before: nothing. Returns the stored bytes and the file count. Scope: storage:read. Cost: free.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered; the description adds genuinely new context by stating the required scope (storage:read) and that the call is free. It does not mention what the returned numbers represent (e.g. quota limits or units), which would have been the final useful detail.

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?

Five short, front-loaded fragments paced as what / when / prerequisites / returns / scope / cost, with zero redundant wording. The telegraphic 'Before: nothing' style is terse but unambiguous.

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 no-parameter, read-only tool this covers nearly everything an agent needs: purpose, trigger, prerequisites, return contents, scope and cost. Since no output schema exists, the description has to describe returns, and it does so only at a high level (bytes and file count, without units or quota context).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters, so the baseline is 4; the description reinforces this with 'Before: nothing', making it clear no identifiers or options are needed. Nothing further can reasonably be added on parameter meaning for an argument-free tool.

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?

Opens with a concrete verb-and-resource-equivalent statement: 'Stored bytes and file count of this project', which immediately tells an agent this is a per-project storage read. It does not explicitly contrast with nearby siblings like get_compute_usage or get_metering, so sibling differentiation is left to the resource noun 'storage'.

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?

'Use when checking how much storage the project uses' gives a clear contextual trigger, and 'Before: nothing' usefully states there are no prerequisites or ordering constraints. It stops short of naming an alternative tool or an explicit when-not-to-use condition.

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