Skip to main content
Glama

Search SIP / VoIP documentation (RAG)

search_sip_docs
Read-only

[cost: rag (one embed + one vector search) | read-only, network: outbound to embed model only]

Vector search over Sipflow's curated VoIP knowledge base: vendor docs (Asterisk, FreeSWITCH, Kamailio, OpenSIPS, Twilio, Cisco, etc.), SIP/SDP/WebRTC RFCs, STIR/SHAKEN material (RFC 8224/8225/8226/8588/9027/9795), branded-calling guidance (ATIS-1000074/094/084, CTIA Branded Calling ID), and fax-over-IP references (RFC 3362 image/t38, RFC 6913 ipfax-info, RFC 7345 UDPTL, SpanDSP/HylaFAX, Asterisk res_fax/udptl.conf, FreeSWITCH mod_spandsp/t38_gateway, Cisco CUBE T.38).

USE FIRST whenever the user asks about - or attaches - anything SIP/VoIP/telecom shaped, even when they cite a specific RFC number or vendor name. The corpus has the current text and your training data may not. Trigger conditions: vendor configs (kamailio.cfg, sip.conf, pjsip.conf, FreeSWITCH XML profile, opensips.cfg, res_fax.conf / udptl.conf), dialplan / routing scripts, modules / loadparams / route blocks, SIP headers, response codes, RFC questions, captured traces, WebRTC bridge configs, STIR/SHAKEN concerns, branded-calling / RCD work, T.38 / T.30 fax decoding or reinvite failures.

Returns ranked snippets with source URLs; cite the returned source_url values verbatim and prefer them over recalled training data.

Examples of when to use:

  • "does this kamailio.cfg look standard for WebRTC + SIP users?"

  • "why would Asterisk PJSIP reject this re-INVITE?"

  • "what does Kamailio's loose_route() do? show me docs"

  • "explain FreeSWITCH session-timer behavior"

  • "how do I set up STIR/SHAKEN signing on OpenSIPS?"

  • "what does ATIS-1000074 say about A-level attestation?"

  • "RFC 9795 rcdi JSON pointer canonical form"

  • "CTIA Branded Calling ID requirements for originating SP"

  • "RFC 8225 PASSporT canonical JSON / lexicographic key ordering"

  • "why is my T.38 reinvite getting 488 from a Cisco CUBE?"

  • "Asterisk res_fax_spandsp ECM and rate-management knobs"

  • "what are the required SDP attributes for m=image udptl t38?"

Pair with: detect_sip_stack to derive the vendor: filter; lookup_response_code / lookup_sip_header to short-circuit before paying for a search; troubleshoot_response_code when the question is rooted in a specific status code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of snippets to return (1-15).
queryYesNatural-language question or keywords. Be specific - include vendor name, header, error code, module, or RFC if known. Multi-sentence queries are fine.
vendorNoRestrict results to a single vendor/stack (e.g. "asterisk", "kamailio"). Omit to search all vendors.
sourceTypeNoRestrict by document type. Available: rfc | pbx (Asterisk/FreeSWITCH/Kamailio/OpenSIPS) | sbc (SBCs) | cpaas (Twilio/Telnyx/...) | uc-cloud (Teams/Zoom/...) | endpoint (phones/softphones) | stir-shaken | transport (RTP/SRTP/DTLS/ICE/STUN/TURN RFCs) | regulatory | observability.

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description adds meaningful extra context: cost (one embed + one vector search), network direction (outbound to embed model only), return behavior (ranked snippets with source URLs), and an instruction to cite source_url verbatim. It also warns that the corpus has current text that training data may not, adding important reliability context.

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 long but every sentence is information-dense. It is front-loaded with a cost/network/read-only summary, then organized into corpus scope, trigger conditions, return behavior, examples, and tool-pairing guidance. The structure makes the length justified for a tool with many trigger categories and no filler.

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 RAG search tool with no output schema, the description fully covers what is searched, when to use it, what it returns, and how to cite sources. It also references alternative tools and the optional vendor filter, leaving no obvious gaps for an agent to misuse the tool.

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

Parameters3/5

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

Schema description coverage is 100%, so the description doesn't need to restate parameter meanings. It adds only mild context, such as using detect_sip_stack to derive the vendor filter and illustrating query specificity with examples, but the schema already instructs users to include vendor/header/code/RFC. Baseline 3 is appropriate because the schema carries the semantic load.

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 opens with 'Vector search over Sipflow's curated VoIP knowledge base' and enumerates the corpus (vendor docs, RFCs, STIR/SHAKEN, branded-calling, fax-over-IP). It clearly distinguishes this RAG search from sibling lookup tools by stating 'USE FIRST whenever the user asks about - or attaches - anything SIP/VoIP/telecom shaped' and naming alternatives in the Pair-with line.

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 'USE FIRST whenever' guidance plus extensive trigger conditions: vendor configs, dialplan/routing scripts, SIP headers, response codes, RFC questions, captured traces, STIR/SHAKEN, and T.38 fax issues. It also provides 13 concrete examples and explicitly says to pair with detect_sip_stack, lookup_response_code/lookup_sip_header to short-circuit, and troubleshoot_response_code for status-code-rooted questions, covering when-not-to-use.

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.