Skip to main content
Glama
TylerIlunga

Procore MCP Server

Get Contract Compliance Document

get_contract_compliance_document
Read-onlyIdempotent

Retrieve the full field set of a specific contract compliance document in Procore by supplying the company, project, contract, and document IDs. Read-only endpoint returns a single JSON object.

Instructions

Gets the contract compliance document Procore Pay must be enabled to use this endpoint.. Use this when you already know which contract compliance document you want and need its full field set. company_id and project_id default to the values set by procore_set_config when omitted, and contract_id, id must identify existing parent records — resolve them with the matching list tool first. Returns a single JSON object describing the contract compliance document. 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: company_id, project_id, contract_id, id. Procore API (v2.0): Construction Financials > Payments. Endpoint: GET /rest/v2.0/companies/{company_id}/projects/{project_id}/compliance/contracts/{contract_id}/documents/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — iD of the compliance document
company_idYesURL path parameter — unique identifier for the Procore company
project_idYesURL path parameter — unique identifier for the Procore project
contract_idYesURL path parameter — unique identifier of the contract
Behavior5/5

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

Beyond the readOnlyHint/idempotentHint annotations, the description discloses error payload behavior: 'commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve.' It also states 'Read-only — it changes nothing in Procore' and the Procore Pay requirement, adding useful operational context.

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?

Well-front-loaded with the core action and use case, then defaults, return, error semantics, and API location. Slightly verbose due to repeating required parameters and endpoint details already in schema, but each section earns its place.

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?

Covers purpose, when to use, prerequisites, defaults, return type, error modes, and endpoint location. Without an output schema, it could elaborate on response fields, but for a single-document GET with strong annotations this is nearly complete.

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 descriptions merely label parameters as 'URL path parameter'; the description adds value by clarifying that company_id and project_id default to procore_set_config values when omitted and that contract_id/id must identify existing parent records. This goes beyond the schema's generic labels.

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?

Description uses specific verb 'Gets' with the resource 'contract compliance document' and adds the use-case 'when you already know which contract compliance document you want and need its full field set', distinguishing it from the list sibling. It clearly states it returns a single JSON object for one known document.

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 states when to use: 'Use this when you already know which contract compliance document you want and need its full field set.' Also instructs to resolve contract_id and id with the matching list tool first, providing prerequisite guidance. Implicitly directs away from list tool.

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