Skip to main content
Glama

retrieve_object_storages_stats

Read-onlyIdempotent

Retrieve usage statistics for a specified object storage, including object counts and used storage space, to monitor capacity and track non-live usage trends.

Instructions

List usage statistics about the specified object storage [GET /v1/object-storages/{objectStorageId}/stats] List usage statistics about the specified object storage such as the number of objects uploaded / created, used object storage space. Please note that the usage statistics are updated regularly and are not live usage statistics.

Input Schema

NameRequiredDescriptionDefault
x-trace-idNoIdentifier to trace group of requests.
objectStorageIdYesThe identifier of the object storage.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: statistics are refreshed regularly and are not live, which affects how an agent should interpret freshness.

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 tool purpose is front-loaded and the endpoint is appended cleanly, but 'List usage statistics about the specified object storage' is repeated verbatim across the first and second sentence. The redundancy is minor waste rather than a structural problem.

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 simple read-only stats tool with no output schema, the description explains what the statistics contain (object counts, used space) and their freshness behavior. Return structure is unspecified, but that is the only remaining gap.

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% and both parameters are documented there, so the description carries no additional burden. It adds no syntax hints or meaning for objectStorageId beyond what the schema already says — the correct baseline of 3.

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 ('List usage statistics about the specified object storage') and includes the HTTP endpoint, so the agent can distinguish it from retrieve_object_storage or retrieve_object_storage_list 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The scope is clear — this returns usage stats rather than configuration — and the non-live caveat tells the agent when the data is appropriate. It stops short of naming a sibling alternative for configuration reads, so not a full 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools