SMB Sandbox

v0.1.0
io.github.teamshift-io/sandbox-mcp Checked 2 days ago Published 2 months ago

Mock small-business CRM, inbox, calendar, invoicing and phone tools for testing AI agents safely.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

crm_search_contacts Search contacts

Find people by name, email, phone digits or title. Use before any contact-specific action to get the contact id. Set missingInfo to find contacts lacking a valid email or phone.

ParameterTypeDescription
customerIdstring
limitintegerMax rows to return (default 25, max 100).
missingInfoboolean
offsetintegerRows to skip (default 0).
querystring

crm_get_contact Get contact

Full profile of one contact plus their customer account, leads, deals and recent calls. Use when you need context before replying to or changing a contact.

ParameterTypeDescription
contactId *stringContact id

crm_create_contact Create contact

Add a new person, optionally linked to a customer account. Search first to avoid creating duplicates.

ParameterTypeDescription
firstName *string
lastName *string
customerIdstring | null
emailstring | null
phonestring | null
titlestring | null

crm_update_contact Update contact

Change a contact's name, email, phone, title or customer link. Omitted fields stay as they are; null clears a field. Use to fix missing or malformed contact info.

ParameterTypeDescription
contactId *stringContact id
customerIdstring | null
emailstring | null
firstNamestring
lastNamestring
phonestring | null
titlestring | null

crm_merge_contacts Merge duplicate contacts

Fold a duplicate contact (mergeId) into the one to keep (keepId): empty fields are filled from the duplicate, all leads/deals/messages/calls are re-pointed, and the duplicate is deleted. Irreversible; confirm they are the same person first.

ParameterTypeDescription
keepId *stringContact to keep id
mergeId *stringDuplicate contact to remove id

crm_list_customers List customers

List customer accounts (households or businesses), newest first. Filter by text, status or owner.

ParameterTypeDescription
limitintegerMax rows to return (default 25, max 100).
offsetintegerRows to skip (default 0).
ownerIdstring
querystring
statusstring

crm_get_customer Get customer

One customer account with its contacts, deals, jobs and invoices. Use for a full account picture.

ParameterTypeDescription
customerId *stringCustomer id

crm_list_employees List employees

Active staff with ids and roles. Use to pick an owner for a deal/lead or an assignee for a job or task.

ParameterTypeDescription
includeInactiveboolean

crm_list_leads List leads

Inbound leads, newest first. Set uncontacted: true to find leads nobody has responded to yet.

ParameterTypeDescription
contactIdstring
limitintegerMax rows to return (default 25, max 100).
offsetintegerRows to skip (default 0).
ownerIdstring
statusstring
uncontactedboolean

crm_update_lead Update lead

Change a lead's status or owner. Note: sending an email/SMS or logging an outbound call to the lead's contact marks it contacted automatically.

ParameterTypeDescription
leadId *stringLead id
ownerIdstring | null
statusstring

crm_list_deals List deals

Sales pipeline deals, most recently updated first. Use staleDays to find open deals with no activity for N days, openOnly to skip won/lost.

ParameterTypeDescription
contactIdstring
customerIdstring
limitintegerMax rows to return (default 25, max 100).
offsetintegerRows to skip (default 0).
openOnlyboolean
ownerIdstring
stagestring
staleDaysinteger

crm_get_deal Get deal

One deal with its quotes and contact.

ParameterTypeDescription
dealId *stringDeal id

crm_update_deal Update deal

Move a deal to a new stage and/or set its next action, amount or owner. Stage moves must follow the pipeline (new→qualified→quote-sent→negotiation→won/lost; won is final; lost can reopen). Moving to lost requires lostReason. Set nextAction to {summary, dueOn} so every open deal has a next step.

ParameterTypeDescription
dealId *stringDeal id
amountCentsintegerDeal value in integer cents, e.g. 12500 = $125.00
lostReasonstring
nextAction
ownerIdstring | null
stagestring

crm_list_quotes List quotes

Quotes/estimates. Set notFollowedUp: true to find sent quotes that never got a follow-up.

