Skip to main content
Glama
Ringer

warp-mcp

by Ringer

Update a trunk endpoint

trunk_update_endpoint
Idempotent

Update a dispatcher endpoint on an owned trunk by providing host, port, transport, or a raw SIP URI. Include trunk ID and endpoint ID to modify priority, weight, or enabled status.

Instructions

Update a dispatcher endpoint on an owned trunk (structured host/port/transport fields or a raw_uri). Returns HTTP 207 with a warning when the Kamailio sync is deferred. Use trunk_list_endpoints first to find the endpoint id. Step-up MFA required. Errors: NO_ACTIVE_CUSTOMER, INVALID_ID, NOT_FOUND, INVALID_PAYLOAD, VALIDATION_ERROR, INTERNAL_ERROR.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNoSIP destination hostname or IP (structured form; mutually alternative to raw_uri)
portNoSIP destination port (e.g. 5060)
weightNoLoad-balancing weight among endpoints of the same priority
enabledNoWhether the endpoint is active in the dispatcher
raw_uriNoRaw SIP URI (alternative to structured host/port/transport, e.g. sip:pbx.example.com:5061;transport=tls)
priorityNoFailover priority (lower is tried first)
trunk_idYesTrunk group UUID (find it with trunk_list)
transportNoSIP transport protocol
descriptionNoFree-text label for the endpoint
endpoint_idYesEndpoint ID (integer, find it with trunk_list_endpoints)
Behavior5/5

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

Discloses HTTP 207 with a warning when Kamailio sync is deferred, and lists six specific error codes. This adds behavioral context beyond annotations (which indicate idempotent and non-destructive mutation). No contradiction with annotations.

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?

Three sentences, front-loaded with the core action, followed by prerequisite, MFA requirement, and error listing. No wasted words.

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?

Covers all essential aspects: operation, parameter distinction, prerequisite, security, asynchronous behavior (deferred sync), and errors. No output schema is needed for this update tool.

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 coverage is 100%, but the description adds value by grouping parameters into structured vs raw_uri and hinting at mutual exclusivity. It also briefly explains the purpose of weight, priority, and enabled, though the schema already covers these.

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 clearly states the action (Update), the resource (a dispatcher endpoint on an owned trunk), and specifies the two forms (structured host/port/transport fields or raw_uri), distinguishing it from sibling tools like trunk_create_endpoint or trunk_delete_endpoint.

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?

Provides explicit prerequisite (use trunk_list_endpoints to find endpoint_id) and a security requirement (Step-up MFA). Mentions the structured vs raw_uri alternative but does not explicitly compare to other sibling tools or give exclusion criteria.

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/Ringer/warp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server