Skip to main content
Glama
TylerIlunga

Procore MCP Server

Sync Purchase Order Contracts

sync_purchase_order_contracts
Idempotent

Batch create or update purchase order contracts in Procore with a single request. Send only changed fields to keep contract data current.

Instructions

This endpoint creates or updates a batch of Purchase Order Contracts. See Using Sync Actions for additional information. Send only the fields you intend to change; omitted fields keep their current values. Returns the modified purchase order contract on success. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: project_id, updates. Procore API: Construction Financials > Commitments. Endpoint: PATCH /rest/v1.0/purchase_order_contracts/sync

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
updatesYesJSON request body field — updated Purchase Order Contracts
project_idYesJSON request body field — unique identifier for the project.
Behavior5/5

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

Beyond annotations (readOnly=false, etc.), it reveals partial-update behavior ('omitted fields keep their current values'), error payload structure, and common auth/permission/id error statuses (401, 403, 404). This is valuable context for an agent.

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

Conciseness5/5

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

Every sentence carries operational value: purpose, link to docs, update semantics, return value, error behavior, required params, and API reference. It is front-loaded with the purpose and remains under control despite the density.

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

Completeness5/5

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

For a batched sync endpoint with no output schema, the description covers purpose, input requirements, partial update semantics, success return, and error scenarios. The 'Using Sync Actions' link points to additional details. It is sufficient for an agent to select and invoke correctly.

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

Parameters4/5

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

Both parameters are fully described in the schema (100% coverage), but the description adds crucial semantics: the 'updates' array is expected to contain only fields to change, and id references must exist (per 404 error). This goes beyond the schema's minimal field descriptions.

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

Purpose5/5

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

The description opens with 'creates or updates a batch of Purchase Order Contracts,' providing a specific verb, resource, and batch scope. It is clearly distinct from sibling tools like create/update/list/delete, and the endpoint path further clarifies the sync action.

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

Usage Guidelines4/5

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

It states this endpoint is for batch create/update and links to 'Using Sync Actions.' It also gives practical guidance on sending only changed fields. However, it doesn't explicitly say 'use this instead of individual create/update when working with multiple contracts,' so there's no explicit exclusion, though context implies it.

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