Skip to main content
Glama
TylerIlunga

Procore MCP Server

Delete An Inspection Item Attachment

delete_an_inspection_item_attachment
DestructiveIdempotent

Permanently delete an attachment from an inspection item in a Procore project. Specify the project, inspection, and attachment IDs to remove the file; this action cannot be undone.

Instructions

Removes the Attachment for a specified Inspection Item on a given Project. Confirm the target id with the matching show or list tool before calling. project_id defaults to the value set by procore_set_config when omitted, and inspection_id, id must identify existing parent records — resolve them with the matching list tool first. Permanently removes the inspection item attachment. 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: project_id, inspection_id, id. Procore API: Project Management > Inspections. Endpoint: DELETE /rest/v1.0/projects/{project_id}/inspections/{inspection_id}/item_attachments/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — unique identifier of the Inspections resource
project_idYesURL path parameter — unique identifier for the project.
inspection_idYesURL path parameter — unique identifier for the inspection.
Behavior5/5

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

Annotations already provide readOnlyHint=false, destructiveHint=true, and idempotentHint=true. The description adds valuable context: 'Permanently removes... cannot be undone, and a repeat call returns 404.' It also details failure modes (401 expired token, 403 missing permission, 404 unresolved id), which goes well beyond the annotations and helps the agent anticipate outcomes.

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 longer than average but every sentence carries useful information: purpose, confirmation steps, default behavior, permanence, error scenarios, required parameters, and the endpoint. Slight redundancy ('Permanently removes' and 'cannot be undone') but overall well-structured and front-loaded with the core purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 no output schema, the description is complete: it states what is deleted, that it cannot be undone, how to resolve IDs, what errors to expect, and the exact REST endpoint. No significant gaps remain for an agent to safely invoke it.

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% (all three params documented with descriptions and required). The description adds meaning by explaining that project_id can default to the procore_set_config value when omitted, and clarifies that inspection_id and id must resolve existing parent records. This adds context beyond the schema's basic URL path parameter descriptions.

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: 'Removes the Attachment for a specified Inspection Item on a given Project.' It also clearly states the permanent nature of the action and the exact API endpoint, distinguishing this tool from sibling delete tools (e.g., delete_checklist_inspections_item_attachment, delete_attachment_project) by naming the inspection item attachment resource.

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 explicit usage guidance: 'Confirm the target id with the matching show or list tool before calling' and 'resolve them with the matching list tool first.' It explains when to use the tool and prerequisite steps, though it does not explicitly name alternative tools for exclusion. Clear context is present.

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