Skip to main content
Glama

Summarize what is in a bucket

summarize_storage_bucket
Read-onlyIdempotent

A quick map of a bucket (or one folder) so large data can be understood before reading: file count and total size, the biggest folders, file types, the largest and newest files, and the date range. Looks at up to 5,000 files. Follow up with search_storage_files and read_storage_file for the details.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "service_id": "<service_id>",
      "region": "<region>",
      "bucket": "<bucket>"
    },
    "name": "summarize_storage_bucket"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucketYesBucket name (3-63 lowercase letters, digits, dots, hyphens).
prefixNoOptional folder to summarize, e.g. "reports/".
regionYesRegion code from storage_plans or storage_overview, e.g. fra (Frankfurt), usa (Virginia), sgp (Singapore).
service_idYesObject Storage service id, as returned by the matching list tool.

Output Schema

NameRequiredDescriptionDefault
filesNo
typesNo
newestNo
foldersNo
largestNo
truncatedNo
total_bytesNo
newest_modifiedNo
oldest_modifiedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds a genuinely behavioral constraint beyond them: the scan looks at up to 5,000 files, which tells the agent results may be partial on very large buckets. It does not say how the 5,000 are selected (first N by key, sampling, etc.), leaving one meaningful gap.

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?

Two sentences, front-loaded with the purpose and output contents, then the 5,000-file limit and the follow-up routing. No restatement of the title and no filler; every clause carries information an agent can act on.

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?

An output schema exists, parameters are fully described in the schema, and annotations cover safety, so the description only needs to justify the tool's place and limits — which it does. The remaining minor gap is that the truncation behavior past 5,000 files (whether the summary silently undercounts) is not spelled out.

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%, so all four parameters are already documented with formats and sourcing hints, which sets the baseline at 3. The description adds only a light gloss, clarifying that prefix means "one folder" to summarize; it adds no further semantics for service_id or region.

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?

The description opens with a specific verb and resource plus its scope variant ("a quick map of a bucket (or one folder)") and enumerates exactly what is produced: file count, total size, biggest folders, file types, largest/newest files, date range. It separates itself from read/search siblings by positioning them as follow-ups for detail, so an agent can pick this tool without inspecting schemas.

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?

It gives a clear usage condition ("so large data can be understood before reading") and explicitly routes to search_storage_files and read_storage_file for detail work. It stops short of an explicit negative case, e.g. when a small bucket makes list_storage_files preferable, but the intended position in the workflow is unambiguous.

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.