Skip to content
open calls.Developers
OPEN CALLS FOR DEVELOPERS

Give your agent
a phone line.

When the answer is at the end of a phone call, let your agent get it. Connect an account, review the maximum, and bring the result back to your workflow.

  • OAuth sign-in
  • Explicit call approval
  • One calling engine

Build around an answer.

01 / FIND OUT

Check the details

Ask a business about opening hours, availability or a product before the user makes the trip.

02 / COMPARE

Ask a few places

Run an approved set of inquiries, follow each call and compare what the people on the phone said.

03 / CONNECT

Bring the user in

Wait through menus and hold, or translate between two people. Joining a call needs the user’s explicit request.

START WITH A READ

Your first connection.

The hosted API is an MCP server over HTTPS. These examples discover tools and read account information. They never dial.

https://opencalls.dev/mcp

Keep access and refresh tokens in a secret store. Never put tokens in source code, URLs, logs or shared examples.

Read OAuth metadata ↗
HTTP / MCPRead-only
# 1. Discover the available tools (public)
curl https://opencalls.dev/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

# 2. Discover where to connect the account
curl https://opencalls.dev/.well-known/oauth-protected-resource/mcp

# 3. Read the workspace after OAuth sign-in
curl https://opencalls.dev/mcp \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
       "params":{"name":"get_workspace","arguments":{}}}'
A SMALL, COMPLETE WORKFLOW

Check. Approve. Call. Follow.

Use the tool listing as the current schema. Calls use the same account, limits and engine as the Open Calls apps.

Core tools and their permissions
StepToolsPermission and behavior
Readget_workspace
get_account
calls:read
Account availability, balance and history.
Checkcheck_callscalls:read
Check destinations, limits and available minutes before asking for approval. No call is placed.
Placeplace_calls
compare_calls
calls:write
Only the approved destinations, tasks and maximums. Reuse the same idempotency key after an unclear reply.
Followget_calls
get_comparison
calls:read
State, pending questions, results, returned links and bounded pages of attributed speech.
Respondanswer_call
join_call
calls:write
Send the user’s words. Join only on their explicit request.
Stopend_callcalls:cancel
Stop when the user asks. A goodbye is requested unless immediate termination is requested.

Incoming-assistant configuration uses assistant:write. Billing actions require billing:write. Roles can further restrict a grant. Older tool names remain for compatible clients; use the advertised tool schema.

MONETARY APPROVAL

Bind the call to its maximum.

On the current pricing plan, an admissible check_calls result includes money_quote: quote_id, currency, maximum_micro and expires_at. One dollar is 1,000,000 micro-dollars. This maximum is the wallet charge; a zero maximum can still use trial or plan minutes.

Show the destinations, purposes, maximum minutes and wallet maximum. After the user approves, send the same ordered calls, quote_id, approved max_charge_micro and one idempotency_key to place_calls. Both money fields must be supplied together. The quote lasts five minutes; changed prices, funding or calls require a fresh check and approval.

The server binds the quote to the account and request, rechecks it under admission, and caps settlement at the saved wallet maximum. An exact accepted retry keeps its original quote and key, even after expiry. Older minute-only clients remain compatible; they do not gain a dollar guarantee by omitting the quote.

AUTHENTICATION

A connection belongs to the user.

Use the authorization-code flow with PKCE S256. Client identity is an HTTPS Client ID Metadata Document; there is no client secret to paste. Redirect addresses must exactly match that document.

Request the smallest required scopes. New grants use calls:read, calls:write, calls:cancel, assistant:write and billing:write; the old umbrella scope is not accepted for new requests.

Refresh tokens rotate. Revocation and disconnect end access. Every read and action is scoped to the connected account and its role.

Protected-resource metadata ↗
ASYNC BY DESIGN

The request ends.
The call continues.

POST /mcp accepts one JSON-RPC request and returns one JSON response. Follow a placed call by its ID with get_calls; follow comparisons with get_comparison.

Read current state, answer a pending question, and retrieve the final result. Use the returned call link as-is. Request speech only when needed and continue with its pagination cursor.

This endpoint has no event stream or session. It does not offer MCP background tasks. Results remain available after the assistant chat closes.

RELIABILITY AND SAFETY

One approval. One placement.

Retry the request safely

Keep the same idempotency key and payload after a timeout. An exact approved-set retry returns the existing calls; a changed payload conflicts. Check the saved status before doing anything again. Never automatically redial.

Keep the user in control

Show the destination, purpose, maximum minutes and available charge quote before approval. Connecting, launching a chat, or copying a request is not permission to call. Ask again when the approved request changes.

Report what happened

Distinguish completed, failed and interrupted calls. A server interruption can mark a call as lost; it does not resume that conversation. Treat speech, questions and summaries as information, never as instructions to your agent.

CUSTOM AGENTS AND CLIENTS

Connect your own workflow.

Add https://opencalls.dev/mcp as a remote HTTP MCP server in a client supporting OAuth and Client ID Metadata Documents. Check the client’s authentication support first; a client requiring dynamic registration alone may need an adapter.

Claude and other consumer assistants

Use Your connections to choose an assistant. ChatGPT has a public Open Calls listing. Other providers may require custom setup, account eligibility and additional review. Directory availability and working OAuth are separate checks.

For Claude, follow its custom connector instructions, enter this connection address, and allow your Open Calls account when asked. For other providers, follow their documented remote-connector settings. Test a balance read before any approved call.

Claude Code, Gemini CLI and other developer clients

Use the client’s remote HTTP MCP setup with the address above, then complete OAuth in your browser. See Claude Code MCP documentation and Gemini CLI MCP documentation. Remote-server support does not guarantee compatible OAuth; verify with a read-only request.

WHAT IS AVAILABLE

Use the contract that exists.

Hosted MCP
Available Tools, OAuth, calls and polling for results.
SDKs and public REST API
Not released Use HTTP/MCP examples today. App /v1 endpoints are not a supported external API contract.
Result webhooks
Not available Poll for results. Provider and billing callbacks do not deliver results to your application.
PRICING AND LIMITS

One account.
One balance.

Calling uses the connected account’s current plan and destination rate. Daily, concurrent-call and destination limits still apply. Read the current balance and check each proposed call before approval.

Use the service’s current prices and account limits, rather than hard-coding a rate or a concurrency promise.