Skip to main content
Glama
TylerIlunga

Procore MCP Server

Update Field Rule

update_field_rule
Idempotent

Update a field rule's definition or metadata. Omitted fields retain current values; scope fields are immutable and require delete/recreate. Returns the modified rule or error status.

Instructions

Updates an existing field rule's definition / metadata. Scope fields (assetTypeId, fieldsetId, triggerField, ruleType) cannot be changed -- delete and recreate instead. Send only the fields you intend to change; omitted fields keep their current values. company_id defaults to the value set by procore_set_config when omitted, and rule_id must identify an existing parent record — resolve it with the matching list tool first. Returns the modified field rule 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, rule_id. Procore API (v2.0): Core > Assets. Endpoint: PUT /rest/v2.0/companies/{company_id}/assets/settings/field_rules/{rule_id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rule_idYesURL path parameter — unique identifier for the field rule.
is_activeNoJSON request body field — whether the rule is active. Set to false to deactivate.
rule_nameNoJSON request body field — display name for the rule
rule_typeNoJSON request body field — optional metadata. NOT updatable: if provided, must match the existing rule's type; the server rejects mismatches.
company_idYesURL path parameter — unique identifier for the company.
definitionNoJSON request body field — rule definition. Shape must match the rule's stored type — for NAMING, supply expression_fields; for FIELD_DEFAULTS, supply actions. Sent as a raw JSON object; the server converts it to the correct...
descriptionNoJSON request body field — optional description
fieldset_idNoJSON request body field — new fieldset id. FIELD_DEFAULTS only; ignored / rejected for NAMING. Provided to recover a rule whose asset type's fieldset has been changed by an admin. Must match the asset type's current fieldse...
Accept-LanguageNoJSON request body field — locale for localized response messages (for example: en, fr-FR, pseudo)
Behavior5/5

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

Description adds context beyond annotations: partial update semantics, company_id default from procore_set_config, rule_id existence prerequisite, success return value, and common HTTP error codes (401, 403, 404). Annotations provide readOnlyHint=false, destructiveHint=false, idempotentHint=true; description aligns with 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.

Conciseness4/5

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

Description is multi-sentence but densely packed; each clause contributes (purpose, constraints, update semantics, error handling, API reference). It is front-loaded with the purpose and does not repeat schema param descriptions, but it is longer than strictly necessary.

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 9-param tool with no output schema, description covers prerequisites (list tool for rule_id), update semantics, error handling, required params, and API endpoint. It also notes success returns the modified rule. This is sufficient for invocation without additional lookups.

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 covers 100% of parameters with descriptions, so baseline is 3. The description adds value by explaining partial update behavior, company_id default behavior, and the unchangeable scope constraint. However, the fieldset_id parameter's schema description allows a recovery use case that seems to contradict the blanket statement that fieldsetId cannot be changed, which slightly muddies the semantic clarity.

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?

Description opens with 'Updates an existing field rule's definition / metadata,' which is a specific verb+resource statement. It differentiates from create/delete/list siblings by focusing on existing rule updates and explicitly lists immutable scope fields (assetTypeId, fieldsetId, triggerField, ruleType).

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 operational guidance: 'Send only the fields you intend to change; omitted fields keep their current values' and advises resolving rule_id with the matching list tool first. For immutable scope fields, it explicitly directs to 'delete and recreate instead,' offering an alternative path. It falls short of contrasting with the project-scope sibling tool, but the endpoint and required company_id make the scope inferable.

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