Skip to main content
Glama
TylerIlunga

Procore MCP Server

Update A Compliance Document.

update_a_compliance_document_project

Update an existing compliance document for a commitment contract in Procore by specifying project, contract, and document IDs. Modify fields like name, status, type, and attachments.

Instructions

Update the specified compliance document. Use this to update an existing Commitments (only the supplied fields are changed). Updates the specified Commitments and returns the modified object on success. Required parameters: project_id, contract_id, id. Procore API: Construction Financials > Commitments. Endpoint: PATCH /rest/v1.0/projects/{project_id}/work_order_contracts/{contract_id}/compliance_documents/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesURL path parameter — unique identifier for the project.
contract_idYesURL path parameter — identifier for the commitment contract
idYesURL path parameter — identifier for the document
nameNoJSON request body field — the name for this Commitments operation
notesNoJSON request body field — the notes for this Commitments operation
typeNoJSON request body field — the type for this Commitments operation
statusNoJSON request body field — the status for this Commitments operation
effective_atNoJSON request body field — the effective at for this Commitments operation
expires_atNoJSON request body field — the expires at for this Commitments operation
send_expiration_notificationNoJSON request body field — send_expiration_notification
attachment_idsNoJSON request body field — existing attachments to preserve on the response
drawing_revision_idsNoJSON request body field — drawing Revisions to attach to the response
file_version_idsNoJSON request body field — file Versions to attach to the response
form_idsNoJSON request body field — forms to attach to the response
image_idsNoJSON request body field — images to attach to the response
upload_idsNoJSON request body field — uploads to attach to the response
Behavior3/5

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

Annotations already provide readOnlyHint false and destructiveHint false. The description adds that it performs a partial update (PATCH) and returns the modified object. It does not mention permissions or side effects. With openWorldHint true, the description's additional info is helpful but not extensive.

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 concise at four sentences and front-loaded with the purpose. There is slight redundancy between the first sentence and the third ('Updates the specified Commitments and returns...'), but overall it is well-structured and not verbose.

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?

Despite 100% schema coverage, the description lacks context about the relationship between compliance documents and commitments, and the specific contract types (work_order_contracts) is only in the endpoint path. Given the complexity (16 params, many arrays), the description should clarify usage scope and differentiation from similar tools.

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?

The input schema has 100% coverage, so all parameters are described in the schema. The description merely lists the required parameters, which is already evident from the schema. No additional meaning is provided beyond what the schema already conveys.

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

Purpose4/5

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

The description states 'Update the specified compliance document' and clarifies it updates an existing Commitments. It also provides the API endpoint path, which helps identify the resource. However, it does not explicitly differentiate from the sibling tool 'update_a_compliance_document_project_v1_0', though the endpoint version is implied.

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

Usage Guidelines3/5

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

The description says 'Use this to update an existing Commitments (only the supplied fields are changed)', which gives usage context. But it does not specify when not to use this tool or mention any alternatives among the many related sibling tools, such as update_requisition_compliance_document.

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