Skip to main content
Glama
TylerIlunga

Procore MCP Server

Show Company WBS Segment

show_company_wbs_segment
Read-onlyIdempotent

Get a specific Procore company Work Breakdown Structure segment's full details by its ID. Use after listing segments to inspect a single record.

Instructions

Retrieves a single company WBS segment for the specified Procore company. Use this when you already know which company WBS segment you want and need its full field set. company_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 company WBS segment. 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, id. Procore API: Construction Financials > Work Breakdown Structure. Endpoint: GET /rest/v1.0/companies/{company_id}/work_breakdown_structure/segments/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — unique identifier of the Work Breakdown Structure resource
company_idYesURL path parameter — unique identifier for the company.
segment_item_list_idNoQuery string parameter — segment Item List ID
Behavior5/5

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

Beyond the readOnlyHint annotation, the description adds 'Read-only — it changes nothing in Procore,' details failure modes (401, 403, 404), the return type (single JSON object), and the defaulting behavior for company_id. This enriches the annotated safety profile with actionable 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Each sentence earns its place: purpose, usage, defaults, resolution, return type, safety, error handling, required params, and endpoint. Information is front-loaded with the main action and is free of fluff.

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, usage, parameters, errors, endpoint, and safety. The only gap is the absence of detailed return field descriptions, but since no output schema is provided and it's a straightforward 'show' tool, the description is sufficiently complete for selection and invocation.

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 already covers all parameters (100%), but description adds value by stating that company_id defaults to procore_set_config when omitted, that id must be an existing parent record, and explicitly listing required parameters. This goes beyond the schema's basic path/query descriptions.

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 'Retrieves a single company WBS segment for the specified Procore company,' using a specific verb and resource. It distinguishes from siblings like list_company_wbs_segments by explicitly scoping to a single known segment and referencing the 'full field set.'

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?

Provides explicit when-to-use guidance: 'Use this when you already know which company WBS segment you want and need its full field set.' It also instructs to resolve id via the matching list tool first and notes the company_id default from procore_set_config, giving clear context and prerequisites.

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