Skip to main content
Glama
TylerIlunga

Procore MCP Server

List Affliction Types

list_affliction_types
Read-onlyIdempotent

Retrieve a paginated list of affliction types for a company. Use to find IDs or filter incidents by query parameters like active status or updated date.

Instructions

Return a list of all Affliction Types associated with a Company. Use this to enumerate Incidents when you need a paginated overview, to find IDs, or to filter by query parameters. Returns a paginated JSON array of Incidents. Use page and per_page to control pagination; the response includes pagination metadata. Required parameters: company_id. Procore API: Project Management > Incidents. Endpoint: GET /rest/v1.0/companies/{company_id}/incidents/affliction_types

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
company_idYesURL path parameter — unique identifier for the company.
pageNoQuery string parameter — page number for paginated results (default: 1)
per_pageNoQuery string parameter — number of items per page (default: 100, max: 100)
filters__activeNoQuery string parameter — if true, returns item(s) with a status of 'active'.
filters__idNoQuery string parameter — return item(s) with the specified IDs.
filters__updated_atNoQuery string parameter — return item(s) last updated within the specified ISO 8601 datetime range. Formats: `YYYY-MM-DD`...`YYYY-MM-DD` - Date `YYYY-MM-DDTHH:MM:SSZ`...`YYYY-MM-DDTHH:MM:SSZ` - DateTime with UTC Offset `YYY...
sortNoQuery string parameter — sort order for results. Prefix with '-' for descending order
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, covering safety and idempotency. The description adds behavioral details about pagination (page, per_page) and response metadata, as well as the REST endpoint. No hidden side effects are disclosed beyond standard read behavior. The description adds moderate value beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The description is five sentences long, with the key action front-loaded. However, it includes redundant information like the API category and endpoint URL, which are not helpful for an AI agent. The error about 'Incidents' adds unnecessary confusion and wastes words. Could be more streamlined.

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

Completeness2/5

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

The description lacks essential context about the relationship between affliction types and incidents. It incorrectly states that the tool returns Incidents, leaving the agent unsure of the actual output. No output schema exists, so the description should better clarify the structure. Given the complexity (7 parameters, many sibling tools), the description is incomplete and misleading.

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

Parameters3/5

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

Input schema coverage is 100%, with each parameter described in the schema. The description only reiterates pagination parameters (page, per_page) and required company_id, adding minimal semantic value beyond what the schema already provides. Filter parameters are not elaborated upon in the description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with the correct purpose: 'Return a list of all Affliction Types associated with a Company.' However, it then contradicts itself by stating 'Returns a paginated JSON array of Incidents,' which conflates affliction types with incidents and undermines clarity. The tool's name and first sentence are clear, but the subsequent error causes confusion about what the tool actually returns.

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 advises when to use the tool: 'Use this to enumerate Incidents when you need a paginated overview, to find IDs, or to filter by query parameters.' It also provides pagination guidance and highlights required parameters. However, it does not explicitly state when not to use this tool versus sibling tools like show_affliction_type or create_affliction_type, nor does it mention alternative tools for different needs.

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