Skip to main content
Glama

create_user

Destructive

Creates or resets an IAM user in MinIO, with optional dry-run preview; attach a policy afterward, since new users can do nothing and secrets are not returned.

Instructions

[WRITE][risk=medium] Create or reset an IAM user. Reversible → remove.

The secret is redacted in the audit row and is NOT returned: the harness stores a result verbatim, so echoing it would persist a live credential in plaintext. A new user has no policy and can do nothing until one is attached.

MinIO treats this as an upsert — an existing access key has its secret REPLACED, and no undo can restore the old one, so the undo is recorded only for a genuinely new account.

Args: access_key: The new user's access key (3-128 chars, letters/digits/._=+-). secret_key: The new user's secret (8+ chars). Redacted in the audit log. dry_run: If True, preview without creating. target: MinIO target name from config; omit for the default.

Input Schema

NameRequiredDescriptionDefault
targetNo
dry_runNo
access_keyYes
secret_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.0

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the secret is redacted from the audit row and never returned (with rationale about verbatim result storage), a new user has no policy by default, and critically MinIO treats this as an upsert that REPLACES an existing secret with no undo for the old value. This goes well past destructiveHint=true/idempotentHint=false.

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-loaded with the [WRITE][risk=medium] tag and a one-line purpose, then scoped rationale and args. Mostly efficient, though the redaction rationale sentence ('the harness stores a result verbatim...') is slightly verbose for the point it makes.

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 a mutation tool with no output schema and 0% param coverage, the description covers operation type, upsert/no-undo semantics, secret handling, default-policy state, and every parameter. An agent has everything needed to invoke it correctly.

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

Parameters5/5

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

With 0% schema description coverage, the Args block fully compensates: it documents all four parameters including constraints the schema lacks (access_key 3-128 chars with allowed character class, secret_key 8+ chars, dry_run preview semantics, and target name/default behavior).

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+resource ('Create or reset an IAM user') and immediately flags it as a write operation with risk level. This is clearly distinct from sibling tools like remove_user, set_user_status, and attach_user_policy.

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

Usage Guidelines4/5

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

Gives clear context: 'Reversible → remove' points at the undo/removal path, and the note that a new user 'can do nothing until one is attached' implies the follow-up with attach_user_policy. It does not name an explicit alternative or exclusion (e.g. 'to disable instead, use set_user_status'), so no full 5.

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