Skip to main content
Glama
OpenSIPS

OpenSIPS MCP Server

Official
by OpenSIPS

cfg_migrate_plan

Analyze an OpenSIPS configuration file and report all changes, automatic rewrites, and manual steps required to migrate from one version to another, without altering the config.

Instructions

Report what a version migration would do, without rewriting the config.

Terraform-plan equivalent. Returns the ordered list of hops, every automatic rewrite, and every manual step / silent-gotcha warning.

Parameters

config_content: The current OpenSIPS configuration text. from_version: Current OpenSIPS version (e.g. 3.4). to_version: Target OpenSIPS version (e.g. 3.6).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
config_contentYes
from_versionYes
to_versionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Describes non-destructive behavior ('without rewriting'), outputs as ordered hops, automatic rewrites, manual steps, and warnings. With no annotations, provides solid behavioral context, though omits permissions or error scenarios.

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?

Short, front-loaded description with concise bullet-like parameter details. No superfluous text; every sentence adds value.

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?

Describes what the plan includes (hops, rewrites, manual steps, warnings), fitting for a planning tool. Output schema exists, so return format is covered elsewhere. Could specify output format, but acceptable.

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?

All three parameters (config_content, from_version, to_version) are explained with clear descriptions and examples (e.g., version formats). Since schema coverage is 0%, description fully compensates by adding meaning beyond the raw schema.

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 reports what a version migration would do without rewriting, using the strong analogy 'Terraform-plan equivalent'. Distinguishes from sibling 'cfg_migrate' which does the actual migration.

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?

Implied use case (preview migration impact), but no explicit when-not-to-use or comparison to alternatives like 'cfg_dry_run'. Missing guidance on prerequisites or condition checks.

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