Skip to main content
Glama

edgegate_register_byo_bucket

Register an existing IAM role and S3 bucket as a BYO storage grant. Returns the External ID to add to your role's trust policy so EdgeGate can access your bucket.

Instructions

Enterprise only. Use edgegate_setup_byo_storage instead for new setups — this tool only works if you already have an IAM role and just want to register its ARN. Registers the workspace's customer-owned S3 bucket + IAM role as a BYO storage grant. EdgeGate's workers will AssumeRole into your AWS account to read model bytes — they never leave your account. Returns the External ID you must add to your role's trust policy. Requires owner role. 402 from non-Enterprise workspaces; 409 if a grant already exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucketYesS3 bucket name (not the URI — just the bucket name).
regionYesAWS region the bucket lives in, e.g. us-east-1.
role_arnYesARN of the IAM role EdgeGate's workers will assume to read your bucket. Created by the EdgeGate CloudFormation launch stack (or your equivalent Terraform module). Format: arn:aws:iam::<account-id>:role/<name>.
kms_key_idNoOptional KMS key ARN if the bucket uses SSE-KMS. The IAM role must have kms:Decrypt on this key.
workspace_idYes
Behavior5/5

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

With no annotations, the description fully discloses behavior: Enterprise-only restriction, required owner role, security model ('AssumeRole... never leave your account'), return value (External ID), and specific error codes. This far exceeds the bare minimum and provides critical operational context.

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?

The description is dense but not bloated. It front-loads the most critical information (Enterprise only, use alternative for new setups), then covers function, security, return, permissions, and errors in a compact, logical flow. Every sentence earns its place.

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

Completeness5/5

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

Given the tool's complexity (BYO storage, IAM roles, External ID), the description is remarkably complete. It explains the purpose, usage, prerequisites, return value, error conditions, and security implications. No output schema exists, but the description explicitly mentions the return value, making the tool self-contained.

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 80% (4 of 5 parameters have descriptions), so the baseline is 3. The description does not add parameter-specific details beyond what the schema already provides, but it doesn't need to since the schema is rich and descriptive.

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 clearly states the tool's function: 'Registers the workspace's customer-owned S3 bucket + IAM role as a BYO storage grant.' It also distinguishes itself from the main sibling, edgegate_setup_byo_storage, by explicitly noting this tool is for existing IAM roles only and directs users to use the alternative for new setups.

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

Usage Guidelines5/5

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

Provides explicit when-to-use versus alternatives: 'Use edgegate_setup_byo_storage instead for new setups — this tool only works if you already have an IAM role and just want to register its ARN.' Also notes prerequisites (owner role) and error conditions (402 for non-Enterprise, 409 if grant exists), giving clear context for invocation.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/frozo-ai/edgegate-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server