Skip to main content
Glama
TylerIlunga

Procore MCP Server

Update Direct Cost Item

update_direct_cost_item

Update a specific direct cost item in Procore by providing project ID and item ID. Only supplied fields are changed, returning the updated object.

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. Use this to update an existing Direct Costs (only the supplied fields are changed). Updates the specified Direct Costs and returns the modified object on success. Required parameters: project_id, id. Procore API (v1.1): Construction Financials > Direct Costs. Endpoint: PATCH /rest/v1.1/projects/{project_id}/direct_costs/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesURL path parameter — unique identifier for the project.
idYesURL path parameter — unique identifier of the Direct Costs resource
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
Behavior4/5

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

Beyond annotations, description adds concurrency behavior (409 conflict), batch size limit, required parameters. No contradiction with annotations (readOnlyHint=false, destructiveHint=false). Covers key behavioral traits for a mutation tool.

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?

Description is front-loaded with purpose and covers key points. Some redundancy in phrasing ('Update a specific Direct Cost Item' and 'Use this to update an existing Direct Costs'). Could be tightened, but overall efficient.

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

Completeness3/5

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

Covers main behavioral aspects (concurrency, batch limit) but lacks details on response structure (no output schema, only says 'returns modified object'). Does not explain the nested direct_cost object or attachments beyond schema. Adequate but not comprehensive.

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 coverage is 100%, so baseline 3. Description adds minimal value: reiterates required params (already in schema) and mentions 'only the supplied fields are changed' which implies partial update. Does not explain the direct_cost or attachments parameters beyond schema.

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 it updates a specific Direct Cost Item and returns the modified object. However, it does not explicitly differentiate from sibling tools like update_direct_cost_line_item or sync_direct_cost_items, though the update action is distinct.

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 when to use: updating existing Direct Costs. Also details limitations: batch size limit of 100 line items, no concurrent requests, and 409 conflict error. Does not mention alternatives or when not to use, but context is clear.

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