Skip to main content
Glama
TylerIlunga

Procore MCP Server

create_prime_contract_v2_0

Create a prime contract in Procore for construction projects by specifying company, project, vendor, and contract details to manage financial agreements.

Instructions

Create Prime Contract. [Construction Financials/Prime Contracts] POST /rest/v2.0/companies/{company_id}/projects/{project_id}/prime_contracts

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
company_idYesUnique identifier for the company.
project_idYesUnique identifier for the project.
viewNoSpecifies which view (which attributes) of the resource is going to be present in the response. The extended view includes architect name, contractor name, vendor name and custom fields data, whil...
numberNoThe Prime Contract number. Defaults to the project numbering sequence for the respective contract type.
statusNoThe Prime Contract status.
titleNoThe Prime Contract title.
descriptionNoThe Prime Contract description.
executedNoThe Prime Contract executed status.
vendor_idNoThe ID of the vendor for the contract. The selected invoice contacts must all belong to this vendor. When the vendor is changed, the invoice contacts are reset.
architect_idNoThe ID of the architect for the contract.
contractor_idNoThe ID of the contractor for the contract.
inclusionsNoOnly applicable to Work Order Contracts. The inclusions of the Prime Contract.
exclusionsNoOnly applicable to Work Order Contracts. The exclusions of the Prime Contract.
accounting_methodNoThe accounting method for the contract. Default is driven by a project setting.
allow_commentsNoIf true, comments are allowed on the Prime Contract; otherwise comments are not allowed. Default is driven by a project setting.
auto_approve_prefilled_requisitions_on_payappNoIf true, prefilled requisitions are auto-approved on payment applications; otherwise prefilled requisitions are not auto-approved. Default is driven by a project setting.
allow_markupsNoIf true, markups are allowed on the Prime Contract; otherwise markups are not allowed. Default is driven by a project setting.
change_order_level_of_detailNoThe level of details for showing change orders on invoices attached to this contract.
enable_ssovNoIf true, the subcontractor schedule of values (SSOV) is enabled for the Prime Contract; otherwise the SSOV is not enabled. Default is driven by a project setting.
allow_payment_applicationsNoIf true, invoices are allowed on the Prime Contract; otherwise invoices are not allowed. Default is driven by a project setting.
allow_paymentsNoIf true, payments are allowed on the Prime Contract; otherwise payments are not allowed. Default is driven by a project setting.
display_materials_retainageNoIf true, materials retainage is displayed on the Prime Contract; otherwise materials retainage is not displayed. Default is driven by a project setting.
display_work_retainageNoIf true, work retainage is displayed on the Prime Contract; otherwise work retainage is not displayed. Default is driven by a project setting.
show_cost_code_on_pdfNoIf true, cost codes are displayed on the Prime Contract PDF; otherwise cost codes are not displayed. Default is driven by a project setting.
accessor_idsNoOnly applicable to private contracts. IDs of users in the project directory (see the Project Users endpoint). These users will be able to view the commitment contract.
privateNoIf true, visible to admins and accessors only; otherwise visible to those with access to the Primes tool. Default based on project level setting.
show_line_items_to_non_adminsNoOnly applicable to private contracts. If true, line items are visible to non-admins; otherwise visible to admins only.
actual_completion_dateNoOnly applicable to Work Order Contracts.
approval_letter_dateNoapproval_letter_date
contract_dateNocontract_date
contract_estimated_completion_dateNoOnly applicable to Work Order Contracts.
contract_start_dateNoOnly applicable to Work Order Contracts.
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It states 'Create' which implies a write/mutation operation, but doesn't disclose behavioral traits like required permissions, whether this is an idempotent operation, what happens on failure, or what the response contains. The endpoint format suggests it creates within a specific company/project context, but this is insufficient for a mutation tool with 32 parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise - just two brief phrases. While under-specified for such a complex tool, it's not wordy or poorly structured. Every element (tool name, category, endpoint) serves a purpose, though more content would be beneficial.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex mutation tool with 32 parameters, no annotations, and no output schema, the description is severely inadequate. It doesn't explain what a Prime Contract is, when to use it, what permissions are needed, what the response looks like, or how it differs from other contract creation tools. The 100% schema coverage helps with parameters but doesn't compensate for missing behavioral and contextual information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 32 parameters thoroughly. The description adds no parameter information beyond what's in the schema. According to scoring rules, when schema coverage is high (>80%), the baseline is 3 even with no param info in description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Create Prime Contract' is a tautology that restates the tool name. It adds the category '[Construction Financials/Prime Contracts]' and the API endpoint, but doesn't specify what a Prime Contract is or what creation entails beyond the obvious. It doesn't distinguish this from sibling tools like 'create_commitment_contract_v2_0' or 'create_purchase_order_contract'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. With many sibling tools for creating different contract types (commitment, purchase order, work order), the description offers no context about what a Prime Contract is for, prerequisites, or when it's appropriate. The API endpoint hint doesn't help with usage decisions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TylerIlunga/procore-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server