Skip to main content
Glama
OpenSIPS

OpenSIPS MCP Server

Official
by OpenSIPS

snapshot_diff

Compute differences between two OpenSIPS snapshots to surface changes in statistics, processes, dispatcher states, and cluster-node status, omitting unchanged keys for a compact diff.

Instructions

Diff two snapshots and surface the deltas.

Computes per-stat deltas (after - before), flags processes that appeared or disappeared, dispatcher / load_balancer state changes, and cluster-node status flips. Unchanged keys are omitted by default.

Parameters

before_path: Path to the baseline snapshot JSON. after_path: Path to the comparison snapshot JSON. show_unchanged: If True, include keys whose values did not change. Default False — diff output stays compact.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
before_pathYes
after_pathYes
show_unchangedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden. It clearly states what the tool does (computes deltas, flags changes) and the default behavior of omitting unchanged keys. It does not contradict any annotations, as there are none.

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 concise and well-structured: a brief intro followed by a clear parameter list. Every sentence adds value, and the format is front-loaded.

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's moderate complexity and the presence of an output schema (though not detailed), the description is fairly complete. It explains inputs and behavior, but lacks explicit details about the output format, which is a minor gap.

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?

The schema has 0% description coverage, so the description must compensate. It explains all three parameters (before_path, after_path, show_unchanged) with their meaning and default value, adding significant value beyond the 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?

The description explicitly states the tool's purpose: 'Diff two snapshots and surface the deltas.' It lists specific deltas computed (per-stat diffs, process appearance/disappearance, state changes), distinguishing it from sibling tools like 'snapshot_capture' and 'snapshot_list'.

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 implies usage (when you need to compare snapshots) but does not explicitly guide when to use this tool vs alternatives or when not to use it. No exclusions or prerequisites are mentioned.

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