Skip to main content
Glama

Create a storage access key

create_storage_key

Create an S3 access key (permission read, write or rw, optionally limited to one bucket and an expiry date). A secret is shown only once, when the key is made. Ask the customer first: show_secret true shows the key and secret in this chat (needs confirm: true); false creates nothing and returns the dashboard link where they create and copy it themselves.

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": {
      "service_id": "<service_id>",
      "region": "<region>",
      "name": "<name>",
      "permission": "<permission>",
      "show_secret": "<show_secret>"
    },
    "name": "create_storage_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesLabel for the key, e.g. "backup-script".
bucketNoOptional: limit the key to this one bucket.
regionYesRegion code from storage_plans or storage_overview, e.g. fra (Frankfurt), usa (Virginia), sgp (Singapore).
confirmNoWith show_secret true: must be true, only after the customer agreed to the secret appearing in this chat.
expiresNoOptional expiry date, YYYY-MM-DD.
permissionYesread = download only, write = upload only, rw = both.
service_idYesObject Storage service id, as returned by the matching list tool.
show_secretYestrue = show the new secret here in the chat; false = do not create it here (dashboard link instead). Set only after asking the customer.

Output Schema

NameRequiredDescriptionDefault
regionNo
createdNo
endpointNo
access_keyNo
permissionNo
secret_keyNo
dashboard_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare the mutation profile (readOnly=false, destructive=false, idempotent=false); the description adds the decisive behavior that the secret is shown only once at creation and that the confirm:true gate exists for chat exposure. It does not cover rate limits, key-count limits, or what happens on name collision, but the key operational risks are disclosed.

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?

Front-loads the action and the one-time-secret warning, and every clause carries information (permission, bucket scoping, expiry, consent gate). The second sentence is dense and parenthesis-heavy, making the show_secret/confirm flow slightly harder to parse than it needs to be.

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?

For an 8-parameter mutation tool with an output schema and full schema coverage, the description supplies the missing decision layer: consent ordering, one-time secret visibility, and the non-creating fallback. An agent has everything needed to call it correctly and safely.

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% and the per-parameter descriptions already explain permission values, expiry format, and the show_secret/confirm coupling, so the description largely restates that. It adds marginal framing by tying show_secret and confirm into a single consent decision, but no syntax or semantics beyond the schema.

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?

States a specific verb and resource ('Create an S3 access key') and immediately bounds the scope: permission of read/write/rw, optional single-bucket limit, optional expiry. The resource is distinct from sibling create tools (bucket, folder, mailbox), so an agent can identify it without opening the schema.

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?

Gives explicit routing logic: ask the customer first, and if they decline, set show_secret false, which 'creates nothing' and returns the dashboard link instead. This is a genuine when/when-not rule with a concrete alternative path, not just a usage hint.

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.