Skip to main content
Glama

Look up a SIP response code (instant, RFC-cited)

lookup_response_code
Read-only

[cost: free (pure CPU, no network) | read-only]

Instant static lookup of a SIP response code (100-699). Returns name, RFC anchor, category, description, common operator-flavored causes, and known vendor-specific reason-phrase variants (e.g. OpenSIPS emits 484 'Invalid FROM' on From-header parse failure).

USE FIRST when the user pastes or asks about any 3-digit SIP code - sub-millisecond, no API cost.

Pair with: troubleshoot_response_code for vendor-specific RAG hits beyond the static entry; lint_sip_request when the code is 4xx and the user has the offending request; stir_attestation_explainer for STIR-shaped codes (428/436/437/438/608); validate_stir_shaken_identity when the code is 438 and they have the JWS.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesSIP response code (e.g. 488 for Not Acceptable Here).

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false. The description adds context beyond these: cost (free, pure CPU), no network, sub-millisecond performance, static nature, and the type of data returned (name, RFC anchor, category, etc.). It does not contradict annotations, and the added speed/cost details are valuable.

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 efficiently structured: a cost/read-only tag, a single-sentence purpose, a clear 'USE FIRST' directive, and a compact paired-tools list. Every sentence serves a distinct purpose without verbose padding.

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 simple, single-parameter, read-only lookup with no output schema, the description is complete. It explains what the tool returns, when to use it, and how it relates to other tools. No additional behavioral or return-value detail is necessary.

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?

The input schema already fully documents 'code' with type, range (100-699), and an example. The description adds marginal value by mentioning that the code maps to name/RFC category and gives a vendor-specific example (OpenSIPS 484), but these do not significantly extend the parameter's meaning beyond the schema's coverage.

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 a specific verb and resource: 'Instant static lookup of a SIP response code (100-699).' It clearly states the tool's scope and differentiates from siblings like troubleshoot_response_code (RAG hits) and lookup_sip_header (header lookup).

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?

Provides explicit guidance: 'USE FIRST when the user pastes or asks about any 3-digit SIP code.' It also lists paired tools with specific conditions (e.g., lint_sip_request for 4xx with offending request, validate_stir_shaken_identity for 438 with JWS), which fully covers when to use this tool vs alternatives.

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.