View as .md ↗
Lawmatics

Lawmatics

MCP server · Practice Management · lawmatics.com · 40 categories · 177 tools

Lawmatics is a legal CRM, client intake, and marketing automation platform for law firms. This integration exposes contacts, companies, matters, billing (invoices, transactions, expenses, time entries), tasks, documents, events, and marketing data as governed MCP tools, scoped per member by access level.

Get File (lawmatics_get-file)

Fetch a single file's metadata from Lawmatics by ID, including a `relationships` envelope of {id,type} pointers to the owning record (documentable) and its folder / parent folder. Returns metadata only, not the file contents — use download-file to retrieve a short-lived download link for the bytes.

Tool Input

fileIdstringrequired— ID of the file to fetch; a numeric string(pattern: ^\d+$)

Tool Output

idstringrequired— Unique ID of the file
namestringrequired— Display name of the file as stored in Lawmatics
fileNamestringnullrequired— Original uploaded file name (e.g. report.pdf); null if not reported
contentTypestringnullrequired— MIME type of the file (e.g. application/pdf); null if not reported
sizenumbernullrequired— File size in bytes; null if not reported
createdAtstringnullrequired— When the file was created, as an ISO 8601 timestamp; null if unknown
updatedAtstringnullrequired— When the file was last updated, as an ISO 8601 timestamp; null if unknown
relationshipsobjectrequired— JSON:API relationship pointers to related records as {id,type} stubs. Not materialized — follow a pointer by calling that resource's own get/find tool (e.g. type 'prospect' -> get-matter, type 'contact' -> get-contact, type 'folder' -> get-folder).
documentableobjectnullrequired— Owning record pointer (the matter/prospect, contact, company, or firm this file belongs to); null when the file has no owner
idstringrequired— ID of the referenced Lawmatics record
typestringrequired— JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
folderobjectnullrequired— Folder the file lives in; null when at the root / unfiled
idstringrequired— ID of the referenced Lawmatics record
typestringrequired— JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
parentFolderobjectnullrequired— Parent folder pointer; null when the file is not nested under a folder
idstringrequired— ID of the referenced Lawmatics record
typestringrequired— JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized

Related Tools