Skip to main content
Glama
OpenSIPS

OpenSIPS MCP Server

Official
by OpenSIPS

ul_add_contact

Register a new SIP contact binding to the user location table. Specify table, address of record, contact URI, expiration time, and priority to add or update a contact entry.

Instructions

Add a contact binding to the user location table.

Parameters

table: The usrloc table (e.g. location). aor: The Address of Record (e.g. alice@example.com). contact: The contact URI to register (e.g. sip:alice@192.168.1.10:5060). expires: Expiration time in seconds (default: 3600). q: Contact priority / q-value (default: 1.0).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYes
aorYes
contactYes
expiresNo
qNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It explains parameters but does not disclose side effects (e.g., overwriting existing bindings), required permissions, or potential impacts beyond the operation itself.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is structured with a brief summary followed by a parameter list, but it is somewhat verbose with full example URIs. It could be more concise while retaining clarity.

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 the tool has 5 parameters and 3 required, the description covers them well. However, there is no mention of the output schema (e.g., success/error responses) or any post-condition behavior.

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 input schema provides no descriptions (0% coverage), but the description compensates with detailed explanations for each parameter, including examples for table, aor, contact, and default values for expires and q.

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 action ('Add a contact binding') and the target resource ('user location table'). The verb-resource pair is specific and distinguishes it from sibling tools like ul_remove_contact and ul_show_contacts.

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 no explicit guidance on when to use this tool vs alternatives or prerequisites. While the purpose is clear, there is no mention of when not to use it or compare to other 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/OpenSIPS/opensips-mcp-server'

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