Skip to main content
Glama
TylerIlunga

Procore MCP Server

List Project Locations

list_project_locations
Read-onlyIdempotent

Retrieve a paginated list of locations for a specified Procore project. Use it to discover location IDs or names for use in other project-related tools.

Instructions

Return a list of Locations associated with a Project. Use this to discover project locations 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 project locations; 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: Core > Project. Endpoint: GET /rest/v1.0/projects/{project_id}/locations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoQuery string parameter — page number for paginated results (default: 1)
sortNoQuery string parameter — sort order for results. Prefix with '-' for descending order
per_pageNoQuery string parameter — number of items per page (default: 100, max: 100)
project_idYesURL path parameter — unique identifier for the project.
filters__idNoQuery string parameter — return item(s) with the specified IDs.
filters__codeNoQuery string parameter — return location(s) matching any of the specified codes in the search term.
filters__searchNoQuery string parameter — returns item(s) matching the specified search query string.
filters__parent_idNoQuery string parameter — return location(s) with the specified parent_ids.
filters__updated_atNoQuery string parameter — return item(s) last updated within the specified ISO 8601 datetime range. Formats: `YYYY-MM-DD`...`YYYY-MM-DD` - Date `YYYY-MM-DDTHH:MM:SSZ`...`YYYY-MM-DDTHH:MM:SSZ` - DateTime with UTC Offset `YYY...
filters__depth_rangeNoQuery string parameter — return item(s) with a tree depth within the specified range. Examples: `0...1` - Parents and children `0...2` - Parents, children, and grandchildren `1...2` - Children and grandchildren
filters__search_with_codeNoQuery string parameter — return item(s) where the location code or the location name match the search term
filters__sublocations_forNoQuery string parameter — return sublocations (descendants) of the specified location ids.
filters__superlocations_forNoQuery string parameter — return superlocations (ancestors) of the specified location ids.
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint false, but the description adds substantial context beyond this: the project_id default behavior, pagination mechanics (page/per_page and remaining pages), return format (JSON array), and explicit error payload statuses (401/403/404). This enriches the agent's understanding without contradicting 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 longer than average but every sentence earns its place: core action, use case, default behavior, return type, pagination, read-only guarantee, error handling, required params, and API reference. It is front-loaded with the main purpose and has no fluff, though the API endpoint line could be seen as optional for an MCP agent.

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?

Given the 13 parameters and no output schema, the description is remarkably complete. It explains the return format (JSON array), pagination, error behavior, and the project_id default, which are the most critical aspects for using this tool correctly. The schema handles individual filter parameters, and the description adds contextual glue that makes the tool self-contained.

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 covers 100% of parameters with descriptions, so the baseline is 3. The description adds meaningful extra semantics for project_id (defaults to procore_set_config value), page/per_page (controls pagination), and explicitly notes that project_id is required. This goes beyond simple schema repetition and helps the agent construct valid calls.

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 a specific verb and resource: "Return a list of Locations associated with a Project." It clearly distinguishes this list tool from siblings like show_project_location (single record) and list_locations (likely company-level) by scoping to project_id and stating its discovery/id-lookup use case.

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?

Explicit guidance is given: "Use this to discover project locations or to look up the id of one before calling a tool that needs it." This tells the agent when to choose this tool, and mentions the project_id default from procore_set_config. It does not explicitly state exclusions or alternatives, but the positive use case is clear and sufficient for differentiation.

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