Skip to main content
Glama
TylerIlunga

Procore MCP Server

Update A Task Item Comment

update_a_task_item_comment
Idempotent

Update a task item comment by ID, modifying only the fields you specify and returning the updated comment. Requires company, project, and comment IDs for Procore.

Instructions

Updates the task item comment with ID supplied in path. Returns the updated comment. Send only the fields you intend to change; omitted fields keep their current values. Pass the record's fields as top-level arguments — they are nested under "task_item_comment" in the request payload for you. company_id and project_id default to the values set by procore_set_config when omitted, and id must identify an existing parent record — resolve it with the matching list tool first. Returns the modified task item comment 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, id. Procore API: Core > Tasks. Endpoint: PATCH /rest/v1.0/companies/{company_id}/projects/{project_id}/task_item_comments/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — task Item Comment ID
viewNoQuery string parameter — serialization view for the updated comment (default **normal**).
statusNoJSON request body field — the status of the task item at the time of the comment. Standard users who are assigned to a task item cannot change the status to closed or void.
commentNoJSON request body field — the message of the comment
form_idsNoJSON request body field — forms to attach to the response
image_idsNoJSON request body field — images to attach to the response
company_idYesURL path parameter — unique identifier for the company.
project_idYesURL path parameter — unique identifier for the project.
upload_idsNoJSON request body field — uploads to attach to the response
attachmentsNoJSON request body field — attachments. To upload attachments you must upload the entire payload as `multipart/form-data` content-type and specify each parameter as form-data together with `attachments[]` as files.
file_version_idsNoJSON request body field — file Versions to attach to the response
drawing_revision_idsNoJSON request body field — drawing Revisions to attach to the response
document_management_document_revision_idsNoJSON request body field — pDM document to attach to the response
Behavior5/5

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

Beyond the annotations, the description discloses partial-update semantics, defaulting of company/project IDs, the returned object, and common failure modes (401, 403, 404). These details are highly relevant for an agent to predict tool behavior and handle errors. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but every sentence contributes value: action, usage, return, error handling, and endpoint. It is organized logically 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?

For a 13-parameter tool with no output schema, the description covers return value, error handling, prerequisites, and defaulting. Combined with the schema's field-level details, the agent has enough information to invoke the tool correctly.

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?

The schema already covers all 13 parameters with descriptions (100% coverage), so the baseline is 3. The description adds crucial behavior: omitted fields keep current values, fields are passed as top-level arguments despite being nested in the payload, and defaults for company/project. This meaningfully enriches understanding beyond the schema.

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 action ('Updates the task item comment'), identifies the specific resource (via path ID), and provides the exact endpoint. It also mentions the return value, which distinguishes it from create/delete siblings in the same domain.

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?

It gives explicit guidance: resolve the id with the matching list tool first, and explains that company_id/project_id default from procore_set_config. It also advises partial updates ('Send only the fields you intend to change'). However, it does not explicitly name alternative tools (e.g., create/delete) for when to use this tool instead.

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