Skip to main content
Glama
OpenSIPS

OpenSIPS MCP Server

Official
by OpenSIPS

cfg_tune

Generate a capacity-tuned override snippet for opensips.cfg by answering five questions about your workload, providing paste-ready lines with explanatory comments.

Instructions

Generate a PGTune-style capacity-tuned override snippet.

Ask the user five questions about their workload, return a small paste-ready set of overrides with a # why: comment on every line. Intended to be merged into an existing opensips.cfg — it is NOT a full configuration.

Parameters

role: One of edge, registrar, lb, b2bua, sbc, presence, generic. cpu_cores: Physical or allocated CPU cores. memory_mb: RAM in megabytes available to OpenSIPS. cps: Expected peak calls per second. concurrent_calls: Expected peak concurrent calls. tls: True if TLS / WSS traffic is significant. nat: True if the deployment handles heavy NAT'd clients. ha: True if deployed active-active / clustered. registrations: Expected concurrent registered AoRs (registrar role).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleNogeneric
cpu_coresNo
memory_mbNo
cpsNo
concurrent_callsNo
tlsNo
natNo
haNo
registrationsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Describes the output and purpose, but the mention of 'Ask the user five questions' may be misleading since parameters are provided; lacks details on side effects or interactivity.

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 relatively long with a separate Parameters section that repeats defaults; could be more concise despite front-loading the purpose.

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

Completeness3/5

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

Covers overview and output format, but missing error handling or validation details; output schema exists so return values are covered, but overall completeness is adequate but not thorough.

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

Parameters4/5

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

With 0% schema coverage, the description adds meaningful explanations for each parameter (e.g., role options, TLS significance), compensating well for the lack of schema 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?

Clearly states it generates a PGTune-style capacity-tuned override snippet for OpenSIPS config, distinguishing it clearly from sibling cfg_* tools.

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

Usage Guidelines4/5

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

Explains the snippet is meant to be merged into an existing config and is NOT a full configuration, but does not explicitly list when not to use it or alternatives.

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