Skip to main content
Glama
TylerIlunga

Procore MCP Server

Recycles A Material Requirement.

recycles_a_material_requirement
DestructiveIdempotent

Delete a material requirement permanently, with the option to recycle its associated items when they aren't linked to other documents.

Instructions

Recycles a material requirement. When recycle_items is false, only the requirement document is recycled. When recycle_items is true, associated items in resource_project are also recycled. If the items on the requirement are connected to other documents, the items cannot be recycled. Fails with 400 if the requirement is in Final 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 id must identify an existing parent record — resolve it with the matching list tool first. Permanently removes the recycles a material requirement. 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: 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/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — material requirement ID
company_idYesURL path parameter — the company identifier
project_idYesURL path parameter — the project identifier
recycle_itemsNoQuery string parameter — if true, also recycle items in resource_project for this requirement's lines; default false
Behavior5/5

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

The description discloses significant behavioral traits beyond annotations: the conditional recycling of items, the constraint that items connected to other documents cannot be recycled, the irreversibility, the repeat call returning 404, and the specific error codes (401, 403, 404) with failure payload format. It also explains the idempotent behavior (repeat call 404) consistent with idempotentHint. 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.

Conciseness3/5

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

The description is verbose and includes redundant content (e.g., listing required parameters already in the schema) and a grammatical error in 'Permanently removes the recycles a material requirement.' Some valuable information is buried, and the structure could be tightened. It is not as concise as the ideal.

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 delete operation, the description is quite comprehensive: it covers behavior, prerequisites, state constraints, error handling, defaults, and the API endpoint. It lacks explicit mention of the success response (e.g., 204), but that is a minor gap given the extensive coverage.

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?

While the schema already describes each parameter, the description adds meaningful context: company_id/project_id fall back to procore_set_config values, and id must be resolved via a list tool. It further elaborates on the recycle_items behavior (associated items and the connectivity constraint), going beyond the schema's simple 'if true' description.

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 identifies the action ('Recycles a material requirement') and distinguishes it from sibling recycle tools (e.g., recycles_a_material, recycles_a_transfer_document). However, the sentence 'Permanently removes the recycles a material requirement' is grammatically garbled and introduces ambiguity about soft vs hard delete, so it falls short of a perfect score.

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 clear context: explains the recycle_items flag behavior, the 400 error for Final state, and instructs to confirm the id with a matching show/list tool before calling. It also notes defaults for company_id/project_id from procore_set_config. It does not explicitly mention alternatives or when not to use this tool, but the guidance is sufficient for invocation.

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