Skip to main content
Glama

IDNTEQ tools

SIP response code lookup

sip_response_lookup
Read-onlyIdempotent

Looks up one SIP status code (100-699) in the IANA 'Session Initiation Protocol (SIP) Parameters' Response Codes registry: the registered reason phrase, the defining RFC and section (RFC 3261 §21 and later RFCs), a one-sentence meaning and, for common failures (401, 403, 404, 407, 408, 480, 486, 488, 491, 500, 503, 603), IDNTEQ's notes on usual causes. An unregistered code in range gets its class meaning. With type 'warning' it looks up a Warning header warn-code (RFC 3261 §20.43 and the IANA warn-codes registry). One code per call.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": 488
    },
    "name": "sip_response_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe status code, e.g. 486, or the warn-code, e.g. 305.
typeNo'response' for a status code, 'warning' for a Warning header warn-code.response

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds real context beyond that: the fallback for unregistered in-range codes (class meaning), the specific codes that carry IDNTEQ cause notes, and the one-code-per-call limit. It does not discuss error behavior for out-of-range or non-integer input, so it is helpful but not rich.

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 purpose and the returned fields are front-loaded, and the warning mode plus the one-code-per-call constraint close the description. The mid-sentence list of twelve common failure codes is dense and slightly slows scanning, but every clause carries information.

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?

There is no output schema, so the description must convey return values, and it does so explicitly: reason phrase, RFC and section, meaning, and conditional cause notes. With only two parameters, 100% schema coverage and full annotation coverage, nothing an agent needs to call this correctly is missing.

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?

Schema description coverage is 100%, so the baseline is 3; the description earns above that by tying 'type' to a distinct registry (RFC 3261 §20.43 warn-codes) rather than just restating the enum, and by clarifying that warn-codes share the same numeric parameter. It still doesn't spell out boundary behavior for codes outside 100-699.

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 ('Looks up') and a precisely bounded resource ('one SIP status code (100-699) in the IANA Response Codes registry'), and it enumerates what comes back (reason phrase, defining RFC/section, one-sentence meaning, IDNTEQ cause notes). It also names the alternate mode ('Warning header warn-code'), so an agent can tell it apart from lookups in other protocol families such as smpp_status_lookup.

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?

It states the condition that selects the non-default mode ('With type "warning" it looks up a Warning header warn-code') and imposes a clear batching constraint ('One code per call'). It does not name alternative tools or exclusions, but the SIP-domain framing makes the intended use 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.

Resources