Skip to main content
Glama

Read a bucket

get_bucket
Read-onlyIdempotent

Read a storage bucket. Use when checking a bucket's settings. Before: a bucket id from list_buckets or create_bucket (needs storage write access). Returns the bucket. 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": {
      "id": "bkt_0123456789abcdef0123456789abcdef"
    },
    "name": "get_bucket"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesBucket id (bkt_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world semantics, and the description adds genuinely new context: the required access level, the scope ('storage:read'), zero cost, and that the bucket object is returned. However, 'needs storage write access' conflicts with 'Scope: storage:read', which could confuse an agent reasoning about permissions.

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?

Four short sentences, front-loaded with the verb and resource, then usage, then prerequisites, then scope/cost. The telegraphic 'Before:/Scope:/Cost:' labels pack a lot of signal into very little text with no filler.

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 one-parameter read tool with no output schema, the description covers purpose, trigger, prerequisite, authorization, and cost, and even summarizes the return ('Returns the bucket'). The only real omission is any indication of what is inside the returned bucket object, which is a minor gap given the low complexity.

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%: the id parameter documents the bkt_ prefix, the pattern, and an example. The description only notes where ids come from (list_buckets or create_bucket), which is a small addition over the schema rather than new semantics about the parameter itself.

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?

The description gives a specific verb and resource ('Read a storage bucket') and clarifies the actual use case ('checking a bucket's settings'), which separates it from the bulk listing behavior implied by the sibling list_buckets. It does not explicitly say 'unlike list_buckets, this returns one bucket,' but the prerequisite phrasing makes the distinction clear enough.

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 supplies a concrete trigger ('when checking a bucket's settings') and a prerequisite chain ('a bucket id from list_buckets or create_bucket'), which routes the agent correctly between creation, listing, and reading. It stops short of stating exclusions or failure cases, so it is strong context rather than full when/when-not guidance.

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.