Skip to main content
Glama
TylerIlunga

Procore MCP Server

Delete A Direct Cost Line Item

delete_a_direct_cost_line_item
DestructiveIdempotent

Permanently remove a direct cost line item from a project. Verify the direct cost and line item IDs with the list tool first to avoid 404 errors.

Instructions

Delete a specified Direct Cost Line Item. This action does not support concurrent requests. If there is an attempt to delete 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 be returned. Confirm the target id with the matching show or list tool before calling. project_id defaults to the value set by procore_set_config when omitted, and direct_cost_id, id must identify existing parent records — resolve them with the matching list tool first. Permanently removes the direct cost line item. This cannot be undone, and a repeat call returns 404. 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, direct_cost_id, id. Procore API: Construction Financials > Project Level Direct Costs. Endpoint: DELETE /rest/v1.0/projects/{project_id}/direct_costs/{direct_cost_id}/line_items/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — direct Cost Line Item ID
project_idYesURL path parameter — unique identifier for the project.
direct_cost_idYesURL path parameter — unique identifier of the direct cost
Behavior5/5

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

Goes well beyond annotations by disclosing that concurrent requests are unsupported (409 conflict), deletion is permanent and irreversible, repeat calls return 404, and common error statuses (401, 403, 404) with meanings. This enriches the basic destructiveHint/readOnlyHint annotations without contradiction.

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?

The description is longer than minimal but every sentence conveys meaningful information, from concurrency to error handling to endpoint. It is front-loaded with the main purpose and then structures supporting details logically.

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?

Covers prerequisites, concurrency behavior, permanence, and failure modes comprehensively. It does not explicitly describe the success response, but for a delete operation with no output schema, the error handling and permanence information are more critical and well addressed.

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?

The schema covers all 3 parameters with descriptions, but the description adds valuable context: project_id defaults to procore_set_config when omitted, and direct_cost_id and id must reference existing records. This enhances understanding beyond the schema's simple 'unique identifier' phrasing.

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 opens with 'Delete a specified Direct Cost Line Item', which clearly identifies the action and resource. It also specifies the exact endpoint, distinguishing this delete operation from related but distinct tools like delete_direct_cost_item.

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 clear usage context, instructing to 'Confirm the target id with the matching show or list tool before calling' and to 'resolve them with the matching list tool first' for parent records. It does not explicitly name alternatives, but the prerequisites and concurrency warnings offer strong 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