Lawcus MCP by usefulapi

v1.21.1
io.usefulapi/lawcus Checked 2 days ago Published 1 day ago

Read Lawcus contacts, matters, leads, time and billing reports; create contacts and tasks.

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

lawcus_get_me

Lawcus: the user the API token belongs to (id, uuid, name, timezone, role such as OWNER/ADMIN/MEMBER).

lawcus_get_firm

Lawcus: the firm (team) details: name, address, currency, locale and phone numbers.

lawcus_list_team_members

Lawcus: the people on the firm's team with id, uuid, name, role and hourly rate. Ids are used in matter, task and report filters.

lawcus_list_contacts

Lawcus: list contacts (people and companies; clients are contacts), filterable by name, email, type or update date. Paged with skip/take.

ParameterTypeDescription
email_containsstring
filtersarrayAdvanced: extra Lawcus v2 filter objects {field, operator, value}, ANDed with the other filters. Dates are 'yyyy-mm-dd hh:mm:ss' UTC.
name_containsstringSubstring of the contact's full name.
skipintegerRecords to skip (default 0). Pass the previous reply's next_skip.
sort_bystring
sort_orderstring
takeintegerRecords per page (default 25, max 100).
typestring
updated_afterstringA UTC date (yyyy-mm-dd) or timestamp (yyyy-mm-dd hh:mm:ss).

lawcus_get_contact

Lawcus: one contact by UUID, with addresses, phones, emails and custom fields.

ParameterTypeDescription
contact_uuid *string

lawcus_create_contact

WRITE: create a new contact in Lawcus (a person or a company). It does not send anything to the contact. Person needs first_name and last_name; Company needs name. Check lawcus_list_contacts first to avoid duplicates.

ParameterTypeDescription
type *string
citystring
countrystring
emailstring
first_namestringRequired for a Person.
last_namestringRequired for a Person.
namestringRequired for a Company.
notestring
phonestring
statestring
streetstring
titlestringBusiness title.
websitestring
zipstring

lawcus_list_matters

Lawcus: list matters (cases) with status, client, billing type, trust and retainer balances. Filter by status, name, number, client or dates. Paged with skip/take; the reply also carries opened/closed counts.

ParameterTypeDescription
client_idintegerNumeric id of the client contact.
filtersarrayAdvanced: extra Lawcus v2 filter objects {field, operator, value}, ANDed with the other filters. Dates are 'yyyy-mm-dd hh:mm:ss' UTC.
name_containsstring
numberstringMatter number (exact).
opened_afterstringA UTC date (yyyy-mm-dd) or timestamp (yyyy-mm-dd hh:mm:ss).
responsible_attorney_idintegerNumeric user id.
skipintegerRecords to skip (default 0). Pass the previous reply's next_skip.
sort_bystring
sort_orderstring
statusstringMatter status, e.g. "OPEN" or "CLOSED".
takeintegerRecords per page (default 25, max 100).
updated_afterstringA UTC date (yyyy-mm-dd) or timestamp (yyyy-mm-dd hh:mm:ss).

lawcus_get_matter

Lawcus: one matter by UUID with its client, workflow stage, billing settings, balances and custom fields.

ParameterTypeDescription
matter_uuid *string

lawcus_list_leads

Lawcus: list leads (prospective matters) with client contact details and pipeline stage. Paged with skip/take.

ParameterTypeDescription
created_afterstringOnly leads created after this UTC time.
filtersarrayAdvanced: extra Lawcus v2 filter objects {field, operator, value}, ANDed with the other filters. Dates are 'yyyy-mm-dd hh:mm:ss' UTC.
lead_source_idintegerLead source id (see lawcus_list_lead_sources).
name_containsstring
skipintegerRecords to skip (default 0). Pass the previous reply's next_skip.
sort_bystring
sort_orderstring
stage_idintegerPipeline stage id (see lawcus_list_workflow_stages).
takeintegerRecords per page (default 25, max 100).

lawcus_get_lead

Lawcus: one lead by UUID.

ParameterTypeDescription
lead_uuid *string

lawcus_list_lead_sources

Lawcus: the firm's lead sources (Website, Referral, Google, ...). Ids go into lead and contact filters.

lawcus_list_workflows

Lawcus: the workflows (matter and lead pipelines) with their ids.

lawcus_list_workflow_stages

Lawcus: the stages of one workflow (pipeline).

ParameterTypeDescription
workflow_id *stringWorkflow id from lawcus_list_workflows.

lawcus_list_tasks

Lawcus: list tasks, optionally by completion, assignee, matter or tag. The API returns the whole list; the reply is cut to `limit`.

ParameterTypeDescription
completedbooleantrue = completed tasks, false = open tasks.
delegatedbooleantrue = tasks delegated to others.
limitintegerReturn at most this many records (default 100, max 500). The reply says when the list was cut.
matter_idintegerNumeric matter id.
tagsstringTag name, e.g. "San Diego Branch".
user_idstringUUID of the assignee (the `uuid` from lawcus_list_team_members).

lawcus_create_task

WRITE: create a task in Lawcus, optionally on a matter and assigned to team members. Lawcus may email or SMS the assignees if reminders are set; no reminders are set by this tool.

ParameterTypeDescription
name *string
assignee_uuidsarrayUUIDs of the users to assign (from lawcus_list_team_members).
descriptionstring
due_datestringA UTC date (yyyy-mm-dd) or timestamp (yyyy-mm-dd hh:mm:ss).
matter_idintegerNumeric matter id (the `id` of a matter).

lawcus_list_time_entries

Lawcus: time entries (hours worked, rate, total, matter, invoiced or not). The API returns all entries; filter here by matter and date range, reply cut to `limit`.

