Skip to main content
Glama

hmc_configure_ldap

Configure LDAP server integration for IBM HMC by specifying server URL, bind credentials, search base, and group mappings to control HMC access.

Instructions

Configure the HMC LDAP server integration.

server_url is the LDAP or LDAPS URL (e.g. 'ldap://ldap.example.com' or 'ldaps://ldap.example.com:636'). Only the fields you supply are changed.

base_dn: LDAP search base (e.g. 'dc=example,dc=com'). bind_dn: DN of the account used to bind for searches. bind_pw: password for the bind account. search_filter: LDAP search filter (e.g. '(objectClass=person)'). hmc_groups: comma-separated LDAP groups mapped to HMC access. group_member_attributes: LDAP attribute used for group membership.

Equivalent to Ansible hmc_user action=configure_ldap. Returns the updated LDAP configuration resource dict.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
base_dnNo
bind_dnNo
bind_pwNo
hmc_groupsNo
server_urlYes
search_filterNo
group_member_attributesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds value by explicitly stating that only supplied fields are changed (partial update) and that the tool returns the updated LDAP configuration resource dict. While it doesn't explicitly warn about mutating state or prerequisites like HMC admin rights, the 'Configure' verb and the partial-update note provide useful transparency beyond a bare description.

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?

The description is well-structured and front-loaded with the main purpose, followed by a clear parameter list. Every sentence provides information, and the examples are useful. It is slightly longer than strictly necessary, but the length is justified by the need to document seven parameters with zero schema coverage. It could be slightly more compact, but it remains efficient and readable.

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 (7 parameters, one required) and absence of annotations, the description is remarkably complete. It covers every parameter, describes the partial-update behavior, states the return value (which is redundant with the output schema but still helpful), and even maps it to an Ansible equivalent for cross-reference. This provides a full contextual picture for an agent.

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?

The schema description coverage is 0%, so the description fully compensates by explaining each parameter in plain language with examples. For example, 'server_url is the LDAP or LDAPS URL' with concrete URL formats, and 'hmc_groups: comma-separated LDAP groups mapped to HMC access.' This adds significant meaning beyond the bare schema property names.

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 opens with a clear verb+resource statement: 'Configure the HMC LDAP server integration.' This distinguishes it from sibling tools like hmc_get_ldap_config and hmc_remove_ldap_config, and the specific focus on LDAP configuration leaves no ambiguity about what the tool does.

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

Usage Guidelines3/5

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

The description provides partial usage context by stating 'Only the fields you supply are changed,' indicating a partial update model. However, it does not explicitly say when to use this tool versus alternatives, such as mentioning that hmc_get_ldap_config should be used for viewing or hmc_remove_ldap_config for deletion. The guidance is implied but not explicitly contrasted with sibling tools.

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/randomparity/hmc-mcp'

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