Skip to main content
Glama
TylerIlunga

Procore MCP Server

Update User Project Roles

update_user_project_roles
Idempotent

Replace the list of users assigned to a project role with a specified set of user IDs. Any users not included are removed from the role.

Instructions

Set which Users are associated with a specific Project Role. Will remove any users associated with the role if they are not included in the user_ids parameter. 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 user project role 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: id, project_id, user_ids. Procore API: Core > Project. Endpoint: PATCH /rest/v1.0/projects/{project_id}/user_project_roles/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — iD of the Company Role
user_idsYesJSON request body field — user IDs to associate with the Project Role
project_idYesURL path parameter — unique identifier for the project.
Behavior5/5

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

The description discloses destructive-adjacent behavior (removes users not in `user_ids`), partial-update behavior, defaulting of `project_id`, return value, and common error statuses (401/403/404). These go well beyond the annotations and are critical for safe invocation.

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 front-loaded with the core purpose, followed by key behavioral details and error information. It's slightly verbose with API endpoint details, but every sentence contributes valuable information without redundancy.

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 complex update tool with no output schema, the description covers prerequisites (id resolution), defaults, return value, error handling, and required parameters. It is sufficiently complete for an agent to invoke it correctly.

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

Parameters5/5

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

Though schema coverage is 100%, the description adds essential semantics: `user_ids` is a replacement list with removal semantics, `project_id` has a default fallback, and `id` must be resolved via a list tool. It also corrects the schema's 'Company Role' typo by implying Project Role.

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+resource: 'Set which Users are associated with a specific Project Role.' This clearly differentiates from sibling tools like update_vendor_project_roles (users vs vendors) and update_project_user (single user update vs role association).

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?

It provides actionable guidance: resolve `id` with the matching list tool first, `project_id` defaults to procore_set_config when omitted, and partial-update semantics ('Send only the fields you intend to change'). It doesn't explicitly name alternative tools, but the context is clear enough for an agent to select it over similar tools.

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