Skip to main content
Glama

edgegate_setup_byo_storage

Set up BYO S3 storage by creating a pending grant with EdgeGate and obtaining the exact AWS CLI commands to create the IAM role. Removes guesswork from trust policies and role names.

Instructions

Enterprise only. Zero-friction BYO storage setup — creates a pending grant with EdgeGate (returns the External ID) and returns the exact AWS CLI commands the agent should run to create the IAM role in the customer's AWS account. Pair with edgegate_attach_byo_role to finalize. Prefer this over edgegate_register_byo_bucket for new setups — the agent doesn't have to figure out the trust policy or guess at role names. Requires owner role. 402 from non-Enterprise workspaces; if a non-pending grant exists, instructs the agent to disconnect first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucketYesS3 bucket name (not the URI) you want EdgeGate to read model bytes from.
regionYesAWS region the bucket lives in, e.g. us-east-1.
kms_key_idNoOptional KMS key ARN if the bucket uses SSE-KMS with a customer-managed key. The IAM role will be granted kms:Decrypt on this key. Leave unset for SSE-S3 or SSE-KMS with the AWS-managed key.
workspace_idYesWorkspace ID. Must be Enterprise-tier with BYO storage enabled.
role_name_overrideNoOptional override for the IAM role name. Default mirrors the CloudFormation path: edgegate-byo-read-<first-8-chars-of-external-id>.
Behavior5/5

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

With no annotations, the description carries full behavioral burden. It discloses auth requirements (owner role), enterprise restriction (402), workflow state (creates pending grant, returns External ID), and instructs disconnect for non-pending grants. It also clarifies that the IAM role is created by the agent running the returned CLI commands, not by the tool itself.

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 every sentence earns its place: enterprise restriction, core behavior, workflow pairing, alternative comparison, auth requirement, and error handling. No filler or redundant phrasing.

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 (5 parameters, external AWS steps, no output schema), the description is complete: it explains what is returned (External ID and CLI commands), how to finalize (attach_byo_role), when to prefer it, prerequisites, and error scenarios. Enough for an agent to select and invoke correctly.

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 each parameter already has a detailed description, so the baseline is 3. The description does not add additional parameter-level semantics beyond what the schema provides, though it does reference the workflow context in which these parameters are used.

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: it creates a pending BYO storage grant with EdgeGate, returns the External ID, and returns AWS CLI commands for creating an IAM role. It also distinguishes itself from sibling tools by recommending it over edgegate_register_byo_bucket and pairing it with edgegate_attach_byo_role.

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?

Explicit usage guidance is provided: 'Prefer this over edgegate_register_byo_bucket for new setups' and 'Pair with edgegate_attach_byo_role to finalize.' It also states prerequisites (Enterprise, owner role) and error handling (402 for non-Enterprise, disconnect first if non-pending grant exists).

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