Skip to main content
Glama
TylerIlunga

Procore MCP Server

Create Cost Code

create_cost_code

Create a new cost code in a Procore project and receive its unique ID. Requires project ID and cost code object.

Instructions

Create a new Cost Code. Creates the cost code and returns it with its new id (HTTP 201); calling it again creates another record. 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, cost_code. Procore API: Construction Financials > Work Breakdown Structure. Endpoint: POST /rest/v1.0/cost_codes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cost_codeYesJSON request body field — cost Code object
project_idYesJSON request body field — unique identifier for the project.
sub_job_idNoJSON request body field — unique identifier for the Sub Job
Behavior4/5

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

Annotations already indicate non-read-only, non-idempotent, and non-destructive behavior. The description adds meaningful context: returns HTTP 201 with new id, explicitly states repeated calls create new records, and discloses common error statuses (401, 403, 404). This goes beyond the annotations without contradicting them.

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?

The description is compact, front-loaded with the core purpose, and every sentence adds value (return behavior, error handling, required params, API context, endpoint). No redundancy or 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?

For a 3-parameter creation tool with no output schema, the description covers the essential aspects: HTTP 201 response with id, non-idempotence, error payloads, required parameters, API category, and endpoint. It could be more complete by explaining what the cost_code object should contain, but the schema already labels it as a 'cost Code object'.

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 coverage is 100% with descriptive property texts, so the baseline is 3. The description reinforces that project_id and cost_code are required but provides no additional detail about the cost_code object's structure or accepted fields, which would have added value given the schema's open additionalProperties.

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 uses a specific verb and resource ('Create a new Cost Code') and clearly distinguishes from sibling tools by stating 'calling it again creates another record,' which establishes non-idempotent creation versus update/sync tools.

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?

It provides clear context on when to use this tool (to create a new cost code) and warns against accidental duplicates ('calling it again creates another record'). It lists required parameters and common failure statuses, but does not explicitly name alternatives like update_cost_code or explain when not to use it.

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