Skip to main content
Glama
OpenSIPS

OpenSIPS MCP Server

Official
by OpenSIPS

drouting_add_gateway

Adds a new dynamic routing gateway to OpenSIPS with customizable parameters like address, type, strip, prefix, and probe mode. Optionally triggers a dynamic routing reload to apply changes immediately.

Instructions

Add a new dynamic routing gateway. Optionally triggers MI dr_reload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYes
typeNo
stripNo
pri_prefixNo
attrsNo
probe_modeNo
stateNo
socketNo
descriptionNo
reloadNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

The description mentions the optional MI dr_reload trigger, but with no annotations, it fails to disclose other behavioral traits such as persistence, side effects on existing configurations, or required permissions. This is insufficient for a mutation 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 two sentences, front-loaded with the primary purpose. Every word is necessary, with no redundancy or extraneous information.

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

Completeness2/5

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

Despite having an output schema, the description provides no insight into return format, error conditions, preconditions, or how the reload trigger works. For a tool with 10 parameters, it leaves significant gaps in understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 10 parameters with 0% description coverage, and the description adds no explanation for any parameter. The agent receives no semantic context beyond the schema defaults and field 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 clearly states the verb 'Add' and the resource 'new dynamic routing gateway', distinguishing it from sibling tools like drouting_add_carrier and drouting_add_rule. The optional reload trigger is also mentioned, adding specificity.

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?

No explicit guidance on when to use this tool versus alternatives. The description does not mention prerequisites, when-not-to-use, or distinguish from related tools like drouting_delete_gateway or drouting_update_gateway.

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