Skip to main content
Glama
TylerIlunga

Procore MCP Server

Preview Asset Deletion

preview_asset_deletion_company
Read-onlyIdempotent

Preview the impact of deleting a company asset by retrieving descendant counts and projections. Read-only; use after identifying the asset to assess deletion consequences.

Instructions

Returns the impact of deleting the given company asset, including the count and lightweight projections of every descendant in the subtree. Read-only — no rows are modified. Use this when you already know which preview asset deletion you want and need its full field set. company_id defaults to the value 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, asset_id. Procore API (v2.0): Core > Assets. Endpoint: GET /rest/v2.0/companies/{company_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.
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?

While annotations already declare readOnlyHint and destructiveHint, the description adds meaningful behavioral context: it explains error payloads with common HTTP statuses (401, 403, 404), the default behavior for company_id via procore_set_config, and the return format ('single JSON object'). This goes beyond the structured 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 longer than necessary and contains redundancy: 'Read-only — no rows are modified' is repeated as 'Read-only — it changes nothing in Procore.' The phrase 'which preview asset deletion you want' is also awkward since the tool itself is the preview. It could be tightened without losing information.

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?

Despite having no output schema, the description covers the return type ('single JSON object'), the nature of the result (descendant count and projections), common error responses, prerequisite steps, and the API endpoint. This is sufficient for a read-only preview tool with well-covered annotations.

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?

Schema coverage is 100% (baseline 3), but the description adds value beyond the schema by noting that company_id defaults to the procore_set_config value and that asset_id must identify an existing parent record, resolving it with a list tool first. These enrich the parameter meanings.

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 and resource: 'Returns the impact of deleting the given company asset, including the count and lightweight projections of every descendant in the subtree.' This clearly distinguishes the tool from siblings like preview_asset_deletion_project by explicitly stating 'company asset' and describes the exact output scope.

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 provides clear context: 'Use this when you already know which preview asset deletion you want and need its full field set' and advises to resolve asset_id with the matching list tool first. However, it does not explicitly name alternatives (e.g., preview_asset_deletion_project) or state when not to use this tool, so it stops short of full exclusion guidance.

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