Skip to main content
Glama
TylerIlunga

Procore MCP Server

Update Prime Change Order Batch

update_prime_change_order_batch
Idempotent

Update a prime change order batch by patching only specified fields; omitted fields retain current values. Provide project_id and the batch id to modify.

Instructions

Update the specified Prime Change Order Batch. Send only the fields you intend to change; omitted fields keep their current values. Pass the record's fields as top-level arguments — they are nested under "change_order_batch" in the request payload for you. project_id defaults to the value set by procore_set_config when omitted, and id must identify an existing parent record — resolve it with the matching list tool first. Returns the modified prime change order batch 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, id. Procore API: Construction Financials > Prime Contracts. Endpoint: PATCH /rest/v1.0/projects/{project_id}/prime_change_order_batches/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — iD of the Prime Change Order Batch
titleNoJSON request body field — title of the Change Order Batch
numberNoJSON request body field — number of the Change Order Batch
statusNoJSON request body field — the status for this Prime Contracts operation
privateNoJSON request body field — whether or not the Change Order Batch is private
due_dateNoJSON request body field — due date in YYYY-MM-DD format
executedNoJSON request body field — whether or not the Change Order Batch is executed
form_idsNoJSON request body field — forms to attach to the response
revisionNoJSON request body field — revision Number
image_idsNoJSON request body field — images to attach to the response
paid_dateNoJSON request body field — the paid date in YYYY-MM-DD format
project_idYesURL path parameter — unique identifier for the project.
upload_idsNoJSON request body field — uploads to attach to the response
contract_idNoJSON request body field — unique identifier for the contract.
descriptionNoJSON request body field — the description for this Prime Contracts operation
invoiced_dateNoJSON request body field — the invoiced date in YYYY-MM-DD format
attachment_idsNoJSON request body field — existing attachments to preserve on the response
change_order_idsNoJSON request body field — array of Change Order (PCO) IDs to link to this batch. This field is only supported for two-tier projects.
file_version_idsNoJSON request body field — file Versions to attach to the response
legacy_request_idsNoJSON request body field — array of Change Order Request IDs to link to this batch. This field is only supported for three-tier projects.
signature_requiredNoJSON request body field — whether a signature will be required for this Change Order Batch
drawing_revision_idsNoJSON request body field — drawing Revisions to attach to the response
designated_reviewer_idNoJSON request body field — unique identifier for the designated reviewer. This field is only supported for single-tier projects. Behavior is undefined in multi-tier projects.
schedule_impact_amountNoJSON request body field — schedule impact in days
change_event_attachment_idsNoJSON request body field — list of attachment IDs to attach. These must presently be associated with Change Events.
run_configurable_validationsNoQuery string parameter — if true, validations are run for the corresponding Configurable Field Set.
request_for_quote_attachment_idsNoJSON request body field — list of attachment IDs to attach. These must presently be associated with Request For Quotes (or their Quotes / Responses).
signed_change_order_received_dateNoJSON request body field — signed Change Order Batch Received Date
revised_substantial_completion_dateNoJSON request body field — revised substantial completion date
custom_field_%{custom_field_definition_id}NoJSON request body field — value of the custom field. The data type of the value passed in corresponds with the data_type of the Custom Field Definition. For a lov_entry data_type the value passed in should be the ID of one ...
Behavior5/5

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

Beyond the annotations (readOnly=false, destructive=false, idempotent=true, openWorld=true), the description discloses partial-update semantics, payload nesting simplification, default behavior for project_id, return value, and error payloads with expected HTTP status codes (401/403/404). This adds substantial value about expected behavior and failure modes.

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 longer than average but each sentence contributes: operation, partial update, payload handling, id resolution, return/error behavior, required fields, and API endpoint. Slight redundancy with required params (already in schema) but information density remains high and it is front-loaded with the core action.

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 complex tool with 30 parameters and no output schema, the description covers key usage aspects comprehensively: operation semantics, return value, error handling, prerequisites, and API location. Combined with the rich schema, an agent has sufficient context to invoke it 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?

Schema has 100% parameter description coverage, so baseline is 3. The description adds meaningful context beyond the schema: top-level argument flattening into the 'change_order_batch' payload, project_id fallback to procore_set_config, and id resolution via list tool. It also highlights the two required parameters, which is useful for selection.

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 'Update the specified Prime Change Order Batch,' clearly stating the verb (update) and resource (Prime Change Order Batch). It distinguishes itself from sibling tools like create/show/delete batch and the related prime change order tools by specification of the exact resource type.

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?

Provides explicit guidance on partial updates ('Send only the fields you intend to change'), the need to resolve the id with a list tool first, and project_id defaulting via configuration. It does not explicitly contrast with update_prime_change_order (individual order vs batch), but context implies the distinction.

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