Skip to main content
Glama
TylerIlunga

Procore MCP Server

Preview Asset Deletion

preview_asset_deletion_project
Read-onlyIdempotent

Preview the impact of deleting a project asset by retrieving descendant counts and projections for confirmation. Read-only, no data modified.

Instructions

Returns the impact of deleting the given project asset, including the count and lightweight projections of every descendant in the subtree. Read-only — no rows are modified. The UI uses this to render the confirmation copy required by hierarchy v2. Use this when you already know which preview asset deletion you want and need its full field set. company_id and project_id default to the values set by procore_set_config when omitted, and asset_id must identify an existing parent record — resolve it with the matching list tool first. Returns a single JSON object describing the preview asset deletion. Read-only — it changes nothing in Procore. 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: company_id, project_id, asset_id. Procore API (v2.0): Core > Assets. Endpoint: GET /rest/v2.0/companies/{company_id}/projects/{project_id}/assets/{asset_id}/delete_preview

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asset_idYesURL path parameter — unique identifier for the asset whose deletion is being previewed.
company_idYesURL path parameter — unique identifier for the company.
project_idYesURL path parameter — unique identifier for the project.
Accept-LanguageNoJSON request body field — locale for localized response messages (for example: en, fr-FR, pseudo)
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false. The description adds valuable context: no rows are modified, error payloads with 401/403/404, and defaulting of company_id/project_id via procore_set_config. It repeats 'Read-only' twice, but this is minor. 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.

Conciseness2/5

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

The description is verbose and repetitive. It states 'Read-only' twice, and the sentence 'Returns a single JSON object describing the preview asset deletion' largely restates the first sentence. The API endpoint line is useful but could be tightened; the overall structure is not as crisp as it should be.

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 read-only preview tool with no output schema, it covers the return content (count + descendant projections), error behavior, defaults, and a concrete use case (UI confirmation copy). It could describe the response structure in more detail, but given the annotations and simple return shape, it is largely complete.

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 coverage is 100%, so baseline is 3. The description adds defaulting behavior for company_id/project_id and the asset resolution requirement. However, it contradicts the schema by first saying these default when omitted and then listing them as required parameters, which muddies the semantics.

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 ('Returns the impact of deleting the given project asset') and clearly scopes to project-level assets. The endpoint path and the phrase 'project asset' differentiate it from the sibling preview_asset_deletion_company. It also specifies the output (count and lightweight projections of descendants).

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 explicit when-to-use context ('Use this when you already know which preview asset deletion you want') and a prerequisite ('resolve it with the matching list tool first'). It does not name the company-level sibling as an alternative or state when not to use it, but the instructions are clear enough for an agent.

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