Skip to main content
Glama
TylerIlunga

Procore MCP Server

Update Direct Cost Item

update_direct_cost_item
Idempotent

Update a Direct Cost Item in Procore by specifying the project ID and item ID. Send only the fields you intend to modify; omitted fields retain their current values.

Instructions

Update a specific Direct Cost Item. The number of Line Items that can be sent in a single update request is limited to 100. This action does not support concurrent requests. If there is an attempt to update a Direct Cost that is being updated or deleted by another request, a 409 Conflict error will be returned. Send only the fields you intend to change; omitted fields keep their current values. 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 direct cost 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: project_id, id. Procore API (v1.1): Construction Financials > Project Level Direct Costs. Endpoint: PATCH /rest/v1.1/projects/{project_id}/direct_costs/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — unique identifier of the Project Level Direct Costs resource
project_idYesURL path parameter — unique identifier for the project.
attachmentsNoJSON request body field — direct Cost Item attachments. To upload attachments you must upload the entire payload as `multipart/form-data` content-type and specify each parameter as form-data together with `attachments[]` as...
direct_costNoJSON request body field — direct Cost Item object
Behavior5/5

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

Beyond annotations, the description reveals a 100-line-item limit, lack of concurrent request support, 409 conflict behavior, project_id defaulting, and error-status mapping (401/403/404). It also notes the return payload. This significantly exceeds what annotations alone convey.

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 a well-organized paragraph that front-loads the core purpose, then covers limits, concurrency, partial updates, defaults, return values, errors, and API reference. No redundant sentences; all content is operationally relevant.

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?

With two required path parameters and two optional body fields, an output schema is absent, yet the description specifies return success, typical failure modes, required parameters, and request constraints. It also appropriately cross-references the configuration default and list tool, making it fully actionable.

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 baseline is 3. The description adds meaningful semantics: project_id defaults to the value set by procore_set_config when omitted, and id must identify an existing parent record resolved via the list tool. It also explains the partial-update request body behavior, enriching the direct_cost parameter semantics.

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 begins with 'Update a specific Direct Cost Item,' a specific verb+resource. It distinguishes from sibling update_direct_cost_line_item by targeting direct cost items and identifies the PATCH endpoint and API section. Clear and unambiguous.

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 provides clear usage context: partial update semantics ('Send only the fields you intend to change'), the need to resolve id with the matching list tool first, and concurrency constraints. However, it does not explicitly name alternative tools or state when not to use this tool, so it stops short of full exclusion guidance.

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