Skip to main content
Glama
TylerIlunga

Procore MCP Server

Sync Direct Cost Line Items

sync_direct_cost_line_items

Batch create or update Direct Cost Line Items in Procore. Provide project ID and updates to sync line items for direct costs.

Instructions

This endpoint creates or updates a batch of Direct Cost Line Items. For this endpoint either wbs_code_id or cost_code_id and line_item_type_id are required when creating a line item. If both wbs_code_id and cost_code_id are provided, the endpoint will use wbs_code_id. This action does not support concurrent requests. If there is an attempt to update or create a Direct Cost Line Item that belongs to a Direct Cost which is being updated or deleted by another request, a 409 Conflict error will b... 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, updates. Procore API: Construction Financials > Direct Costs. Endpoint: PATCH /rest/v1.0/projects/{project_id}/direct_costs/line_items/sync

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesURL path parameter — unique identifier for the project.
updatesYesJSON request body field — the updates for this Direct Costs operation
Behavior4/5

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

The annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false) are consistent with the description's claim of creating/updating. The description adds valuable behavioral context: concurrency limitations, field selection priority (wbs_code_id over cost_code_id), and the fact that only supplied fields are changed. 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.

Conciseness2/5

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

The description is overly long and contains redundant/inconsistent statements (e.g., 'update an existing Direct Costs' conflicting with the topic of line items). It includes the full API path and method, which could be shortened. Not every sentence earns its place; the description could be much more concise and clear.

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?

Given no output schema, the description mentions 'returns the modified object on success'. It covers required parameters, field selection rules, concurrency, and partial update behavior. However, the inconsistency about Direct Costs vs line items creates confusion, and the description does not clarify whether the 'updates' array can handle multiple items or how errors are reported beyond the 409 conflict.

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?

Input schema has 100% coverage, but the description adds important parameter semantics beyond the schema: the condition that either wbs_code_id or cost_code_id and line_item_type_id are required when creating, and that wbs_code_id takes precedence if both provided. Also clarifies that only supplied fields are changed (partial update). This adds significant value.

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

Purpose3/5

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

The description states it 'creates or updates a batch of Direct Cost Line Items', which clearly identifies the verb and resource. However, later it contradicts itself with 'Use this to update an existing Direct Costs' and 'Updates the specified Direct Costs', confusing line items with direct costs. This inconsistency hurts clarity.

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 provides some usage guidance: it explains required field conditions (wbs_code_id or cost_code_id + line_item_type_id) and concurrency behavior (no concurrent requests, 409 conflict). However, it does not explicitly differentiate this tool from other sync tools among siblings, and the conflicting statements about updating 'Direct Costs' vs 'Direct Cost Line Items' undermine the 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