Skip to main content
Glama
TylerIlunga

Procore MCP Server

Update Work Activity

update_work_activity
Idempotent

Update a specific work activity in Procore Incidents by sending only the fields you want to change, such as name or active status. Returns the modified activity.

Instructions

Updates a specified Work Activity. Note that Procore provided Work Activities' names cannot be changed. 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 "work_activity" in the request payload for you. company_id defaults to the value 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 work activity 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, id, name. Procore API: Project Management > Incidents. Endpoint: PATCH /rest/v1.0/companies/{company_id}/incidents/work_activities/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — unique identifier of the Incidents resource
nameYesJSON request body field — the Name of the Work Activity
activeNoJSON request body field — flag that denotes if the Work Activity is available for use
company_idYesURL path parameter — unique identifier for the company.
Behavior5/5

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

Annotations already declare write (readOnlyHint=false), idempotent, and non-destructive, but the description adds valuable context: Procore-provided names cannot be changed, partial update semantics, company_id defaulting behavior, and error responses with common HTTP statuses. This goes well beyond the structured 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 earns its place. It front-loads the purpose, then covers constraints, parameter behavior, defaults, return values, error handling, and endpoint. No fluff or repetition; it is well-structured for an agent.

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 mutation tool with no output schema, the description covers all essential aspects: what it does, how to provide parameters, what defaults exist, what to do before calling (resolve id), what to expect on success/failure, and the exact API endpoint. It is complete enough for an agent to invoke correctly.

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

Parameters5/5

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

Schema coverage is 100%, so baseline is 3, but the description adds significant meaning: top-level argument flattening, company_id default from config, id must reference an existing record resolved via list, and name is required but immutable for Procore-provided items. These details are not present in the schema and materially help correct invocation.

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+resource: 'Updates a specified Work Activity.' It clearly distinguishes from siblings like create, list, show, delete, and bulk_update. It also provides the endpoint and API category, making the operation 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?

The description provides clear context for when to use this tool: to update an existing single record, with guidance to resolve the id via a list tool first. It also notes that omitted fields keep current values, implying partial updates. However, it does not explicitly mention alternative tools like bulk_update_work_activities for batch scenarios, so it stops short of full exclusion guidance.

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