Skip to main content
Glama

IronShard Object Storage Sandbox

Get Bucket Permissions

get_bucket_permissions
Read-onlyIdempotent

Return currently permitted buckets and operations.

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_name": "<bucket_name>",
      "bucket_token": "<bucket_token>"
    },
    "name": "get_bucket_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucket_nameYesBucket to operate on.
bucket_tokenYesSecret bearer token returned with the public bucket.

Output Schema

NameRequiredDescriptionDefault
bucketsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / buckets / items / properties / bucketRef / anyOf
      Previous value: -[
      -  {
      -    "description": "An existing bucket owned by the grantee's team.",
      -    "properties": {
      -      "bucketName": {
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "existing",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "bucketName"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "A named bucket to create while installing the policy.",
      -    "properties": {
      -      "bucketName": {
      -        "type": "string"
      -      },
      -      "type": {
      -        "const": "provisioned",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "bucketName"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Buckets the credential holder may create while using the policy.",
      -    "properties": {
      -      "type": {
      -        "const": "__new__",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "An existing bucket owned by the grantee's team.",
      +    "properties": {
      +      "bucketName": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "const": "existing",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "bucketName"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Buckets the credential holder may create while using the policy.",
      +    "properties": {
      +      "type": {
      +        "const": "__new__",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds nothing beyond that—no note that a token is required for authorization, no statement about what the returned permission set represents or whether it can be empty.

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?

A single short sentence with no filler, and the purpose is front-loaded. It is efficient but stretches slightly because 'buckets' plural conflicts with the single-bucket input.

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?

An output schema and complete parameter documentation exist, and the tool is low-complexity, so the description is minimally sufficient. However, for a token-authenticated permission query it could clarify what the returned permission set covers and whether the token is mandatory, which the current sentence leaves implicit.

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 carry clear descriptions, including the bearer-token requirement, so the schema does the heavy lifting. The description contributes no additional parameter meaning, which is the baseline-3 case.

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 specific verb ('Return') and resource ('permitted buckets and operations'), so the agent knows this is a permission-read tool rather than a bucket metadata tool like get_bucket. Minor ambiguity: the plural 'buckets' does not match the single required bucket_name, and the description never names a sibling to differentiate against.

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?

There is no guidance on when to call this versus get_bucket or the object-level tools, and no prerequisites are stated. The agent must infer usage entirely from the name and schema.

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