Skip to main content
Glama

bucket_logging_get

Read-only

Check if access logging is enabled for a bucket and retrieve its target bucket and prefix. Use this to verify logging configuration before audits or troubleshooting.

Instructions

Show whether access logging is on for a bucket, and its target bucket and prefix.

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": {
      "bucket": "<bucket>"
    },
    "name": "bucket_logging_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucketYes
regionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so safety is covered. The description adds the specific fields this call reports (enabled state, target bucket, prefix), which is useful framing, but says nothing about permissions needed to read logging config or behavior when logging is unset.

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?

One front-loaded sentence that names the primary result first and the secondary details after, with no filler or redundant restatement of the name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple, has an output schema for return values, and annotations for its safety profile, so the description is nearly sufficient. The remaining hole is the undocumented 'region' parameter against 0% schema description coverage.

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

Parameters2/5

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

Schema description coverage is 0% and the description only implicitly covers the required 'bucket' argument. The 'region' parameter — including what happens when it is null/defaulted — is completely unaddressed, so the description does not compensate for the schema gap.

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?

States a concrete verb ('Show') and a precise resource outcome: whether access logging is enabled for a bucket, plus the target bucket and prefix. The get/set pairing with bucket_logging_set is obvious from the name, but the description itself never names or contrasts the sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No explicit when-to-use statement, no prerequisites, and no exclusion or alternative named. The read-only intent is inferable from the name and the 'Show' phrasing, but an agent gets no guidance on when to reach for this versus bucket_get or bucket_logging_set.

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