Skip to main content
Glama
TylerIlunga

Procore MCP Server

Update Attachment

update_attachment_project
Idempotent

Change an attachment's type in Procore by supplying company, project, asset, and attachment IDs. Omitted fields remain unchanged; the updated attachment is returned.

Instructions

Updates a specific attachment. Updatable fields: attachment_type_id. Send only the fields you intend to change; omitted fields keep their current values. company_id and project_id default to the values set by procore_set_config when omitted, and asset_id, attachment_id must identify existing parent records — resolve them with the matching list tool first. Returns the modified attachment on success. 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, attachment_id. Procore API (v2.0): Core > Assets. Endpoint: PATCH /rest/v2.0/companies/{company_id}/projects/{project_id}/assets/{asset_id}/attachments/{attachment_id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asset_idYesURL path parameter — unique identifier for the Asset
company_idYesURL path parameter — unique identifier for the company.
project_idYesURL path parameter — unique identifier for the project.
attachment_idYesURL path parameter — unique identifier for the Attachment
Accept-LanguageNoJSON request body field — locale for localized response messages (for example: en, fr-FR, pseudo)
Behavior5/5

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

The description adds substantial behavioral detail beyond annotations: PATCH semantics, field-level partial update behavior, defaults from procore_set_config, return of modified attachment, and common HTTP error statuses (401/403/404). This far exceeds what annotations alone communicate.

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 dense and well-organized, front-loading the purpose, then covering fields, defaults, id resolution, return/error behavior, and endpoint. It repeats some schema-only information (required params), but each sentence generally contributes useful context.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers many operational details (errors, defaults, resolution, return format), which is good for a mutation tool. However, it introduces an updatable field not present in the schema, leaving a crucial gap about what the actual request body should contain. This inconsistency prevents the description from being fully reliable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description claims 'Updatable fields: attachment_type_id' and instructs to send only changed fields, but the input schema does not include attachment_type_id and has additionalProperties:false, so such a field cannot be sent. This is actively misleading. While schema coverage is 100%, the description introduces incorrect parameter semantics rather than adding value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool 'Updates a specific attachment' and identifies the resource hierarchy (company/project/asset/attachment) plus the exact PATCH endpoint. It does not explicitly distinguish from sibling tools like update_attachment_company, but the endpoint and required path parameters make the scope unambiguous.

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: partial update behavior, config-based defaults for company_id/project_id, and instruction to resolve asset_id and attachment_id with list tools first. Lacks explicit exclusions or when-not-to-use guidance, but the guidance given is 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