Skip to main content
Glama
TylerIlunga

Procore MCP Server

Create Attachment

create_attachment_project_v1_0_2

Uploads a file attachment to an existing incident in Procore, using multipart or upload-ID. Resolve incident_id first; project_id defaults to configured value.

Instructions

Uploads a file attachment to the specified incident. Supports both multipart file upload and upload-ID-based attachment. The operation is idempotent. project_id defaults to the value set by procore_set_config when omitted, and incident_id must identify an existing parent record — resolve it with the matching list tool first. Acts on the attachment and returns Procore's response for the operation. 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, incident_id, attachment. Procore API: Project Management > Incidents. Endpoint: POST /rest/v1.0/projects/{project_id}/incidents/{incident_id}/attachments

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
attachmentYesJSON request body field — binary file to upload as an incident attachment. Submit the entire request as multipart/form-data content type.
project_idYesURL path parameter — unique identifier for the project.
incident_idYesURL path parameter — unique identifier of the incident to attach the file to. Use the id from the List or Show Incidents response.
run_configurable_validationsNoQuery string parameter — whether or not Configurable validations from the Incident/Injury Configurable Field Set should be run (default: false). See (https://developers.procore.com/reference/configurable-field-sets#list-pr...
Behavior1/5

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

The description claims 'The operation is idempotent,' but the annotations set idempotentHint: false. This is a direct contradiction. Additionally, the description does not address the openWorldHint: true annotation, which suggests unknown side effects. This is a serious inconsistency that undermines trust in 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 well-structured and front-loaded with the core purpose, followed by critical operational details (idempotency, defaults, error handling, required params). It is slightly verbose with a vague phrase 'Acts on the attachment,' but overall every major sentence contributes useful information. The explicit endpoint and API reference are helpful but could be considered repeated from the tool name.

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?

The description covers essential context: how to resolve incident_id, the project_id default, error scenarios with common HTTP statuses, and the required parameter list. It provides enough guidance for correct invocation despite the absence of an output schema. The idempotency contradiction and lack of mention about run_configurable_validations (beyond schema) slightly reduce completeness, but overall the description is thorough.

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%, so the baseline is 3. The description adds meaningful value by explaining that project_id defaults to procore_set_config, incident_id must identify an existing parent record, and attachment supports both multipart and upload-ID-based formats. This goes beyond the schema's basic descriptions, particularly for the attachment parameter, which is enriched with the multipart/upload-ID distinction.

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 clearly states the tool's function: 'Uploads a file attachment to the specified incident.' This specific verb+resource combination distinguishes it from generic attachment tools and identifies the target parent (incident). The endpoint and API path further reinforce the purpose, leaving no ambiguity about what this tool does.

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 operational context: it supports multipart and upload-ID-based uploads, project_id defaults from procore_set_config, and incident_id must be resolved via a list tool first. While it doesn't explicitly state when not to use this tool or name alternative tools, the incident-specific scope and resolution guidance effectively steer usage. A minor deduction for lacking explicit exclusions or alternative tool mentions.

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