Skip to main content
Glama
TylerIlunga

Procore MCP Server

List Project WBS Segments

list_project_wbs_segments
Read-onlyIdempotent

List all Work Breakdown Structure segments for a given project, enabling you to discover WBS structure and obtain segment IDs before using them in other tools.

Instructions

All Segments for a given project. Use this to discover project WBS segments 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 WBS segments; 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: Construction Financials > Work Breakdown Structure. Endpoint: GET /rest/v1.0/projects/{project_id}/work_breakdown_structure/segments

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for paginated results (default: 1, 1-indexed)
per_pageNoNumber of items per page (default: 100, max: 100)
project_idYesURL path parameter — unique identifier for the project.
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint, destructiveHint), the description adds meaningful behavioral context: pagination with page/per_page, the default for project_id from procore_set_config, the JSON array return format, and specific HTTP error statuses (401/403/404). These details help an agent anticipate failures and handle results.

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 dense but efficient; every sentence contributes either purpose, usage, parameters, return type, or error handling. The opening line front-loads the core functionality, followed by practical lookup guidance and API context. It could be slightly shorter but no part is wasted.

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 list tool with no output schema, the description covers return type, pagination behavior, default parameter values, error handling, and API endpoint. It is fully self-contained and leaves no significant gap for an agent to guess about the tool's behavior.

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 describes each parameter (100% coverage), so the baseline is 3. The description adds value by explaining that project_id defaults to the configured value and that page/per_page control pagination, which is not in the schema. This extra semantic information justifies a score above baseline.

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 'All Segments for a given project' which clearly identifies the resource and scope. It distinguishes this tool from company-level siblings by stating 'for a given project', and provides a concrete use case: discovering WBS segments or looking up an id before calling another tool.

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?

The description explicitly states when to use the tool: to discover project WBS segments or fetch an id for downstream tools. It doesn't mention alternative tools like list_company_wbs_segments, but the project-scoped phrasing and the sibling names make the distinction clear enough.

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