Skip to main content
Glama

Create Password

hudu_create_password

Create a new password entry in Hudu to store credentials for a company, asset, or website, including username, password, URL, and optional TOTP secret.

Instructions

Create a new password in Hudu. A password record in Hudu — the credential vault entry for a company, optionally attached to a specific asset or website. Hudu calls these "AssetPassword" in the API and simply "Passwords" in its interface.

Returns the created record, including the id Hudu assigned. Hudu answers 422 with the offending field named when validation fails.

Operation class: Create.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoURL this credential relates to.
nameYesLabel for this credential, e.g. "Firewall admin" or "M365 global admin".
passwordNoThe secret itself. You are writing credential material into Hudu. Never invent a password or an OTP secret yourself, never copy one out of another tool result, and never repeat the value back in your reply, in a summary, or in a later tool call. Take it from the user for this one call and then let go of it.
usernameNoUsername or account name this credential is for.
in_portalNoWhen true, the credential is exposed in the customer-facing Hudu portal, where end users can see it. Confirm with the user before enabling this — it widens who can read the secret beyond your own staff.
login_urlNoSign-in page URL, if different from url.
company_idYesCompany this credential belongs to. Resolve it with hudu_list_companies first.
otp_secretNoTOTP seed for multi-factor login on this account, base32. Storing this beside the password puts both factors in one place — say so to the user before doing it. You are writing credential material into Hudu. Never invent a password or an OTP secret yourself, never copy one out of another tool result, and never repeat the value back in your reply, in a summary, or in a later tool call. Take it from the user for this one call and then let go of it.
descriptionNoNotes about the credential. Do not put the password itself here.
password_typeNoFree-text category, e.g. "Local admin". Hudu publishes no list of legal values; read an existing record to see what this instance uses.
passwordable_idNoNumeric id of the record named by passwordable_type.
passwordable_typeNoType of record this credential belongs to. Pair with passwordable_id. Omit both to store the credential against the company alone rather than a specific record.
password_folder_idNoFolder to file the credential under. List folders with hudu_list_password_folders.
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false), the description discloses that the created record is returned including the assigned id, and that validation failures produce a 422 response naming the offending field. This adds useful behavioral context about return value and error handling. No contradiction with annotations.

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 front-loaded with the core action and stays reasonably concise. It includes valuable context about what a Hudu password is and gives return/error behavior. The 'Operation class: Create' line is somewhat redundant with the first sentence but not harmful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 13 parameters, no output schema, and basic annotations, the description is fairly complete. It explains the resource concept, return value, and error behavior. Parameter details are delegated to the schema, which is appropriate since schema coverage is 100%. It could improve by adding usage guidance versus update/list, but overall it covers the create operation well.

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?

Input schema covers 100% of parameters with detailed descriptions, so the baseline is 3. The tool description itself adds no extra parameter-level meaning beyond what the schema already provides. It mentions optional attachment to an asset/website, but that concept is already in the passwordable_type/id descriptions.

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 uses a specific verb+resource: 'Create a new password in Hudu.' It further clarifies what a password record is and even distinguishes between API naming ('AssetPassword') and UI naming ('Passwords'). This clearly separates it from sibling tools like hudu_update_password or hudu_archive_password.

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

Usage Guidelines2/5

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

The description states what the tool does but does not explicitly say when to use it versus alternatives. There is no guidance like 'Use this when adding a new credential rather than updating an existing one' or mention of prerequisites such as resolving company_id. Some implied usage exists ('Create a new password'), but no explicit context or exclusions.

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/ZenixSolutions/hudu-mcp'

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