ParameterTypeDescription
date_fromstringA date, yyyy-mm-dd.
date_tostringA date, yyyy-mm-dd.
limitintegerReturn at most this many records (default 100, max 500). The reply says when the list was cut.
matter_idinteger
user_idinteger

lawcus_list_expenses

Lawcus: expenses logged against matters. The API returns all expenses; filter here by matter and date range, reply cut to `limit`.

ParameterTypeDescription
date_fromstringA date, yyyy-mm-dd.
date_tostringA date, yyyy-mm-dd.
limitintegerReturn at most this many records (default 100, max 500). The reply says when the list was cut.
matter_idinteger

lawcus_list_billing_items

Lawcus: billable activity (time entries, expenses and flat fees) with payment details, filterable by date range, user, practice area, matter, client and invoiced state. Also returns time totals for today/week/month/year.

ParameterTypeDescription
client_idinteger
endstringPeriod end, UTC: yyyy-mm-dd (through 23:59:59) or yyyy-mm-dd hh:mm:ss.
is_invoicedboolean
kindstringOnly this kind of item (default: all three).
limitintegerReturn at most this many records (default 100, max 500). The reply says when the list was cut.
matter_idinteger
practice_idinteger
startstringPeriod start, UTC: yyyy-mm-dd (from 00:00:00) or yyyy-mm-dd hh:mm:ss.
user_idinteger

lawcus_list_interactions

Lawcus: logged client interactions (emails, calls, secure messages) with subject, matter and contact. Paged with skip/paginate.

ParameterTypeDescription
directionstring
paginateintegerPage size (default 20, max 100).
skipinteger
typesarrayInteraction types (default: all).

lawcus_report_accounts_receivable

Lawcus report (needs the Admin role): unpaid invoices by age (who owes the firm what).

ParameterTypeDescription
client_idintegerNumeric client contact id.
endstringPeriod end, UTC: yyyy-mm-dd (through 23:59:59) or yyyy-mm-dd hh:mm:ss.
group_bystringGrouping, e.g. client (accounts receivable, invoice history, matter balance) or teammate (time entries).
matter_idintegerNumeric matter id.
practice_idintegerNumeric practice area id.
startstringPeriod start, UTC: yyyy-mm-dd (from 00:00:00) or yyyy-mm-dd hh:mm:ss.
user_idintegerNumeric user id.

lawcus_report_matter_balance

Lawcus report (needs the Admin role): balance summary of all matters, optionally trust balances only.

ParameterTypeDescription
client_idintegerNumeric client contact id.
endstringPeriod end, UTC: yyyy-mm-dd (through 23:59:59) or yyyy-mm-dd hh:mm:ss.
group_bystringGrouping, e.g. client (accounts receivable, invoice history, matter balance) or teammate (time entries).
practice_idintegerNumeric practice area id.
startstringPeriod start, UTC: yyyy-mm-dd (from 00:00:00) or yyyy-mm-dd hh:mm:ss.
trustbooleantrue = trust balances.
user_idintegerNumeric user id.

lawcus_report_revenue

Lawcus report (needs the Admin role): revenue by attorney for a period.

ParameterTypeDescription
client_idintegerNumeric client contact id.
endstringPeriod end, UTC: yyyy-mm-dd (through 23:59:59) or yyyy-mm-dd hh:mm:ss.
matter_idintegerNumeric matter id.
startstringPeriod start, UTC: yyyy-mm-dd (from 00:00:00) or yyyy-mm-dd hh:mm:ss.
user_idintegerNumeric user id.

lawcus_report_time_entries

Lawcus report (needs the Admin role): time entries summarized per user for a period.

ParameterTypeDescription
endstringPeriod end, UTC: yyyy-mm-dd (through 23:59:59) or yyyy-mm-dd hh:mm:ss.
group_bystringGrouping, e.g. client (accounts receivable, invoice history, matter balance) or teammate (time entries).
matter_idintegerNumeric matter id.
startstringPeriod start, UTC: yyyy-mm-dd (from 00:00:00) or yyyy-mm-dd hh:mm:ss.
user_idintegerNumeric user id.

lawcus_report_payments_collected

Lawcus report (needs the Admin role): payments the firm collected in a period.

ParameterTypeDescription
client_idintegerNumeric client contact id.
endstringPeriod end, UTC: yyyy-mm-dd (through 23:59:59) or yyyy-mm-dd hh:mm:ss.
matter_idintegerNumeric matter id.
practice_idintegerNumeric practice area id.
startstringPeriod start, UTC: yyyy-mm-dd (from 00:00:00) or yyyy-mm-dd hh:mm:ss.
user_idintegerNumeric user id.

lawcus_report_invoice_history

Lawcus report (needs the Admin role): summary of issued invoices for a period.

ParameterTypeDescription
client_idintegerNumeric client contact id.
endstringPeriod end, UTC: yyyy-mm-dd (through 23:59:59) or yyyy-mm-dd hh:mm:ss.
group_bystringGrouping, e.g. client (accounts receivable, invoice history, matter balance) or teammate (time entries).
practice_idintegerNumeric practice area id.
startstringPeriod start, UTC: yyyy-mm-dd (from 00:00:00) or yyyy-mm-dd hh:mm:ss.
user_idintegerNumeric user id.

lawcus_report_client_trust

Lawcus report (needs the Admin role): client trust (IOLTA) balances; zero balances hidden unless display_zero is true.

ParameterTypeDescription
client_idintegerNumeric client contact id.
display_zeroboolean
endstringPeriod end, UTC: yyyy-mm-dd (through 23:59:59) or yyyy-mm-dd hh:mm:ss.
practice_idintegerNumeric practice area id.
startstringPeriod start, UTC: yyyy-mm-dd (from 00:00:00) or yyyy-mm-dd hh:mm:ss.