Skip to main content
Glama
TylerIlunga

Procore MCP Server

Show First Prime Contract

show_first_prime_contract
Read-onlyIdempotent

Returns the first Prime Contract for a specified project. Provide project_id and optional pagination parameters (page, per_page) to fetch contract details.

Instructions

Returns the first Prime Contract created for the specified Project. Use the /prime_contracts endpoint if you need to return more than one Prime Contract. Use this to fetch the full details of a specific Prime Contracts by its identifier. Returns a paginated JSON array of Prime Contracts. Use page and per_page to control pagination; the response includes pagination metadata. Required parameters: project_id. Procore API: Construction Financials > Prime Contracts. Endpoint: GET /rest/v1.0/prime_contract

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesQuery string parameter — unique identifier for the project.
pageNoPage number for paginated results (default: 1)
per_pageNoNumber of items per page (default: 100, max: 100)
Behavior4/5

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

Annotations already indicate read-only and non-destructive nature. Description adds value by detailing pagination behavior (returns paginated JSON, controls via page/per_page, includes metadata). No contradiction with 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?

Description is somewhat wordy with redundancy (e.g., 'Prime Contract' repeated) and includes API reference that may be extraneous. However, it is structured and provides key information without excessive length.

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 main aspects: return type, pagination, required parameter, and alternative tool. Lacks error conditions or limits, but for a simple read tool with a well-defined schema, this is adequate.

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?

Schema description coverage is 100%, so schema already explains parameters. Description only reiterates that project_id is required, adding no new meaning beyond the schema.

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

Purpose4/5

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

The description states it returns the first Prime Contract for a project, but also mentions fetching 'a specific Prime Contracts by its identifier,' which is inconsistent. However, it clearly distinguishes from sibling tools like list_prime_contracts by noting the alternative endpoint.

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?

Explicitly advises using the /prime_contracts endpoint when multiple contracts are needed, providing clear guidance on alternative. Does not mention when not to use the tool, but the context is mostly covered.

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