Skip to main content
Glama
TylerIlunga

Procore MCP Server

Updates A Single Receipt Line Item.

updates_a_single_receipt_line_item
Idempotent

Update a specific receipt line item in Procore by sending only the fields you want to change. Adjust quantity, date, status, or location for a receipt not in Final state.

Instructions

This endpoint allows updating properties (such as date, quantity, status, and location) for a specific receipt line item. The receipt must not be in a Final state. If the input is invalid or the line item doesn't exist, a 400 Bad Request response is returned. Send only the fields you intend to change; omitted fields keep their current values. company_id and project_id default to the values set by procore_set_config when omitted, and receipt_id, id must identify existing parent records — resolve them with the matching list tool first. Returns the modified receipt line item 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: receipt_id, id, company_id, project_id. Procore API (v2.0): Resource Management > Materials Management. Endpoint: PATCH /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/receipts/{receipt_id}/line_items/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — unique identifier of the Materials Management resource
company_idYesURL path parameter — the company identifier
project_idYesURL path parameter — the project identifier
receipt_idYesURL path parameter — unique identifier of the receipt
quantity_expectedNoJSON request body field — the quantity expected for this Materials Management operation
quantity_receivedNoJSON request body field — the quantity received for this Materials Management operation
Behavior5/5

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

Beyond the annotations, the description explains the partial-update semantics ('Send only the fields you intend to change; omitted fields keep their current values'), the default behavior for company_id/project_id, error responses (400, 401, 403, 404) and return value. This provides substantial transparency for a write operation. No contradiction with annotations.

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?

The description is longer than average but every sentence adds unique information: purpose, precondition, error handling, partial update, defaults, prerequisites, return, error codes, required params, and endpoint. It is logically structured and front-loaded with the primary purpose.

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

Completeness4/5

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

The description covers most operational aspects: preconditions, partial-update semantics, error codes, and required parameters, making it largely self-sufficient. However, it states that updatable properties include 'date, quantity, status, and location' while the schema only exposes quantity_expected and quantity_received, which could mislead an agent into attempting unsupported fields. This gap prevents a perfect score.

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 coverage is 100%, so the schema already documents all parameters. The description adds valuable context by explaining that company_id and project_id default to procore_set_config values when omitted, and that receipt_id and id must refer to existing records. However, it doesn't elaborate on the body fields beyond what the schema provides.

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 clearly identifies the action ('updating properties') and the specific resource ('a specific receipt line item'), and gives examples of properties. The endpoint path and API version make it unambiguous. It distinguishes from siblings like 'deletes_a_receipt_line_item' and 'updates_a_receipt_header'.

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?

The description provides a clear context: use for updating a receipt line item, with the precondition that the receipt must not be in a Final state. It also advises resolving parent record IDs with the matching list tool first, which is a practical usage guideline. It doesn't explicitly name alternative tools for create/delete, but the purpose and preconditions adequately differentiate.

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