Skip to main content
Glama
TylerIlunga

Procore MCP Server

Show Safety Violation Logs

show_safety_violation_logs
Read-onlyIdempotent

Retrieve a single safety violation log's complete details using its project and log ID. Ideal when you know the specific record and need its full field set.

Instructions

Returns single Safety Violation Log. Use this when you already know which safety violation log you want and need its full field set. 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 a single JSON object describing the safety violation log. 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, id. Procore API: Project Management > Daily Log. Endpoint: GET /rest/v1.0/projects/{project_id}/safety_violation_logs/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — safety Violation Log ID
project_idYesURL path parameter — unique identifier for the project.
Behavior5/5

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

With annotations already declaring readOnlyHint=true and destructiveHint=false, the description adds valuable context: project_id defaults, id must reference an existing record, return type (single JSON object), and detailed error payload behaviors (401, 403, 404). This goes well beyond the annotations.

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 well-structured and front-loaded with the core purpose, then usage, parameters, errors, and API reference. While slightly lengthy, every sentence contributes useful information, and no content is redundant or wasteful.

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 simple fetch-by-id tool, the description covers everything an agent needs: when to use, prerequisites, parameter semantics, error handling, return shape, and API endpoint. No output schema is present, but the return type is explicitly stated. It is fully complete for invoking and interpreting failures.

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 input schema already has 100% coverage with descriptions for both parameters, but the description enhances semantics by stating project_id defaults to procore_set_config value and id must resolve to an existing record via the list tool. This adds meaning beyond the schema.

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 'Returns single Safety Violation Log' with a specific verb and resource. It further distinguishes itself from siblings by specifying 'Use this when you already know which safety violation log you want and need its full field set,' directly contrasting with list or mutation tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use guidance: 'Use this when you already know which safety violation log you want...' and an alternative/ prerequisite: 'resolve it with the matching list tool first.' Also explains the project_id default from procore_set_config, giving clear operational context.

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