Skip to main content
Glama

Get storage

get_storage
Read-onlyIdempotent

Read the organization's storage: usage (files and their bytes, state entries and their bytes, stores), its retention policy (days after which run outputs, uploaded files and state entries are deleted; null keeps them), the limits, and on the hosted service billing: storage_micros_per_gb_month and state_write_micros (the prices), what is accrued but not yet charged, what was charged in the last 30 days, and owed_micros: storage charges the credit could not pay. While anything is owed, saving files and state is refused (writes_refused), and stored files and state are deleted at delete_after.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description still adds substantial behavioral context: retention days semantics (null keeps data), that storage charges unpaid by credit block saves (writes_refused), and that files and state are deleted at delete_after. That is real operational consequence an agent could not infer from the annotations or the empty schema.

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?

It is front-loaded with the core verb+resource, but the whole body is one very long run-on sentence dense with parentheticals, mixing usage, retention, limits, and three separate billing concepts. The content is largely earned, but the structure makes it hard to scan; breaking the billing and retention clauses into separate sentences would cost nothing.

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?

There is no output schema, so the description carries the return-shape burden and does so thoroughly, naming the usage fields, the policy field, limits, price fields, accrual, last-30-day charges, owed_micros, writes_refused, and delete_after. Nothing an agent needs to interpret the response is missing.

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?

The tool takes zero parameters, so the baseline is 4; there is nothing to disambiguate. The description correctly spends its space on return-value semantics instead of inventing parameter guidance.

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?

Opens with a specific verb+resource ("Read the organization's storage") and then enumerates exactly what is returned: usage, retention policy, limits, and billing fields. An agent can distinguish this from set_storage_policy (mutation) and estimate_cost (projection) without opening any schema.

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 read-oriented phrasing and the mention of the hosted service; there is no explicit statement of when to call this versus set_storage_policy or estimate_cost, and no prerequisites or exclusions. The consequence clause (writes refused while owed) hints at diagnostic use but never says so directly.

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