Skip to main content
Glama
TylerIlunga

Procore MCP Server

Bulk Create WBS Codes

bulk_create_wbs_codes
Idempotent

Bulk create WBS codes using specified segments; existing matching codes get updated with the provided description. Returns the modified code on success or an error payload.

Instructions

Bulk Create WBS codes using the specified segments. If the combination of segments matches an existing WBS Code, the existing code will be updated with the description provided. Prefer this over repeated single-record calls when handling many WBS codes at once. project_id defaults to the value set by procore_set_config when omitted. Returns the modified WBS code 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: project_id, bulk. Procore API: Construction Financials > Work Breakdown Structure. Endpoint: PATCH /rest/v1.0/projects/{project_id}/work_breakdown_structure/wbs_codes/bulk_create

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bulkYesJSON request body field — the bulk for this Work Breakdown Structure operation
project_idYesURL path parameter — unique identifier for the project.
Behavior5/5

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

While annotations already signal a non-read-only, idempotent, non-destructive operation, the description adds critical context: existing matching codes are updated, the modified WBS code is returned, and common failure statuses (401, 403, 404) are disclosed. 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.

Conciseness4/5

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

The description is dense but well-organized, front-loading the core action and then covering behavior, usage, defaults, and errors. There is minor redundancy with the schema's required params listing, but no extraneous sentences.

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 2-parameter write operation with no output schema, the description covers all key aspects: return value, upsert behavior, project_id default, error payloads, and API endpoint. An agent would have sufficient information to confidently invoke this tool.

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% with descriptions for both params, so baseline is 3. The description adds meaningful context by referencing 'specified segments' as the input for bulk and clarifying that project_id can default to the value from procore_set_config, which is not apparent from the schema alone.

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 'Bulk Create WBS codes using the specified segments' and explains the upsert behavior, distinguishing it from single-record WBS creation tools in the sibling list. The verb and resource are specific, and the scope is well-defined.

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

Usage Guidelines5/5

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

It explicitly advises 'Prefer this over repeated single-record calls when handling many WBS codes at once', providing a clear when-to-use directive. It also covers the project_id default behavior via procore_set_config, which helps the agent decide when the parameter can be omitted.

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