Skip to main content
Glama

detach_user_policy

Detach specified canned policies from a MinIO user to revoke permissions. Dry-run previews the change before it is applied.

Instructions

[WRITE][risk=medium] Detach canned policies from a user. Reversible → attach.

Refused for this tool's own credential: the account keeps authenticating and loses exactly the rights the undo would need to put them back.

Args: access_key: The user's access key (from iam_users). policies: Policy names to detach (from iam_users). dry_run: If True, preview without detaching. target: MinIO target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo
dry_runNo
policiesYes
access_keyYes
Behavior5/5

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

With no annotations provided, the description fully carries the transparency burden. It discloses that this is a WRITE operation with risk=medium, that it is reversible via attach, and specifically details a refusal behavior for its own credential with a clear rationale. This goes beyond typical transparency.

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 compact and well-structured: a tag line, a one-sentence purpose, a focused warning, and a clean argument list. Every sentence provides necessary information without fluff.

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 relatively simple tool with no output schema, the description covers the operation, safety, reversibility, self-refusal caveat, and full parameter semantics. It is complete enough for an agent to successfully invoke the tool in most scenarios.

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?

Schema has zero description coverage, but the description explains every parameter: access_key and policies are sourced from iam_users, dry_run provides a preview, and target defaults to config default when omitted. This adds significant semantic meaning beyond the raw 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?

Clearly states the action: 'Detach canned policies from a user.' The verb is specific and the resource is unambiguous. It also distinguishes from the sibling attach_user_policy by noting 'Reversible → attach.'

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?

The reversibility note explicitly points to attach_user_policy as the inverse operation, implying usage context. It also warns against using this tool on its own credential. It does not explicitly list alternative tools for different scenarios (e.g., bucket policies), but the sibling set makes the intent clear.

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/AIops-tools/MinIO-AIops'

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