Skip to main content
Glama
TylerIlunga

Procore MCP Server

Update All Company Segment Items

update_all_company_segment_items

Batch activate or deactivate segment items and their children, or modify other Work Breakdown Structure attributes in one request.

Instructions

Update All Segment Items with the same attributes. The endpoint currently handles updating status (deactivating or reactivating) for segment items and their children. Use this to update an existing Work Breakdown Structure records (only the supplied fields are changed). Updates the specified Work Breakdown Structure records and returns the modified object on success. Required parameters: company_id, segment_id, ids, attributes. Procore API: Construction Financials > Work Breakdown Structure. Endpoint: PATCH /rest/v1.0/companies/{company_id}/work_breakdown_structure/segments/{segment_id}/segment_items/update_all

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
company_idYesURL path parameter — unique identifier for the company.
segment_idYesURL path parameter — unique identifier of the segment
idsYesJSON request body field — list of segment item IDs. The API will find and update the children of the provided IDs.
attributesYesJSON request body field — the attributes for this Work Breakdown Structure operation
Behavior4/5

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

The description adds context beyond annotations, such as handling status deactivation/reactivation and only changing supplied fields. Annotations are readOnlyHint=false and destructiveHint=false, which aligns with the write operation. No contradiction.

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

Conciseness3/5

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

The description is somewhat verbose, repeating information about updating WBS records and including API endpoint details. It is front-loaded with the main purpose but could be more concise.

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?

Given the complexity of a bulk update with required parameters and nested objects, the description covers the main operation, states it returns the modified object, and notes the specific use case for status updates.

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

Parameters3/5

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

Schema coverage is 100%, so baseline is 3. The description repeats parameter names but adds little new meaning beyond the schema descriptions.

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 segment items with the same attributes and specifically handles status changes. However, it does not explicitly differentiate from sibling bulk update tools like 'bulk_update_segment_items'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions 'Use this to update an existing Work Breakdown Structure records' and lists required parameters, but provides no guidance on when not to use it or alternatives.

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