ParameterTypeDescription
customerIdstring
dealIdstring
limitintegerMax rows to return (default 25, max 100).
notFollowedUpboolean
offsetintegerRows to skip (default 0).
statusstring

crm_send_quote Send quote

Send a draft quote to the customer (status becomes sent). Only works on drafts.

ParameterTypeDescription
quoteId *stringQuote id
expiresOnstringDate, YYYY-MM-DD

crm_follow_up_quote Follow up on quote

Message the deal's contact about a sent/viewed quote and record the follow-up on the quote. Write the full message body. Goes to the outbox; nothing is really delivered.

ParameterTypeDescription
body *string
quoteId *stringQuote id
channelstringDefault email
contactIdstringDefaults to the deal's contact
employeeIdstringSender; defaults to the company address

crm_list_tasks List tasks

To-dos for staff. Filter by status, assignee or a related record id.

ParameterTypeDescription
assigneeIdstring
limitintegerMax rows to return (default 25, max 100).
offsetintegerRows to skip (default 0).
relatedIdstring
statusstring

crm_create_task Create task

Create a to-do for a staff member, linked to the records it is about (relatedIds). Use when a human must do something you cannot.

ParameterTypeDescription
title *string
assigneeIdstring | null
dueOn
relatedIdsarray

crm_complete_task Complete task

Mark an open task done.

ParameterTypeDescription
taskId *stringTask id

inbox_list_threads List inbox threads

Email and SMS conversations, newest activity first, with unread counts and the last message snippet. Use unreadOnly to triage.

ParameterTypeDescription
channelstring
contactIdstring
limitintegerMax rows to return (default 25, max 100).
offsetintegerRows to skip (default 0).
querystring
unreadOnlyboolean

inbox_get_thread Get thread

All messages in one thread, oldest first. Read before replying.

ParameterTypeDescription
threadId *stringThread (thr_…) id

inbox_send_email Send email

Send an email to a contact, raw address, or as a reply in an existing thread (threadId). Subject is required for new threads. Written to the outbox only; nothing leaves the sandbox.

ParameterTypeDescription
body *string
contactIdstring
employeeIdstringSender; defaults to the company address
relatedIdsarrayRecords this email is about
subjectstring
threadIdstring
toarray

inbox_send_sms Send SMS

Send a text message to a contact, raw number, or within an SMS thread. Outbox only.

ParameterTypeDescription
body *string
contactIdstring
employeeIdstring
relatedIdsarray
threadIdstring
tostring

inbox_mark_thread_read Mark thread read

Mark every message in a thread as read after handling it.

ParameterTypeDescription
threadId *stringThread id

calendar_list_jobs List jobs

Scheduled work (appointments / work orders / projects), latest start first. Filter by status, customer, assignee, or a start-time window [from, to).

ParameterTypeDescription
assigneeIdstring
customerIdstring
fromstringInclusive; YYYY-MM-DD or datetime
limitintegerMax rows to return (default 25, max 100).
offsetintegerRows to skip (default 0).
statusstring
tostringExclusive; YYYY-MM-DD or datetime

calendar_get_job Get job

One job with its customer and invoices.

ParameterTypeDescription
jobId *stringJob id

calendar_schedule_job Schedule job

Book new work for a customer. Assignees must be active employees and not double-booked (pass allowOverlap to override).

ParameterTypeDescription
customerId *stringCustomer id
scheduledEnd *stringISO-8601 datetime, e.g. 2026-10-01T15:00:00Z
scheduledStart *stringISO-8601 datetime, e.g. 2026-10-01T15:00:00Z
title *string
allowOverlapboolean
assigneeIdsarray
notesstring | null
quoteIdstring | null

calendar_reschedule_job Reschedule job

Move a scheduled or no-show job to a new time window (optionally new assignees). Does NOT notify the customer; send them a message separately if policy requires.

ParameterTypeDescription
jobId *stringJob id
scheduledEnd *stringISO-8601 datetime, e.g. 2026-10-01T15:00:00Z
scheduledStart *stringISO-8601 datetime, e.g. 2026-10-01T15:00:00Z
allowOverlapboolean
assigneeIdsarray
reasonstring

