Skip to main content
Glama
TylerIlunga

Procore MCP Server

Deletes A Material Requirement Line Item.

deletes_a_material_requirement_line_item
DestructiveIdempotent

Permanently delete a material requirement line item from Procore. Works only for draft or in-review documents; confirm IDs with list tools first. This action cannot be undone.

Instructions

This endpoint performs a hard delete of a material requirement line item. The deletion follows these rules: 1. The deletion is performed if document is in DRAFT or IN REVIEW state. Confirm the target id with the matching show or list tool before calling. company_id and project_id default to the values set by procore_set_config when omitted, and material_requirement_id, id must identify existing parent records — resolve them with the matching list tool first. Permanently removes the material requirement 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: material_requirement_id, id, company_id, project_id. Procore API (v2.0): Resource Management > Materials Management. Endpoint: DELETE /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/material_requirements/{material_requirement_id}/line_items/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — unique identifier of the Materials Management resource
company_idYesURL path parameter — the company identifier
project_idYesURL path parameter — the project identifier
material_requirement_idYesURL path parameter — material requirement id
Behavior5/5

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

The description adds substantial behavioral context beyond the annotations: it states the hard delete is permanent and cannot be undone, repeat calls return 404, it only succeeds under certain document states, it explains defaulting behavior, and it maps likely error statuses (401, 403, 404) to causes. This goes far beyond the destructiveHint and idempotentHint flags.

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 dense but each sentence provides essential information: state restrictions, id resolution, defaults, permanence, repeat-call behavior, error codes, and the full endpoint. It is not a model of brevity, but the length is justified for a destructive tool with many behavioral nuances. A slightly more structured layout (e.g., bullet points) would earn a 5.

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?

For a destructive tool with no output schema, the description covers all critical operational context: preconditions, id resolution, default behavior, irreversibility, error responses, and the API endpoint. The only minor gap is not explicitly describing the success response (e.g., 204 No Content), but for a hard delete this is a minimal omission. Overall it is nearly complete.

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 input schema already covers all 4 parameters with descriptions (100% coverage), so the baseline is 3. The description adds valuable semantics: company_id and project_id default to configured values when omitted, and material_requirement_id/id must reference existing parent records, to be resolved via list tools. This enriches parameter understanding beyond the schema.

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 a specific verb+resource: 'performs a hard delete of a material requirement line item.' It also provides the full endpoint URL and resource hierarchy, making the tool's purpose unmistakable and distinct from any other delete tool in the sibling list.

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 explicit preconditions: deletion only occurs when the document is in DRAFT or IN REVIEW state, and it advises confirming the target id with the matching show or list tool before calling. It also mentions that company_id and project_id default from procore_set_config. However, it doesn't explicitly name alternative tools or state when not to use this tool, so it stops 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