Skip to main content
Glama

Hydrate a Sipflow share link into the conversation

fetch_sipflow_share
Read-only

[cost: external_io (Mongo + S3 fetch on the Sipflow backend) | read-only, no persistence | rate limit: shared with the public share endpoint]

Given a Sipflow share URL (https://sipflow.dev/share/, or any sipflow.dev subdomain that serves /share/), load the shared SIP trace AND any prior AI analysis attached to it in a single round trip. Use this whenever a user pastes a /share/<token> URL: the tool fetches the redacted trace text, the AI executive summary / root-cause / remediation steps (if present), and metadata (vendor, filename, source format, pseudonymized flag), so the agent can review the trace alongside the user's own configs without manual download + paste.

In addition to the AI output, the response includes rule-based diagnostics: detected issues (severity-tagged SIP/SDP/media problems with RFC references), WebRTC signal checklist scores, multi-leg call correlation (Session-ID grouping), and detected SIP stacks (User-Agent/Server header values). These diagnostics are computed at share-creation time; for older shares without persisted diagnostics, the tool parses the trace on the fly.

When the share includes media quality data (from PCAP-sourced captures), the response includes per-call MOS/jitter/loss summaries in the text output and full mediaQuality stats in structuredContent. If hasRawCapture is true, the sharer included their original PCAP for full RTP playback on the web UI - this raw binary is not returned to agents.

Privacy: the share endpoint deliberately strips the original problem and architecture fields the sharer typed in (those may contain customer-internal context). This tool returns the same public projection - only the trace, the AI output, diagnostics, and basic metadata. Traces are pseudonymized by default (phone numbers / IPs / Call-IDs replaced with consistent fakes); the pseudonymized field tells you whether the sharer opted to keep raw values.

Trace bytes are capped at 200kB (matching the budget the Sipflow AI worker uses). For very large captures the response sets trace.truncated=true - pair with minimize_sip_trace to compact further before passing to your own LLM, or with render_sip_ladder to visualize the call flow.

Pair with: review_sip_config to compare the shared trace against the user's own kamailio.cfg / pjsip.conf / FreeSWITCH XML; render_sip_ladder to draw the shared call flow inline; minimize_sip_trace if trace.truncated is true; troubleshoot_response_code for any failing transactions surfaced in the AI analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull Sipflow share URL. Example: "https://sipflow.dev/share/eyJqb2JJZCI6Ii4uLiJ9.abc123". The path must be /share/<token>; /api/share/... endpoints are not accepted.

TDQS

A4.8/5.0
Behavior5/5

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

The description goes far beyond the readOnlyHint/openWorldHint annotations by detailing cost, rate limits, no persistence, privacy projection (stripped fields, pseudonymization), trace size cap with truncation flag, and that raw PCAP is not returned to agents. It also explains the dual behavior of using persisted diagnostics vs. parsing on the fly. This fully discloses behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but front-loaded with a concise cost/read-only/rate-limit banner, then moves from core behavior to details and pairings. Every section serves a purpose for a complex tool; however, the length is substantial and some details (e.g., media-quality explanation) could be trimmed without losing essential guidance. Still well-organized.

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?

For a tool with no output schema, the description thoroughly inventories what the agent can expect: trace text, AI analysis, metadata, rule-based diagnostics, media quality stats, truncation, raw-capture exclusion, and privacy projection. It also gives practical next-step tool pairings, making the response complete enough for an agent to decide and act correctly.

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 already provides a detailed description for the url parameter (full URL, path must be /share/<token>, not /api/share). The tool description adds useful semantic context about accepted URL forms ('any sipflow.dev subdomain') and what the tool does with the URL, but the parameter itself is already well-covered by the schema. Baseline is 3, and the added subdomain detail and context raise it to 4.

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 uses specific verbs ('load', 'fetch', 'hydrate') and clearly identifies the resource: a Sipflow share URL. It distinguishes the tool from siblings by stating its unique role: fetching shared SIP traces plus AI analysis in one round trip, and explicitly names sibling tools for different purposes (e.g., render_sip_ladder, review_sip_config).

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

Usage Guidelines5/5

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

The description gives explicit when-to-use guidance: 'Use this whenever a user pastes a /share/<token> URL.' It also frames alternatives and complementary tools ('Pair with: review_sip_config... minimize_sip_trace... troubleshoot_response_code'), clarifying the tool's role relative to siblings. It does not need an explicit when-not because the positive trigger is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.4/5.0
Disambiguation4/5

Most tools have clearly distinct purposes. The only notable overlap is between detect_sip_stack and detect_sip_vendor_from_config, which could cause confusion. Otherwise, each tool covers a unique aspect of SIP debugging.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (e.g., compare_sdp_offer_answer, detect_sip_stack, validate_stir_shaken_identity). No mixing of styles.

Tool Count4/5

22 tools is slightly above the typical 3-15 range, but each tool serves a specific and necessary function for comprehensive SIP debugging. The count is justified by the server's broad scope.

Completeness4/5

The tool set covers a wide range of SIP debugging tasks: parsing, diffing, DNS, STIR validation, config review, codec comparison, etc. Minor gaps exist (e.g., no dedicated RTP analysis tool), but core workflows are well-supported.