Skip to main content
Glama
OpenSIPS

OpenSIPS MCP Server

Official
by OpenSIPS

subscriber_bulk_import

Import subscribers from CSV with conflict handling: skip duplicates, overwrite, or abort. Dry run to preview changes before committing.

Instructions

Import subscribers from a CSV blob with conflict handling.

Expected CSV header: username,domain,password[,email_address][,rpid]. Extra columns are ignored. Blank/comment (#-prefixed) lines are dropped. Caps at 5000 rows per call — split larger imports.

Parameters

csv_content: Full CSV text including header row. dry_run: When True (default), parse and validate but do not write. Use this first so you can review the plan before committing. on_conflict: skip (default) — leave existing (username, domain) alone and report them in skipped. overwrite — update password / attributes on existing rows. error — abort on first collision; nothing is committed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
csv_contentYes
dry_runNo
on_conflictNoskip

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Discloses key behaviors: import is a write operation, conflict handling, dry run validation without writing, and row caps. Missing details on authentication or error handling for malformed CSV beyond blank/comment lines, but adequate given no annotations.

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?

Concise and well-structured: a brief header, bulleted CSV format rules, and a clear parameter list. Every sentence adds value, no redundancy.

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

Completeness5/5

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

Covers all necessary aspects for an agent: input format, parameters, conflict handling, and limits. Since an output schema exists, return value details are not needed. Complete for the tool's complexity.

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

Parameters5/5

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

Despite 0% schema description coverage, the description thoroughly explains each parameter: csv_content (full CSV text), dry_run (default true, parse only), on_conflict (skip/overwrite/error). Adds essential meaning 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 clearly states the tool's function: 'Import subscribers from a CSV blob with conflict handling.' It uses a specific verb (import) and resource (subscribers), and distinguishes from sibling tools like subscriber_create (single) and subscriber_bulk_export.

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?

Provides explicit guidance on CSV format, row limit (5000), conflict handling options, and recommends using dry_run first. However, it does not explicitly contrast with alternative tools for single subscriber operations.

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