Skip to main content
Glama
TylerIlunga

Procore MCP Server

List Accident Logs

list_accident_logs
Read-onlyIdempotent

Retrieve accident logs for a Procore project, filtered by date or pagination. Get current-day entries or specify start/end dates to review incident records.

Instructions

Returns all Accident Logs for the current date. See Working with Daily Logs for information on filtering the response using the log_date, start_date, and end_date parameters. Note that if none of the date parameters are provided in the call, only logs from the current date are returned. Use this to discover accident logs or to look up the id of one before calling a tool that needs it. project_id defaults to the value set by procore_set_config when omitted. Returns a JSON array of accident logs; page and per_page control pagination and the response reports how many pages remain. Read-only — it changes nothing in Procore. 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: project_id. Procore API: Project Management > Daily Log. Endpoint: GET /rest/v1.0/projects/{project_id}/accident_logs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoQuery string parameter — page number for paginated results (default: 1)
end_dateNoQuery string parameter — end date of specific logs desired in YYYY-MM-DD format (use together with start_date)
log_dateNoQuery string parameter — date of specific logs desired in YYYY-MM-DD format
per_pageNoQuery string parameter — number of items per page (default: 100, max: 100)
project_idYesURL path parameter — unique identifier for the project.
start_dateNoQuery string parameter — start date of specific logs desired in YYYY-MM-DD format (use together with end_date)
filters__location_idNoQuery string parameter — return item(s) with the specified Location IDs.
filters__created_by_idNoQuery string parameter — return item(s) created by the specified User ID
filters__daily_log_segment_idNoQuery string parameter — daily Log Segment ID filter
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint, etc.), the description adds significant behavioral context: it is read-only ('it changes nothing in Procore'), describes error responses (401, 403, 404), explains pagination and 'how many pages remain,' and clarifies default behavior for date parameters and project_id. This is far more than annotations alone provide.

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 every sentence adds value. It is front-loaded with the core behavior, then covers filtering, defaults, use case, return format, pagination, error behavior, required parameters, and API reference. No filler or redundancy; it balances completeness with efficiency.

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-parameter list tool with no output schema, the description is remarkably complete. It covers the returned type (JSON array), pagination behavior, error semantics, default project_id, date-filter defaults, and the API endpoint. The only minor gap is not detailing the accident log object structure, but the docs link and list-specific nature make this acceptable.

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?

The schema already covers 100% of parameters with descriptions, so the baseline is 3. The description adds extra meaningful semantics: date parameters default to the current date when omitted, start_date and end_date are used together, and project_id defaults to the value set by procore_set_config. This goes beyond the schema's basic field descriptions.

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 the tool's action and resource: 'Returns all Accident Logs for the current date.' It also provides a specific use case: 'Use this to discover accident logs or to look up the id of one before calling a tool that needs it.' This distinguishes it from other log-listing tools by name and behavior.

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 gives explicit context for when to use the tool ('Use this to discover accident logs or to look up the id...') and notes the default project_id behavior. It does not explicitly name alternatives or when-not-to-use scenarios, but the use case is clear enough to guide an agent.

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