Skip to main content
Glama
TylerIlunga

Procore MCP Server

Update A WBS Code

update_a_wbs_code
Idempotent

Update a WBS code's custom description or status in Procore. Send only the fields to change; omitted fields keep their current values. Requires project ID and WBS code ID.

Instructions

Update a WBS Code with new custom description or status. Send only the fields you intend to change; omitted fields keep their current values. project_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 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, id. Procore API: Construction Financials > Work Breakdown Structure. Endpoint: PATCH /rest/v1.0/projects/{project_id}/work_breakdown_structure/wbs_codes/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — unique identifier of the Work Breakdown Structure resource
statusNoJSON request body field — new status of the WBS Code
project_idYesURL path parameter — unique identifier for the project.
descriptionNoJSON request body field — new custom description of the WBS Code
default_uom_idNoJSON request body field — iD of the Unit of Measure to set as the default for this WBS code. Pass null to remove the existing default. Part of the Units of Measure Validation beta.
Behavior5/5

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

The description adds substantial behavioral context beyond the annotations: PATCH semantics (omitted fields keep current values), project_id defaulting behavior, the requirement that id already exists, the success return value, and common error statuses (401/403/404). This is rich disclosure with no contradiction to the provided 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 logically structured: action, update semantics, prerequisites, return/error behavior, then required params and API endpoint. Every sentence carries useful information, though it is somewhat long and the explicit 'Required parameters: project_id, id' repeats schema data without adding new value.

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?

With no output schema, the description adequately explains return values ('Returns the modified WBS code') and error handling (HTTP status meanings). It also provides the API section and endpoint, contextualizes the workflow with the list-tool prerequisite, and explains the project_id default — making the tool self-sufficient for an AI agent.

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?

Even though the schema has 100% parameter coverage, the description adds meaning beyond field-level definitions: it clarifies that project_id can be omitted to use a configured default despite being marked required, that id must be an existing record resolved beforehand, and that only fields intended to change need to be sent. This adds practical usage semantics.

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 'Update a WBS Code with new custom description or status' — a specific verb, resource, and scope. It clearly distinguishes the tool from related siblings like list_wbs_codes or bulk_update_wbs_codes by focusing on a single record update with specific editable fields.

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 usage guidance: send only changed fields, project_id defaults from procore_set_config, and the id must be resolved with the matching list tool first. It implicitly excludes bulk operations by describing a single-record PATCH, though it does not explicitly name alternative tools or when-not-to-use scenarios.

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