Prime MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Optional port for the HTTP server. | 3000 |
| LOG_LEVEL | No | Optional log level: debug, info, warn, or error. | info |
| PRIME_API_URL | No | Optional override for the Prime API URL. | https://www.primeeco.tech/api.prime/v2 |
| PRIME_PASSWORD | Yes | Prime user account password. | |
| PRIME_USERNAME | Yes | Prime user account username. | |
| PRIME_CLIENT_ID | Yes | OAuth2 client ID for the Prime API. | |
| PRIME_OAUTH_URL | No | Optional override for the Prime OAuth token URL. | https://www.primeeco.tech/api.prime/v2/oauth/token |
| PRIME_CLIENT_SECRET | Yes | OAuth2 client secret for the Prime API. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| prime_search_jobsB | Search and filter jobs with pagination. Returns job list with status, division, customer info. |
| prime_get_jobB | Get detailed job information by ID. Includes status, division, customer, client, and other relationships. |
| prime_create_jobB | Create a new job. Requires workflow_id, status_id, and client_id. Optionally creates new customer or links existing. |
| prime_update_jobC | Update job details. Requires job_id and version for optimistic locking. |
| prime_update_job_statusA | Change the status of a job. Use prime_list_job_statuses to get available status IDs. |
| prime_search_jobs_by_addressA | Search jobs by address (street, suburb, state, postcode). Paginates through all jobs to find matches since API does not support address filtering directly. |
| prime_search_jobs_by_customerA | Search jobs by customer name. First finds matching customers, then retrieves their associated jobs. |
| prime_get_job_allocation_summaryB | Get work order totals grouped by trade for a job. Returns breakdown of allocated amounts per trade category. |
| prime_get_job_trade_comparisonC | Compare work order amounts vs authorized estimate amounts by trade. Shows variance between what was estimated and what was allocated. |
| prime_get_job_financial_summaryB | Get full financial comparison by trade: Authorized Estimates vs Work Orders vs AP Invoices. Includes alerts for anomalies. |
| prime_search_contactsB | Search and filter contacts by name, email, phone, or type. Returns paginated list. |
| prime_get_contactA | Get detailed contact information by ID. Includes addresses, licences, and relationships. |
| prime_create_contactC | Create a new contact (individual or organization). Set is_individual=true for people. |
| prime_update_contactC | Update contact information. Requires contact_id and version for optimistic locking. |
| prime_list_allocationsB | List work allocations. Filter by job, assigned contact, status, or type. Types include Make Safe, Quote, Restoration, etc. |
| prime_get_allocationC | Get detailed allocation information by ID. |
| prime_create_allocationC | Create a new work allocation for a job. Requires job_id, allocation_status_id, allocation_type, allocation_number, and label. |
| prime_update_allocationC | Update an allocation. Requires allocation_id and version for optimistic locking. |
| prime_list_estimatesB | List estimates for jobs. Set locked=true to get snapshot (read-only) estimates. |
| prime_get_estimateB | Get estimate details by ID. Set locked=true for snapshot estimates. |
| prime_create_estimateC | Create a new estimate for a job. |
| prime_update_estimateC | Update an estimate. Requires version for optimistic locking. |
| prime_add_estimate_itemC | Add a line item to an estimate. Specify quantity, unit price, description, and optional category. |
| prime_update_estimate_itemC | Update an estimate line item. Requires version for optimistic locking. |
| prime_delete_estimate_itemC | Delete an estimate line item. |
| prime_get_job_scheduleC | Get the schedule for a specific job, including all schedule items. |
| prime_list_schedule_itemsB | List schedule items for a job. Can filter by schedule or date range. |
| prime_create_schedule_itemC | Create a new schedule item (task) with start/end dates and optional assignment. |
| prime_update_schedule_itemC | Update a schedule item. Requires version for optimistic locking. |
| prime_delete_schedule_itemC | Delete a schedule item. |
| prime_list_ap_invoicesB | List accounts payable invoices (from suppliers/contractors). Filter by job, supplier, or status. |
| prime_get_ap_invoiceB | Get accounts payable invoice details by ID. |
| prime_create_ap_invoiceC | Create an accounts payable invoice for a job from a supplier. |
| prime_update_ap_invoiceC | Update an accounts payable invoice. Requires version for optimistic locking. |
| prime_update_ap_invoice_statusC | Update the status of an accounts payable invoice. |
| prime_list_ar_invoicesB | List accounts receivable invoices (to clients/insurers). Filter by job, client, or status. |
| prime_get_ar_invoiceC | Get accounts receivable invoice details by ID. |
| prime_update_ar_invoice_statusC | Update the status of an accounts receivable invoice. |
| prime_list_work_ordersB | List work orders. Filter by job, allocation, assigned contact, or status. |
| prime_get_work_orderC | Get work order details by ID. |
| prime_update_work_orderC | Update a work order. Requires version for optimistic locking. |
| prime_list_attachmentsC | List attachments for jobs. Filter by job, allocation, or attachment type. |
| prime_get_attachmentC | Get attachment details by ID. |
| prime_create_attachmentB | Create a new attachment record for a job. Note: File upload may require separate handling. |
| prime_update_attachmentC | Update attachment metadata. Requires version for optimistic locking. |
| prime_list_notificationsB | List notifications sent for jobs. Filter by job or template. |
| prime_get_notificationC | Get notification details by ID. |
| prime_create_notificationB | Send a notification for a job. Use a template or provide custom subject/body. |
| prime_list_notification_templatesB | List available notification templates. Filter by active status or category. |
| prime_get_notification_templateC | Get notification template details by ID. |
| prime_list_job_statusesB | List available job statuses. Filter by workflow to get relevant statuses. |
| prime_get_job_statusC | Get job status details by ID. |
| prime_list_perilsB | List peril types (causes of damage like Fire, Flood, Storm, etc.). |
| prime_list_tradesB | List trade types (Plumbing, Electrical, Carpentry, etc.). |
| prime_list_divisionsC | List company divisions/branches. |
| prime_list_usersB | List system users. Filter by division or active status. |
| prime_get_userC | Get user details by ID. |
| prime_list_workflowsC | List available workflows. Workflows define the status flow for jobs. |
| prime_list_job_typesC | List available job types. |
| prime_list_allocation_statusesC | List available allocation statuses. |
| prime_list_filter_tagsC | List filter tags for categorizing entities. |
| prime_rate_limit_statusB | Get current rate limit status showing remaining requests per minute and per day. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 62 tools
Each tool generally targets a distinct resource+action (jobs, contacts, allocations, estimates, AP/AR invoices, schedules, attachments, notifications, reference lists). The main soft spots are the three job financial analytics tools (allocation_summary vs trade_comparison vs financial_summary) and prime_get_job_schedule vs prime_list_schedule_items, which describe overlapping views. The three job search variants are clearly differentiated by description, so misselection risk is low.
Every tool uses the same prime_ prefix with a consistent verb_noun snake_case pattern (list_, get_, create_, update_, delete_, search_, add_). Plural/singular use on nouns is predictable and readable across all 62 tools.
62 tools is heavy even for a broad job-management/ERP domain, and the reference-data listers (trades, divisions, workflows, job types, allocation statuses, perils, filter tags, job statuses) plus multiple near-duplicate search/summary tools push it further. The surface likely could be consolidated into a handful of parameterized list/search tools rather than one per lookup.
Core entities have list+get+create+update coverage, but deletion is only exposed for schedule items and estimate items, and notable gaps exist: no create/delete for work orders, no create for AR invoices, no delete for jobs, contacts, allocations, estimates, attachments or notifications. Agents can work around some of this, but a few workflows (e.g. creating a work order, removing a stale job) dead-end.