Skip to main content
Glama
TylerIlunga

Procore MCP Server

Create Attachment

create_attachment_project_v1_0_5

Upload a file attachment to a specified incident action, using multipart upload or a previously uploaded file by upload ID. Returns the new attachment with its ID.

Instructions

Uploads a file attachment to the specified incident action. Supports multipart file upload or referencing a previously uploaded file by upload ID. project_id defaults to the value set by procore_set_config when omitted, and action_id must identify an existing parent record — resolve it with the matching list tool first. Creates the attachment and returns it with its new id (HTTP 201); calling it again creates another record. 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, action_id, attachment. Procore API: Project Management > Incidents. Endpoint: POST /rest/v1.0/projects/{project_id}/incidents/actions/{action_id}/attachments

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
action_idYesURL path parameter — unique identifier of the incident action to attach a file to.
attachmentYesJSON request body field — action Attachment. To upload an attachment you must upload the entire payload as `multipart/form-data` content-type with the `attachment` file.
project_idYesURL path parameter — unique identifier for the project.
Behavior5/5

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

The description discloses important behaviors beyond annotations: non-idempotency ('calling it again creates another record'), error conditions with HTTP status codes (401, 403, 404), default project_id behavior, and the two upload modes (multipart vs. upload ID). Annotations only state readOnlyHint=false and idempotentHint=false; the description adds concrete operational context.

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 a dense, information-rich paragraph with no filler. Every sentence contributes (purpose, upload modes, defaults, error handling, required params, endpoint). It could be slightly tightened, but it remains well-structured and front-loaded with the primary action.

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?

Given no output schema, the description covers return behavior ('returns it with its new id (HTTP 201)'), common failure modes, required parameters, and the endpoint. It is sufficiently complete for an agent to select and invoke this tool correctly, including prerequisite resolution of action_id.

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 meaning beyond the schema: project_id can default to procore_set_config, attachment can be a previously uploaded file referenced by upload ID, and action_id must resolve to an existing parent record. These details help the agent use the parameters correctly without relying solely on schema field names.

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 purpose: 'Uploads a file attachment to the specified incident action.' It uses a specific verb and resource, and the mention of 'incident action' distinguishes it from other attachment tools in the sibling list (e.g., create_attachment_project_v1_0_4, create_attachments_project).

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 clear usage context: 'action_id must identify an existing parent record — resolve it with the matching list tool first' and 'project_id defaults to the value set by procore_set_config when omitted.' It does not explicitly name alternative tools or when-not-to-use scenarios, but the context is unambiguous and actionable.

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