Skip to main content
Glama

Sats4AI - Bitcoin-Powered AI Tools

open_voice_bridge

Open a phone call you drive one turn at a time: we dial, transcribe what the other side says, and speak whatever text you send. Requires create_payment with toolName='voice_bridge_open', phoneNumber, durationMinutes. Deposit is priced per destination off the carrier rate sheet and is BTC-pegged, so call create_payment for the exact figure; premium-rate and satellite ranges are refused. Then call voice_bridge_say to talk, poll_voice_bridge to read transcripts, end_voice_bridge to hang up. ⚠ Turn-based, NOT full-duplex conversation: after the callee stops talking, about 2 seconds pass before your reply starts to play, on top of your own model's thinking time: slower than the ~0.8s a natural back-and-forth needs. The callee cannot interrupt you while you speak. Pass filler (a short phrase such as 'One moment, please.') to cover a slow reply: we say it once if you have not started answering about 3.5 seconds after they stop. The loop: poll_voice_bridge with waitMs (e.g. 20000) returns when the callee has finished talking; answer with a short voice_bridge_say (one or two sentences); repeat. Good for: leaving a spoken message, a voice-driven IVR (keypad tones are not supported yet), reading something out, a slow exchange where a pause is fine, and a call whose content must never leave your side. For a real conversation with a human, use ai_call; for one-shot TTS or IVR playback, use place_call. Unused deposit time is refunded automatically when the call ends, including when the callee hangs up. Pass refundAddress (a Lightning address your user gave you; never invent one) and the remainder is SENT there with no further action; without it the refund is held as a claimable LNURL-withdraw link returned by end_voice_bridge. Privacy: transcripts held in memory only, garbage-collected 30 minutes after the call ends; call audio is never persisted. Pay with Bitcoin Lightning: no telecom account, no signup.

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": {
      "paymentId": "<paymentId>",
      "phoneNumber": "<phoneNumber>"
    },
    "name": "open_voice_bridge"
  }
}

Input Schema

NameRequiredDescriptionDefault
codecNoPCMU 8kHz (default, universal) or L16_16000 for HD voice when both endpoints support it
fillerNoOptional. A short phrase (at most 60 characters) we say ONCE when you are slow: if about 3.5 seconds pass after the callee stops talking and your voice_bridge_say has not started, the callee hears it, so they know you are still there. Example: "One moment, please." Write it in the callee's language. It is made while the phone rings and spoken in our default voice. It plays at most once until you speak again, the callee is not heard while it plays, and poll_voice_bridge then shows a filler_played event (do not say "one moment" yourself). Leave it out for a voicemail or a phone menu, where it is noise, and when you wait for long pauses (quietMs of several seconds): it would fire inside the pause and cut into their next words.
greetingNoSpoken the instant the callee answers (max 500 chars). Synthesized while the phone rings, so there is no pause before the first word — without it the callee hears silence until your first voice_bridge_say lands. Strongly recommended for any call a human answers.
languageNoBCP-47 language tag (default en-US). See /api/l402/voice-bridge/coverage for the matrix.
paymentIdYesValid payment ID from create_payment (toolName=voice_bridge_open)
sttEnabledNoDefault true. Set false for TTS-only broadcast calls.
ttsEnabledNoDefault true. Set false to bring-your-own-audio via voice_bridge_say.
phoneNumberYesDestination phone number in E.164 format (e.g., +14155550100)
refundAddressNoLightning address of YOUR user (for example name@wallet.com), only if the user gave you one. Never invent or guess an address: the refund is paid out at once and cannot be called back. The unused deposit is sent here when the call ends. With no address, or if that payment fails, the refund waits as an LNURL-withdraw link.
durationMinutesNoDeposit for N minutes, 2-30 (default 3). Unused time refunded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / refundAddress / description
      Previous value: -"Lightning address (e.g. you@wallet.com). Strongly recommended: the unused deposit is sent here automatically when the call ends, so nobody has to claim anything. Without it the refund waits as an LNURL-withdraw link."New value: +"Lightning address of YOUR user (for example name@wallet.com), only if the user gave you one. Never invent or guess an address: the refund is paid out at once and cannot be called back. The unused deposit is sent here when the call ends. With no address, or if that payment fails, the refund waits as an LNURL-withdraw link."
  2. Changed1 schema field changed
    • addedInput schema / properties / filler
      Added value: +{
      +  "description": "Optional. A short phrase (at most 60 characters) we say ONCE when you are slow: if about 3.5 seconds pass after the callee stops talking and your voice_bridge_say has not started, the callee hears it, so they know you are still there. Example: \"One moment, please.\" Write it in the callee's language. It is made while the phone rings and spoken in our default voice. It plays at most once until you speak again, the callee is not heard while it plays, and poll_voice_bridge then shows a filler_played event (do not say \"one moment\" yourself). Leave it out for a voicemail or a phone menu, where it is noise, and when you wait for long pauses (quietMs of several seconds): it would fire inside the pause and cut into their next words.",
      +  "maxLength": 60,
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / greeting
      Added value: +{
      +  "description": "Spoken the instant the callee answers (max 500 chars). Synthesized while the phone rings, so there is no pause before the first word — without it the callee hears silence until your first voice_bridge_say lands. Strongly recommended for any call a human answers.",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / refundAddress / description
      Previous value: -"Lightning address for automatic refund of unused time"New value: +"Lightning address (e.g. you@wallet.com). Strongly recommended: the unused deposit is sent here automatically when the call ends, so nobody has to claim anything. Without it the refund waits as an LNURL-withdraw link."
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations supply only openWorldHint, so the description carries the full burden and does so: it discloses that the deposit is per-destination, BTC-pegged, premium/satellite ranges are refused, unused time is auto-refunded including on callee hangup, and refunds go to refundAddress or else an LNURL-withdraw link from end_voice_bridge. It also states latency characteristics (~2s before reply plus model thinking vs ~0.8s natural), that the callee cannot interrupt, and that transcripts are memory-only and GC'd 30 minutes post-call while audio is never persisted.

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?

It is long, but front-loaded: purpose, payment prerequisite, then the say/poll/end loop, then the turn-based caveat, then alternatives, refund, and privacy. Nearly every sentence carries operational content; the main deduction is minor overlap with the schema's own filler and greeting descriptions, which are re-derived in prose rather than cross-referenced.

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 10-parameter, no-output-schema, annotation-poor tool this is complete: it covers prerequisites, the multi-tool loop, latency expectations, refund mechanics and their fallback, and data retention. The only uncovered surface, per-parameter meanings, is already fully documented in the schema.

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%, so the baseline is 3; the description still adds value by tying paymentId to create_payment with toolName='voice_bridge_open', framing durationMinutes as a refundable deposit priced off the carrier rate sheet, and warning that refundAddress must come from the user and never be invented. It does not re-explain codec, greeting, filler, or stt/tts flags, which the schema handles richly on its own.

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?

Opens with a specific verb and resource — 'Open a phone call you drive one turn at a time' — and immediately decomposes the mechanism (we dial, transcribe, speak your text). It explicitly separates itself from ai_call ('real conversation with a human') and place_call ('one-shot TTS or IVR playback'), so an agent can route without opening a schema.

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 an explicit 'Good for:' list (voicemail, IVR without keypad, reading out, slow exchanges, on-device-only content) plus named alternatives with the condition selecting each. It also spells out the operating loop (poll_voice_bridge with waitMs -> short voice_bridge_say -> repeat) and the prerequisite create_payment call, leaving little to inference.

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.