Skip to main content
Glama
TylerIlunga

Procore MCP Server

Show Company Segment Item

show_company_segment_item
Read-onlyIdempotent

Retrieve a company segment item's complete field set using company, segment, and item IDs. This read-only tool inspects a single Work Breakdown Structure record without changing Procore data.

Instructions

Return details on a specific Company Segment Item. Use this when you already know which company segment item you want and need its full field set. company_id defaults to the value set by procore_set_config when omitted, and segment_id, id must identify existing parent records — resolve them with the matching list tool first. Returns a single JSON object describing the company segment item. 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, segment_id, id. Procore API: Construction Financials > Work Breakdown Structure. Endpoint: GET /rest/v1.0/companies/{company_id}/work_breakdown_structure/segments/{segment_id}/segment_items/{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_idYesURL path parameter — unique identifier of the segment
standard_cost_code_list_idNoQuery string parameter — standard Cost Code List ID (required for cost codes only)
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint. Description reinforces read-only and adds substantial behavioral context: return format (single JSON object), error payload structure with common HTTP status codes (401/403/404), and the endpoint path. This goes beyond the annotation baseline.

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?

Description is organized into clear sections: purpose, use case, parameter notes, return type, safety, error handling, required params, API reference. Every sentence adds value; no redundancy or padding despite its 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?

Tool is relatively simple (4 params, no output schema, no enums) but description compensates by explaining error codes, return format, parameter prerequisites, and the exact API endpoint. It doesn't enumerate return fields, but for a show tool with annotations present, 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 covers all 4 parameters with descriptions (100% coverage), so baseline is 3. Description adds useful context: company_id defaults to procore_set_config value, and segment_id/id must reference existing parent records resolved via list tool. However, it contradicts the schema by listing company_id as required while stating it defaults when omitted, which could confuse the agent.

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 opens with 'Return details on a specific Company Segment Item' — a specific verb and resource. It distinguishes from list/create/update siblings by stating it's for a single known item and references the matching list tool for resolution.

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: 'when you already know which company segment item you want and need its full field set.' Also directs users to resolve IDs with the matching list tool first, and notes company_id default behavior. Provides clear context without naming explicit exclusions.

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