Skip to main content
Glama
OpenSIPS

OpenSIPS MCP Server

Official
by OpenSIPS

dlg_push_var

Push a variable into an active dialog by providing Call-ID, From-tag, variable name, and value. Dynamically update dialog state without needing to restart.

Instructions

Push a variable into an active dialog.

Parameters

callid: The Call-ID of the target dialog. from_tag: The From-tag of the target dialog. var_name: Name of the dialog variable to set. var_value: Value to assign to the variable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
callidYes
from_tagYes
var_nameYes
var_valueYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations exist, and the description fails to disclose key behavior: what happens on invalid callid, whether existing variables are overwritten, side effects, or error handling. Minimal transparency.

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 short and uses a bullet list for parameters, but it could be more concise by integrating the parameter list into a single flow. Still, it avoids unnecessary text.

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?

Given the tool's simplicity (4 params, all strings) and presence of an output schema, the description lacks information on return value, error states, and success conditions. Incomplete for an agent to use reliably.

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?

Schema description coverage is 0%, and the description merely restates parameter names without adding any meaning (e.g., format, constraints, dependencies). The parameter list is copied from schema with no extra value.

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 'Push a variable into an active dialog' uses a specific verb ('Push') and resource ('variable into an active dialog'), clearly distinguishing it from sibling dialog tools like dlg_end, dlg_list, and dlg_get_profiles.

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

Usage Guidelines1/5

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

No guidance provided on when to use this tool vs alternatives, prerequisites (e.g., dialog must be active), or scenarios to avoid. Completely lacking usage context.

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