Skip to main content
Glama
TylerIlunga

Procore MCP Server

Show Near Miss

show_near_miss
Read-onlyIdempotent

Retrieve a specific near miss by ID from a Procore project, returning its complete field set. Use when you already know the near miss and need full details.

Instructions

Returns specific Near Miss. Use this when you already know which near miss 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 near miss. 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 > Incidents. Endpoint: GET /rest/v1.0/projects/{project_id}/incidents/near_misses/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — unique identifier of the Incidents resource
project_idYesURL path parameter — unique identifier for the project.
incident_idNoQuery string parameter — unique identifier of the incident
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description reinforces this with 'Read-only — it changes nothing' and adds valuable error-payload details (401, 403, 404) and the return shape ('single JSON object'). This goes beyond what annotations provide.

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 a single dense paragraph that front-loads purpose and usage, then flows into parameters and errors. It contains minor redundancy (read-only reiterates annotations, required params repeat schema) but every other sentence adds unique value without being verbose.

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 read-by-id tool, this description is remarkably complete: it covers purpose, when to use, parameter resolution, default behavior, error conditions, and endpoint context. The absence of an output schema is mitigated by stating the return type, and the rich annotations cover the safety profile.

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%, so baseline is 3. The description adds the default for project_id (from procore_set_config) and clarifies that id must resolve to an existing record, which is not in the schema descriptions. It repeats required parameters, but the extra contextual semantics justify a 4.

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 'Returns specific Near Miss' — a clear verb and resource. It further clarifies the tool is for retrieving a single record by id when you already know which near miss you want, distinguishing it from list_near_misses and create_near_miss siblings.

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?

Explicitly tells the agent when to use this tool ('when you already know which near miss you want and need its full field set') and instructs to resolve the id with the matching list tool first. Also documents the project_id default behavior, giving actionable context for parameter selection.

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