Skip to main content
Glama
TylerIlunga

Procore MCP Server

Update Affliction Type

update_affliction_type

Update an existing Affliction Type in Procore Incidents. Modify its name or active status using company ID, affliction type ID, and new name.

Instructions

Updates a specified Affliction Type. Note that Procore provided Affliction Types' names cannot be changed. Use this to update an existing Incidents (only the supplied fields are changed). Updates the specified Incidents and returns the modified object on success. Required parameters: company_id, id, name. Procore API: Project Management > Incidents. Endpoint: PATCH /rest/v1.0/companies/{company_id}/incidents/affliction_types/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
company_idYesURL path parameter — unique identifier for the company.
idYesURL path parameter — unique identifier of the Incidents resource
nameYesJSON request body field — the Name of the Affliction Type
activeNoJSON request body field — flag that denotes if the Affliction Type is available for use
Behavior3/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false. The description adds that only supplied fields are changed and returns the modified object on success, which provides useful behavioral context. However, it does not discuss authorization requirements or error states beyond the basic update behavior.

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 concise and front-loaded with the main purpose. It packs all necessary information into a few sentences without any fluff. Every sentence adds value, including the note about Procore provided types and the return value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description includes the API endpoint, product area, and return behavior, making it fairly complete for an update operation. It could mention error handling or validation, but given the complexity and no output schema, it covers the essential aspects.

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 each parameter. The description adds context that the 'name' parameter cannot be changed for Procore provided types, which goes beyond the schema's basic description. This extra information helps the agent understand parameter constraints.

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 'Updates a specified Affliction Type', specifying the action, resource, and scope. It distinguishes from siblings like bulk_update_affliction_types by noting the single update and the restriction on Procore provided names.

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 context: use to update existing affliction types, with the caveat that Procore provided names cannot be changed. It also mentions that only supplied fields are changed. However, it does not explicitly compare to the bulk update tool or specify when not to use.

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