Skip to main content
Glama
TylerIlunga

Procore MCP Server

Update Prime Contract Line Item

update_prime_contract_line_item_v1_0

Update a line item in a prime contract by providing the prime contract ID, line item ID, project ID, and updated line item data. Only supplied fields are changed.

Instructions

Update a Line Item from the Prime Contract. Note: A budget line item will automatically be created for Non-budgeted line items for all new projects and for projects enabled with Non-Budgeted line item beta functionality. Use this to update an existing Prime Contracts (only the supplied fields are changed). Updates the specified Prime Contracts and returns the modified object on success. Required parameters: prime_contract_id, id, project_id, project_id, line_item. Procore API: Construction Financials > Prime Contracts. Endpoint: PATCH /rest/v1.0/prime_contracts/{prime_contract_id}/line_items/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prime_contract_idYesURL path parameter — unique identifier of the prime contract
idYesURL path parameter — unique identifier of the Prime Contracts resource
project_idYesJSON request body field — unique identifier for the project.
line_itemYesJSON request body field — the Line Item object
Behavior4/5

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

The description adds value beyond annotations by disclosing a side effect: automatic budget line item creation for Non-budgeted line items. It also notes partial update behavior ('only the supplied fields are changed'). Annotations already indicate mutation, but the description provides additional behavioral context.

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

Conciseness3/5

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

The description is moderately concise but includes redundant information (duplicate parameter) and a mix of usage notes, API details, and required parameters. It could be more streamlined.

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?

Given the absence of an output schema, the description should explain the response format beyond 'returns the modified object'. It does not cover error scenarios, permissions, or line_item structure, leaving gaps for the agent.

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 baseline is 3. The description adds context by grouping parameters into URL path vs JSON body fields and listing required ones, but duplicates one (project_id listed twice) and does not explain the line_item object structure further.

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 clearly states the action (update) and resource (Line Item from Prime Contract). The title and first sentence align, and the API endpoint provides specific identification. However, it does not explicitly differentiate from sibling tools like update_prime_contract_line_item_project, relying on the version endpoint.

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

Usage Guidelines2/5

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

The description lacks guidance on when to use this tool versus alternatives. It states the purpose and required parameters but does not provide comparative context, such as when to use create or delete, or how this differs from other update tools.

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