Skip to main content
Glama
TylerIlunga

Procore MCP Server

Delete Direct Cost Item

delete_direct_cost_item
DestructiveIdempotent

Delete a specific Direct Cost Item and its line items from a Procore project. Permanently removes the record using project_id and id; cannot be undone.

Instructions

Delete a specific Direct Cost Item and its Line Items. This action does not support concurrent requests. If there is an attempt to delete a Direct Cost that 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 id must identify an existing parent record — resolve it with the matching list tool first. Permanently removes the direct cost 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, id. Procore API (v1.1): Construction Financials > Project Level Direct Costs. Endpoint: DELETE /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.
Behavior5/5

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

Beyond the annotations (destructiveHint, idempotentHint), the description discloses critical runtime behavior: it does not support concurrent requests (409 Conflict), it is permanent and cannot be undone, a repeat call returns 404, and it details common error statuses (401, 403, 404). This goes well beyond the structured hints and gives the agent a clear picture of side effects and failure modes.

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 well-structured and front-loaded with the primary action. However, there is redundancy: 'Confirm the target id' appears twice in different forms, and 'Permanently removes... This cannot be undone' repeats the same idea. It could be slightly trimmed without losing information.

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?

For a destructive operation with no output schema, the description is highly complete. It covers what is deleted (item and line items), concurrency limitations, prerequisites, permanence, repeat behavior, common error codes, required parameters, and the exact API endpoint. This leaves minimal ambiguity for an agent invoking the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds valuable meaning: project_id defaults to procore_set_config when omitted, and id must refer to an existing parent record resolved via a list tool. It also states both are required, reinforcing the schema. This adds context beyond the raw parameter descriptions.

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 specific Direct Cost Item and its Line Items,' which is a specific verb+resource statement. It distinguishes itself from sibling tools by being the delete operation, and further clarifies scope by noting it also deletes line items, differentiating from tools like delete_a_direct_cost_line_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 gives clear usage context: 'Confirm the target id with the matching show or list tool before calling' and 'resolve it with the matching list tool first.' It also states that project_id defaults to procore_set_config when omitted, which is important for correct invocation. However, it does not explicitly contrast with sibling options (e.g., when to use update_direct_cost_item instead), so it falls short of a 5.

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