Skip to main content
Glama
TylerIlunga

Procore MCP Server

List Company Roles

list_company_roles
Read-onlyIdempotent

Retrieve a paginated, filterable list of roles for a company in Procore without making any changes.

Instructions

Return a list of roles for a company. Use this when you already know which company role you want and need its full field set. company_id defaults to the value set by procore_set_config when omitted. Returns a single JSON object describing the company role. 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. Procore API (v2.0): Company Admin > Company Settings. Endpoint: GET /rest/v2.0/companies/{company_id}/roles

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoQuery string parameter — page number for pagination
per_pageNoQuery string parameter — number of items per page (default: 100, max: 100)
company_idYesURL path parameter — unique identifier for the company.
filters__users_onlyNoQuery string parameter — if true, returns only project roles of type contact.
Behavior3/5

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

Annotations already declare read-only and non-destructive. The description adds error behavior (401/403/404) and a company_id default, but the default contradicts the schema's required field, and the 'single JSON object' return type conflicts with the list nature. This adds some context but also misinformation.

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 somewhat long but front-loaded with the core purpose. Sentences are informative, covering usage, return type, safety, errors, and API location, though it could be tightened and avoid internal contradictions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description provides only a vague return type ('single JSON object') and doesn't explain the role fields or pagination behavior. It covers error handling and API endpoint, but for a 4-parameter list tool with no output schema, it leaves gaps about expected response structure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers all 4 parameters with descriptions, so baseline is 3. However, the description's claim that company_id defaults when omitted directly contradicts the schema's required constraint, reducing clarity. It fails to meaningfully enrich parameter understanding.

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 clearly states the tool 'Return a list of roles for a company' with a specific verb and resource. It distinguishes from sibling tools like list_project_roles by indicating company scope. However, the phrase 'Returns a single JSON object describing the company role' conflicts with the list semantics and slightly muddies the purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides a usage hint ('Use this when you already know which company role you want and need its full field set') and notes the company_id default, but does not explicitly mention alternatives or when not to use this tool. The usage hint is also somewhat inconsistent with a list operation.

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