Skip to main content
Glama

Sats4AI - Bitcoin-Powered AI Tools

ai_call

Destructive

When a task needs a human (booking, negotiating, an IVR menu, information from a business), send an AI voice agent to make the call. It follows your instructions, holds a real two-way conversation and returns the transcript with a structured analysis. Requires create_payment with toolName='ai_call', phoneNumber and durationMinutes; priced per destination and duration: create_payment returns the exact amount before you pay. Async: poll check_job_status(jobType='ai-call'). May return state='pending_confirm' with questions when critical info is missing: call confirm_ai_call to proceed. One redial, 2 minutes later, if nobody answers, a voicemail answers, the line is busy or the call drops within 30 seconds. No redial after the person speaks and hangs up, asks to stop or opts out, or after the agent leaves a voicemail message. A person who asks not to be called again is added to our do-not-contact list. The redial runs on the deposit's unused minutes (none left: no redial), and a connected redial bills at least 1 minute. Not for: your own LLM driving the call (open_voice_bridge), a one-way spoken message (place_call), SMS (send_sms). The agent says it is a virtual assistant calling for a client, and answers questions about the service if the recipient asks. At the end of a normal call it asks the recipient for permission to share the recording; without a clear yes, the recording is deleted and never returned. No impersonation, scams, threats, harassment, credential theft, unsolicited bulk messages, or contact after an opt-out. Answering a call does not establish consent. We screen requests after payment. Held messages and calls are not sent or placed; payment is retained during review, not refunded immediately. Confirmed violations are not refunded. Unresolved communication holds become eligible for a refund after 24 hours; refund eligibility is processed by scheduled maintenance. Human review costs 1 sat at https://sats4ai.com/appeal. What we keep, and for how long: https://sats4ai.com/terms

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>",
      "task": "<task>"
    },
    "name": "ai_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesInstructions for the AI agent (what to say, ask, or accomplish)
languageNoLanguage the agent should speak to the called party. Pass this when you know the destination's preferred language (e.g. calling a French pizzeria → fr-FR, a Japanese restaurant → ja-JP). If omitted, we guess from the destination country: +33 → fr-FR, +49 → de-DE, +34 → es-ES, etc. Bilingual regions (Canada, Belgium, Switzerland, Singapore) and unknown countries default to en-US — override explicitly when you need a non-English language in those regions. Voice is auto-selected per language.
paymentIdYesValid payment ID (must be paid)
phoneNumberYesPhone number in E.164 format (e.g., +14155550100)
beginMessageNoOptional opening line for the agent
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.
durationMinutesNoMax call duration 1-10 minutes (default: 3)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / refundAddress
      Added value: +{
      +  "description": "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.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare openWorldHint and destructiveHint; the description goes far beyond by disclosing the redial policy and its exact exceptions, do-not-contact consequences, recording-permission flow with deletion on no-consent, screening after payment, refund retention and 24-hour hold rules, and the paid appeal path. It also discloses agent self-identification and consent semantics, which materially affect whether an agent should invoke this tool.

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?

Purpose and prerequisites are front-loaded and every policy sentence carries operational weight, but the back half is a dense policy wall (holds, appeals, retention) that would scan better as grouped clauses. Length is justified by compliance surface, yet it is heavier than an agent strictly needs at call time.

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?

No output schema exists, so the description carries the return burden and does: transcript plus structured analysis, async polling via check_job_status, and a pending_confirm state with a named resolution tool. For a destructive, payment-gated, human-facing call tool, nothing an agent needs to invoke it safely 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?

With 100% schema coverage the schema already defines all seven parameters, but the description adds workflow meaning the schema cannot: paymentId must come from create_payment with toolName='ai_call', and durationMinutes drives pricing with the exact amount returned before payment. It does not restate the language or refundAddress semantics, which is fine given full schema coverage.

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: "send an AI voice agent to make the call" for human-requiring tasks like booking, negotiating, or IVR menus. It explicitly contrasts itself with open_voice_bridge (own LLM driving), place_call (one-way message), and send_sms, so an agent can route correctly without inspecting other schemas.

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?

Gives explicit when-to-use framing (booking, negotiating, IVR, business info) plus a dedicated "Not for" list naming each alternative and the condition that selects it. It also specifies the prerequisite chain: create_payment with toolName='ai_call', then poll check_job_status(jobType='ai-call'), and call confirm_ai_call if state='pending_confirm'.

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.