calendar_cancel_job Cancel job

Cancel a scheduled or in-progress job. Requires a reason. Cannot be undone.

ParameterTypeDescription
jobId *stringJob id
reason *string

calendar_complete_job Complete job

Mark a scheduled or in-progress job completed now, with optional notes.

ParameterTypeDescription
jobId *stringJob id
notesstring

invoicing_list_invoices List invoices

Invoices, newest first. Set overdue: true for unpaid invoices past their due date.

ParameterTypeDescription
customerIdstring
jobIdstring
limitintegerMax rows to return (default 25, max 100).
offsetintegerRows to skip (default 0).
overdueboolean
statusstring

invoicing_get_invoice Get invoice

One invoice with its payments and balance due.

ParameterTypeDescription
invoiceId *stringInvoice id

invoicing_create_invoice Create invoice

Issue an invoice to a customer (optionally for a job of that customer). Total is computed from line items; due date defaults to company payment terms.

ParameterTypeDescription
customerId *stringCustomer id
lineItems *array
dueOnstringDate, YYYY-MM-DD
issuedOnstringDate, YYYY-MM-DD
jobIdstring | null

invoicing_send_reminder Send invoice reminder

Send a payment reminder for an open or partially-paid invoice to the customer's contact (outbox only). A default polite body is used if none is given.

ParameterTypeDescription
invoiceId *stringInvoice id
bodystring
channelstring
contactIdstring
employeeIdstring

invoicing_void_invoice Void invoice

Void an invoice that has no payments applied (e.g. issued against the wrong job). Irreversible; requires a reason.

ParameterTypeDescription
invoiceId *stringInvoice id
reason *string

invoicing_record_payment Record payment

Record money received against an invoice. Cannot exceed the balance; void, draft and paid invoices are rejected.

ParameterTypeDescription
amountCents *integerAmount received in integer cents, e.g. 12500 = $125.00
invoiceId *stringInvoice id
method *string
referencestring

invoicing_list_payments List payments

Payments received, newest first. Set unmatched: true for payments not yet applied to any invoice.

ParameterTypeDescription
customerIdstring
invoiceIdstring
limitintegerMax rows to return (default 25, max 100).
offsetintegerRows to skip (default 0).
unmatchedboolean

invoicing_match_payment Match payment to invoice

Apply an unmatched payment to the invoice it pays. Customer must match and amount must not exceed the balance.

ParameterTypeDescription
invoiceId *stringInvoice id
paymentId *stringPayment id

phone_list_calls List calls

Phone call log, newest first. Use outcome: missed and direction: inbound to find calls that may need a callback.

ParameterTypeDescription
contactIdstring
directionstring
limitintegerMax rows to return (default 25, max 100).
offsetintegerRows to skip (default 0).
outcomestring
sincestringInclusive; YYYY-MM-DD or datetime

phone_log_call Log call

Record a call you made or took (e.g. a callback), with outcome and a short summary. No real call is placed.

ParameterTypeDescription
outcome *string
contactIdstring
directionstringDefault outbound
durationSecinteger
employeeIdstring
phonestringDefaults to the contact's phone
summarystring | null

admin_get_company_policies Get company policies

The company's plain-language operating rules (response times, follow-up cadence, payment terms...). Read before acting.

admin_get_company Get company profile

Company profile plus the simulated current time and today's date in company time.

admin_get_audit_log Get audit log

Every mutation attempted so far (tool, input, ok/error, changed ids), in order. Use sinceSeq to fetch only newer entries.

ParameterTypeDescription
sinceSeqinteger

admin_reset Reset sandbox

Restore the original dataset and clock, discarding every change. The audit log is kept and records the reset.

admin_save_state Save state

Write the current dataset, audit log and outbox to the --state-out file for grading.

admin_advance_clock Advance clock

Move simulated time forward by N minutes (e.g. to simulate waiting for a reply).

ParameterTypeDescription
minutes *integer