Skip to main content
Glama
OpenSIPS

OpenSIPS MCP Server

Official
by OpenSIPS

security_generate_ha1

Generate HA1 and HA1B hex digests for SIP digest authentication by providing username, domain, and password. Required for subscriber table hashing.

Instructions

Generate HA1 and HA1B digest authentication hashes.

These hashes are used in the subscriber table for SIP digest auth.

Parameters

username: The SIP username. domain: The SIP domain. password: The plaintext password to hash.

Returns

dict Contains ha1 (username:realm:password) and ha1b (username@domain:realm:password) hex digests.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameYes
domainYes
passwordYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description takes full responsibility. It explains the algorithm (username:realm:password and username@domain:realm:password) and return format. It could be more explicit about side effects, but none are expected for a hash generation tool.

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 concise and well-structured with clear sections for parameters and returns. Every sentence serves a purpose without redundancy.

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 simplicity (3 params, no nested objects), the description covers purpose, parameters, and return value completely. Output schema existence is acknowledged in context, and the description explains the return dict.

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 coverage is 0%, but the description provides detailed explanations for each parameter: username, domain, password. This adds substantial meaning beyond the schema's names and types.

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 clearly states the tool generates HA1 and HA1B digest authentication hashes, specifying the verb 'generate' and the resource. It distinguishes itself from siblings like security_audit_config by focusing on hash generation.

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 implies usage for SIP digest auth but does not explicitly state when to use or provide alternatives. No guidance on when not to use this tool.

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/OpenSIPS/opensips-mcp-server'

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