Skip to content
Truffl.
Browse chapters

MCP documentation Connectors

Operate MCP

Prepare calls and follow bookings, handoffs, callbacks, complaints and eligible CRM review tasks under an owner’s Operate grant.

Operate is on for every workspace unless a full owner turns it off in Settings → Operate MCP. Each call or carrier command still needs an owner's confirmation in Truffl.

Connect Operate

  1. Operate is on by default. A full Truffl workspace owner can turn it off in Settings → Operate MCP.
  2. Add the displayed HTTPS endpoint to Claude or ChatGPT. Use your own Truffl account and approve only the selected workspace.
  3. Start with a read such as recent active sessions, outbound requests or a booking. Revoking another connector does not grant or change Operate access.

Follow a complaint or assign a CRM review

  1. Connect through the unified Truffl endpoint with Operate permission. Ask for the workspace complaint list, select the ticket ID, and open its signed-in review for the full case details.
  2. In a CRM-enabled workspace, summarize QA tasks by state or list the tasks awaiting review. Read one by its call session ID to check its current assignment, revision and review status.
  3. To assign or clear a reviewer, prepare the assignment against the saved revision. A workspace owner reviews it in Truffl. Refresh the task to verify who is assigned.
Example prompt
Summarize the saved CRM review queue, then show me one unassigned call and its current revision. Make no changes.

Follow a running call

  1. List active sessions and select the exact session ID. Ask for its saved tool-event, latency-slice and unexpired provider-record counts.
  2. Pass the returned revision to operate_get_live_diagnostics to check for changes. Ask operate_get_live_events for the saved runtime decisions and operation IDs, or wait up to two seconds for a new snapshot. A zero count means that the snapshot contains no saved records of that kind.
  3. After the call finishes, use Evals to inspect its timeline, model requests and delivery receipts. The customer API supports a separate diagnostics event stream.

Place and follow a call

  1. Use an authorized agent, a usable assigned Plivo number, and a controlled handset for your first test. The workspace Outbound Calls API switch and normal call limits apply.
  2. Prepare the call with the agent, destination and optional pre-call variables. Open the Truffl review and confirm only those exact inputs. This is the point where real carrier and model usage can begin.
  3. Save the returned call ID. Use operate_get_call to read state and, once finished and linked, pass the Evals call ID to Evals. If the approved bundle changes before answer, Truffl refuses the conversation startup and records the reason.
  1. Prepare in chatChoose the exact resource or revision
  2. Review in TrufflCheck scope, changes and spend
  3. Confirm and verifyRead the saved state or receipt
Read the saved result after confirmation.
Example prompt
Prepare one outbound test call from <agent ID> to my controlled handset <E.164 number>. Show the Truffl review link and wait for my confirmation.

Check whether an IVR transfer reached its agent

  1. Use a completed IVR event with outcome handoff_requested. Copy the event’s agent_id and call_id into sourceAgentId and callId.
  2. Read the pickup status. Requested means the pickup was issued. Claimed means the phone service took it. Attached means the destination runner was admitted and has a session ID. Expired and failed are unsuccessful outcomes.
  3. To check what the caller heard, open the attached session in Evals and review its recording where permitted.
Example prompt
Use Operate to check the IVR pickup from source agent <agent_id> on call <call_id>. Give me the status, target agent and attached session ID if available.

Manage live operations

Read or changeWhat to verify
Queued calls and active sessionsA saved active row is a database status. Inspect an exact call before preparing cancel or hangup.
Cancel or hang upUse the current call revision and confirm. Keep carrier acknowledgement separate from the later terminal call state.
Booking statusRead the booking first and approve a change against its current version. Reopen the history after confirmation.
Handoff and callbackReview a ticket’s current version, then approve a state, note or assignment change. Cancel unplaced callbacks, or record a team completion only when a human confirms it.