Skip to main content
Glama
Ringer

warp-mcp

by Ringer

Create a trunk

trunk_create

Create a new trunk group with authentication mode and per-direction capacity limits. Capacity of 0 disables inbound or outbound calls.

Instructions

Create a new trunk group on your account. Enforces your account's allowed number-classes and per-direction capacity ceilings (check acct_get_capacity first). Note: a capacity of 0 means 'direction disabled' — calls in that direction are rejected with 503 + Retry-After. Errors: NO_ACTIVE_CUSTOMER, INVALID_PAYLOAD, VALIDATION_ERROR, INTERNAL_ERROR.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesTrunk name (required)
auth_typeYesAuthentication mode: IP_ACL (source-IP allowlist), DIGEST (SIP username/password), EITHER, or BOTH
sip_configNoSIP config object persisted as JSONB (e.g. { codecs: [...], dtmf_mode: '...' }). The customer portal only writes codecs and dtmf_mode; other keys are admin-surface.
descriptionNoFree-text description of the trunk
capacity_cps_inboundNoMax inbound calls-per-second. 0 is valid and means the direction is disabled (runtime gate returns 503 + Retry-After)
capacity_cps_outboundNoMax outbound calls-per-second; 0 disables outbound
allowed_number_classesNoNumber classes this trunk may carry (must be within the account's allowed classes)
capacity_channels_inboundNoMax concurrent inbound channels; 0 disables inbound
capacity_channels_outboundNoMax concurrent outbound channels; 0 disables outbound
Behavior4/5

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

Annotations indicate this is not read-only, not idempotent, and not destructive. The description adds valuable context: it enforces account-level constraints, capacity 0 disables direction, and lists possible error codes. This goes beyond the annotations, though it could mention persistence or side effects more explicitly.

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 highly concise: two sentences covering the main action, a crucial usage hint, a behavioral note, and a list of error codes. No unnecessary words; front-loaded with the primary purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (9 parameters, nested objects), the description covers the core behavioral aspects, includes error handling, and mentions prerequisites. However, it does not describe the return value (e.g., the created trunk object or ID), which would be helpful since no output schema exists.

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 includes descriptions for all 9 parameters (100% coverage). The description restates some of this (e.g., capacity 0 meaning disabled), but does not add substantial new semantic value beyond what the schema provides. Baseline 3 is appropriate.

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 verb 'Create' and the resource 'a new trunk group on your account.' It effectively distinguishes this tool from sibling tools like trunk_delete, trunk_update, and trunk_list by specifying that this is for creation.

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?

The description provides a prerequisite check ('check acct_get_capacity first') and explains the implication of setting capacity to 0. However, it does not explicitly state when not to use this tool or directly compare to alternatives, which would elevate it to a 5.

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