Skip to main content
Glama
TylerIlunga

Procore MCP Server

Update Custom Field Definition

update_custom_field_definition
Idempotent

Update a Procore custom field definition by sending only the fields to change. Provide company_id, id, and label to get the modified definition back, with clear errors for bad tokens, permissions, or IDs.

Instructions

Updates an existing custom field definition for the specified Procore company. 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 "custom_field_definition" 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 custom field definition 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, label. Procore API (v2.0): Company Admin > Custom - Configurable Tools. Endpoint: PATCH /rest/v2.0/companies/{company_id}/custom_field_definitions/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — custom Field Definition ID
viewNoQuery string parameter — controls which fields are returned for each Custom Field Definition. 'with_configurable_field_sets' additionally includes the configurable_field_sets array listing the field sets that use the defin...
labelYesJSON request body field — the label for this Custom - Configurable Tools operation
activeNoJSON request body field — whether the custom field is active or not.
variantNoJSON request body field — the variant of the Custom Field. The supported variants is dependent on the data_type.
data_typeNoJSON request body field — type of Custom field
company_idYesURL path parameter — unique identifier for the company.
descriptionNoJSON request body field — the description for this Custom - Configurable Tools operation
default_valueNoJSON request body field — the default value for the Custom Field. Only accepted for read_only rich_text fields.
custom_field_lov_entriesNoJSON request body field — custom Lov Entries (selectable options) for the custom field.
Behavior5/5

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

The description adds substantial behavioral context beyond annotations: partial update behavior, payload nesting ('nested under custom_field_definition'), default company_id behavior, return value ('Returns the modified custom field definition on success'), and error details (401/403/404). It aligns with annotations (readOnlyHint=false, idempotentHint=true) and does not contradict them. This exceeds the bar for transparency.

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 efficient. Every sentence adds essential value: update scope, partial update behavior, payload nesting, id resolution prerequisite, default company_id, return value, failure modes, required params, and API reference. It is front-loaded with the core purpose and structured logically from behavior to errors to prerequisites.

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 tool with 10 parameters, no output schema, and only basic annotations, the description is remarkably complete. It covers update semantics, partial updates, argument passing, defaults, id resolution via list tool, return value, common error codes, required params, and even the API permissions context ('Company Admin > Custom - Configurable Tools'). An agent has everything needed to call this 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?

Schema coverage is 100%, so baseline is 3. The description adds valuable semantics: 'Pass the record's fields as top-level arguments — they are nested under custom_field_definition in the request payload for you' clarifies how parameters should be passed, and 'company_id defaults to the value set by procore_set_config when omitted' adds meaning not in the schema. It also highlights required parameters, but the schema already documents each parameter's meaning, so the added value is moderate.

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 and resource: 'Updates an existing custom field definition for the specified Procore company.' It clearly distinguishes from create/delete/show siblings by stating 'existing' and mentioning partial update semantics. The scope (company-level) and the PATCH endpoint further clarify the tool's unique role.

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?

Provides clear context: 'Send only the fields you intend to change; omitted fields keep their current values' and 'id must identify an existing parent record — resolve it with the matching list tool first.' It also notes the company_id default from procore_set_config. However, it does not explicitly name alternative tools (e.g., create_custom_field_definitions) or state when not to use this tool, stopping short of a 5.

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