Skip to main content
Glama
OpenSIPS

OpenSIPS MCP Server

Official
by OpenSIPS

homer_export_pcap

Export captured SIP messages for a specific Call-ID as a pcap file. Specify the call ID and time window to retrieve raw packet bytes for in-depth analysis with Wireshark.

Instructions

Request a pcap export of the captured SIP messages for callid.

Homer 7 exposes /api/v3/export/call/messages/pcap. This tool returns the pcap bytes (base64-encoded if the response is binary) so an operator can save them and open in Wireshark. Useful when the SIP ladder by itself is not enough and you need to see the raw bytes (e.g. malformed headers, weird encoding).

Parameters

callid: Exact SIP Call-ID. from_ts, to_ts: Time window (Unix milliseconds).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
callidYes
from_tsYes
to_tsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations provided, so description carries full burden. It explains return format (pcap bytes, optionally base64-encoded) and use in Wireshark. Lacks info on side effects, auth needs, or errors.

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?

Four short sentences plus parameter list. No fluff, front-loaded with main action, then details. 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?

Covers purpose, usage, output format, and parameter semantics. Output schema exists, so return values are covered. Minor gap: doesn't mention prerequisites like call existence or error scenarios.

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 coverage, description explains each parameter: callid as exact SIP Call-ID, from_ts/to_ts as Unix millisecond time window. Adds significant meaning beyond 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 the tool exports captured SIP messages as pcap for a given callid. Distinguishes from sibling tools like homer_get_call_flow by specifying use case for raw bytes.

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?

Explicitly says to use when SIP ladder is not enough for raw byte inspection. Implies alternative, though doesn't name homer_get_call_flow directly.

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