Skip to main content
Glama
TylerIlunga

Procore MCP Server

Delete Purchase Order Contract

delete_purchase_order_contract
DestructiveIdempotent

Deletes a purchase order contract permanently from Procore. Provide the contract id and project id; confirm the id with the matching list tool before calling because the action is irreversible.

Instructions

Deletes a purchase order contract in Procore. Confirm the target id with the matching show or list tool before calling. id must identify an existing parent record — resolve it with the matching list tool first. Permanently removes the purchase order contract. 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, project_id. Procore API: Construction Financials > Commitments. Endpoint: DELETE /rest/v1.0/purchase_order_contracts/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — unique identifier of the Commitments resource
project_idYesQuery string parameter — unique identifier for the project.
Behavior5/5

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

Even though annotations already indicate destructiveHint=true and readOnlyHint=false, the description adds critical context: the deletion is permanent and cannot be undone, a repeat call returns 404, and common error statuses (401, 403, 404) are listed with their causes. This goes well beyond the annotations and gives the agent an accurate model of the tool's behavior.

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 reasonably concise, and each sentence provides meaningful information: what the tool does, prerequisite steps, permanence/undo impossibility, repeat behavior, error scenarios, required parameters, and API endpoint. It is slightly long but not wasteful.

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 delete tool with two parameters and no output schema, the description covers the operation, when to use it (after resolving id), permanence, error handling, and the endpoint. It does not mention the success return format (e.g., 200 or 204), but that is a minor omission for a delete endpoint. Overall, it is complete enough for an agent to invoke correctly.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents both id and project_id. The description adds that 'id must identify an existing parent record', which is a useful semantic hint but largely redundant with the earlier guidance to confirm via list/show. It does not add format or syntax details 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 states 'Deletes a purchase order contract in Procore' with a specific verb and resource, clearly distinguishing it from sibling tools like create, show, update, and list purchase order contracts. The additional phrase 'Permanently removes' reinforces the destructive nature of the operation.

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?

It provides explicit guidance to 'Confirm the target id with the matching show or list tool before calling' and 'resolve it with the matching list tool first', which clarifies a prerequisite. It does not explicitly name alternatives, but the reference to matching show/list tools is sufficient for an agent to know the proper sequence.

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