ORDan
v0.1.4ORDan's MCP server: calls, SMS and phone numbers for AI agents, under their owner's spend controls
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ordan.agent.create Pair with your owner
Register a persistent agent principal. Asks your owner to approve you on ORDan: returns a pairing URL and code for the human. Once approved, this runtime holds your credential (you never see it) and the other ordan.* tools work.
| Parameter | Type | Description |
|---|---|---|
name * | string | Human-readable agent name, e.g. 'Executive Assistant' |
capabilities | array | Requested capabilities; your owner approves or denies the request as asked |
monthly_limit_cents | integer | Requested monthly spend ceiling in cents |
ordan.agent.status Connection status
Whether your owner has approved you yet, and what you may do.
ordan.line.provision Get a new Line
Provision a phone identity for an agent: a new Line with its own number, bound to you.
| Parameter | Type | Description |
|---|---|---|
approval | string | Approved apr_… when provisioning required approval |
area_code | string | Preferred US area code, e.g. 212 |
country | string | ORDan offers US numbers only |
idempotency_key | string | Stable key for retrying this exact logical operation |
name | string |
ordan.line.list List your Lines
List your Lines, with each one's spend this month.
ordan.line.update Update a Line
Rename a Line, or set its monthly spend ceiling in cents (spend ceilings are an owner/key decision — an agent credential can only rename).
| Parameter | Type | Description |
|---|---|---|
line * | string | line_… id |
name | string | New name for the Line |
spend_limit_cents | Monthly ceiling in cents; null removes it |
ordan.line.release Release a Line
Release one of your Lines and its number (requires numbers.release).
| Parameter | Type | Description |
|---|---|---|
line * | string | line_… id |
ordan.number.list List your numbers
List your numbers, each with the Line it is attached to: those on your Lines, and any you bought that are not on a Line (requires numbers.provision or numbers.release). Use it to find a number that was bought but not attached to a Line.
ordan.number.release Release a number
Release a number you bought that is not in use on a Line back to the carrier (requires numbers.release). A number on a Line goes with its Line: use ordan.line.release.
| Parameter | Type | Description |
|---|---|---|
number * | string | num_… id |
ordan.call.create Place a call
Place a policy-checked outbound call. If you have one Line it is used; with several, pass `line`. If policy needs a human, the error carries details.approval_request (apr_…): retry with `approval` set to it once your owner approves.
| Parameter | Type | Description |
|---|---|---|
to * | string | Destination in E.164, e.g. +12125550123 |
approval | string | apr_… id of an approved request, when retrying |
category | string | |
idempotency_key | string | Reuse for an identical request after a timeout; adding approval needs a new key |
line | string | line_… id, when you have several |
max_duration_seconds | integer | |
objective | string | What the call should achieve |
purpose | string | Why this call is happening (audited) |
ordan.call.status Call status
Poll live call state.
| Parameter | Type | Description |
|---|---|---|
call * | string | call_… id |
ordan.call.transfer Transfer a call
Hand off to a human, mid-call: transfer an in-progress call (policy-checked). If the destination needs your owner's approval, the error carries details.approval_request (apr_…): retry with `approval` once they approve.
| Parameter | Type | Description |
|---|---|---|
call * | string | call_… id |
to * | string | E.164 to transfer to |
approval | string | apr_… id of an approved request, when retrying |
category | string | |
idempotency_key | string | |
purpose | string | What it is for, e.g. escalation |
ordan.call.list List your calls
List your recent calls. status=ringing shows inbound calls waiting to be answered.
| Parameter | Type | Description |
|---|---|---|
line | string | line_… id |
status | string |
ordan.call.answer Answer a call
Answer a ringing inbound call routed to you (decline with ordan.call.hangup).
| Parameter | Type | Description |
|---|---|---|
call * | string | call_… id |
ordan.call.hangup Hang up
Hang up a call.
| Parameter | Type | Description |
|---|---|---|
call * | string | call_… id |
ordan.call.dtmf Press keys on a call
Navigate a phone menu: press keys (DTMF) on a connected call you hold, e.g. "1" or "2w123#" (w = half-second pause). Set sensitive for PINs or account numbers: your owner's ledger shows them masked.
| Parameter | Type | Description |
|---|---|---|
call * | string | call_… id |
digits * | string | Keys to press: 0-9 * # A-D, w/W to pause |
sensitive | boolean |
ordan.call.record Record a call
Start or stop recording a connected call (requires calls.record). Recordings belong to your owner: you see that one exists, not its audio.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
call * | string | call_… id |
ordan.call.report Report a call's outcome
Report what happened on a call you made or answered: its transcript and/or its structured outcome (e.g. outcome: appointment_rescheduled, fields: { date, time }). Each is recorded once, in your ledger; ORDan adds the call's measured duration.
| Parameter | Type | Description |
|---|---|---|
call * | string | call_… id |
fields | object | Details of the outcome, e.g. { date, time } |
outcome | string | What came of it, as a slug: e.g. appointment_rescheduled |
summary | string | |
transcript | array | The conversation, turn by turn |
ordan.sms.send Send an SMS
Send a message from the agent's line. With several Lines, pass `line`. Approval works as for ordan.call.create.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
to * | string | E.164 |
approval | string | apr_… id of an approved request, when retrying |
category | string | |
idempotency_key | string | |
line | string | line_… id, when you have several |
purpose | string | What it is for, e.g. scheduling |
smart_encoding | boolean | Explicit opt-in for typographic ASCII substitutions; emoji/unknown Unicode is preserved |
ordan.sms.read Read your messages
Read your messages: replies and what you sent. Pass `with` for the whole conversation with one number.
| Parameter | Type | Description |
|---|---|---|
direction | string | |
with | string | E.164 of the other party |
ordan.policy.check Check an action against policy
Evaluate an action before execution: would policy allow it right now? The action is the capability it uses: voice.outbound (a call), sms.send (a text), calls.transfer (a hand-off) or purchases (a purchase: pass merchant and amount_cents).
| Parameter | Type | Description |
|---|---|---|
action * | string | |
amount_cents | integer | purchases: what it would cost, in cents |
body | string | sms.send: message content for a segment/cost estimate |
call | string | call_… id: the call to hand off (required for calls.transfer) |
category | string | |
line | string | line_… id the action would use (default: your only Line) |
merchant | string | purchases: who you would buy from |
purpose | string | What it is for, e.g. scheduling |
smart_encoding | boolean | |
to | string | E.164 |
ordan.purchase.authorize Authorize a purchase
Ask before you buy: authorize a purchase on your owner's behalf (requires purchases). Within policy (by default up to $50 each) it is authorized at once; above it your owner approves first (retry with `approval`). ORDan never sees card data: pay the merchant yourself, then call ordan.purchase.complete with what was charged.
| Parameter | Type | Description |
|---|---|---|
amount_cents * | integer | The most it will cost, in cents (USD) |
description * | string | What you are buying and why |
merchant * | string | |
approval | string | apr_… id of an approved request, when retrying |
category | string | The policy category it falls under (e.g. travel, medical); your owner's rules may block or require approval by category |
purpose | string | What it is for; classifies the purchase only when no category is given |
ordan.purchase.complete Complete a purchase
Record that you made an authorized purchase: what was actually charged (never more than authorized) and the merchant's confirmation number.
| Parameter | Type | Description |
|---|---|---|
amount_cents * | integer | |
purchase * | string | pur_… id |
receipt | string | Order or confirmation number |
ordan.purchase.cancel Cancel a purchase
Give back an authorization you will not use.
| Parameter | Type | Description |
|---|---|---|
purchase * | string | pur_… id |
ordan.usage.get Usage this month
Read spend against limits for this month.
ordan.ledger.read Read your ledger
Read the agent's event history: what happened (calls, texts, approvals) and what it cost.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
since | string | evt_… cursor: only events after it |
types | string | Comma-separated event types, e.g. call.completed,message.received |