Skip to main content
Glama

Get Carrier Integration

getCarrierIntegration
Read-onlyIdempotent

Get one SIP trunk by integrationId (from listCarrierIntegrations, or the integrationId on a run's carrier field), with its routes, as in listCarrierIntegrations. Use when: a run says it went through a carrier route and you want to say which trunk. Read-only. Needs testing:read. Returns 404 if the trunk is not in your workspace.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "integrationId": "<integrationId>"
    },
    "name": "getCarrierIntegration"
  }
}

Input Schema

NameRequiredDescriptionDefault
integrationIdYes

Output Schema

NameRequiredDescriptionDefault
integrationYesOne of the workspace's own SIP trunks (bring-your-own-carrier, invite-only). Set up and managed by nopaque with you; read-only here. Credentials are never returned: `hasCredentials` says whether the trunk uses digest authentication.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds real context beyond them: the required 'testing:read' scope and the 404 behavior when the trunk is outside the workspace. 'Read-only' is redundant with readOnlyHint but does not contradict it; nothing is said about pagination or route volume, which is minor here.

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?

Front-loaded with the core action and ID source, then the use case, safety, scope, and error case in short clauses. A couple of phrases repeat ('as in listCarrierIntegrations' and the back-reference to the same tool), which costs a little density.

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 one-parameter read tool with an output schema and full annotations, the description covers action, ID source, use case, permission scope, and the 404 failure mode. Nothing an agent needs in order to call it correctly is absent.

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 0%, so the description must carry the single parameter, and it does by explaining the provenance of integrationId (from listCarrierIntegrations or a run's carrier field). It stops short of giving format or example values, but provenance is the meaningful gap it needed to close.

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?

States a specific verb and resource ('Get one SIP trunk by integrationId') plus the returned payload shape ('with its routes'), which distinguishes it from the list sibling listCarrierIntegrations. An agent can separate a single-trunk fetch from enumeration without opening the schema.

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?

Gives a concrete triggering scenario ('a run says it went through a carrier route and you want to say which trunk') and tells the agent where the ID comes from (listCarrierIntegrations or the carrier field on a run). No explicit when-not guidance, but the alternative source is named, leaving little ambiguity.

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.