Skip to main content
Glama
Procore MCP Server

Procore MCP Server

Set Runtime Configuration Value

procore_set_config
Idempotent

Sets the default company_id or project_id for later Procore API requests when the path omits one, enabling mid-session context switches without restarting the server.

Instructions

Sets the default company_id or project_id that later procore_call_api requests use when the path needs one and you omit it. Use it to switch project context mid-session instead of restarting the server, then call procore_get_config to confirm what took effect. Only 'company_id' and 'project_id' are accepted; both are coerced to integers, and a non-numeric value is reported back as a message rather than stored. The change lives in memory for this server process only — it is never written to disk and is lost on restart. Setting the same value twice is a no-op, and nothing in Procore is modified: this only changes which ids this server fills in for you. Returns a confirmation plus the full updated configuration.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "key": "<key>",
      "value": "<value>"
    },
    "name": "procore_set_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesWhich default to set. These are the only accepted keys; any other value is rejected.
valueYesThe id to store, as a string of digits (e.g. '12345'). Coerced to an integer; a non-numeric value is rejected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.0.0
    • changedInput schema / properties / key / description
      Previous value: -"Config key — currently 'company_id' or 'project_id'"New value: +"Which default to set. These are the only accepted keys; any other value is rejected."
    • addedInput schema / properties / key / enum
      Added value: +[
      +  "company_id",
      +  "project_id"
      +]
    • changedInput schema / properties / value / description
      Previous value: -"New value (string; numbers are coerced server-side)"New value: +"The id to store, as a string of digits (e.g. '12345'). Coerced to an integer; a non-numeric value is rejected."
  2. Changed2 schema fields changedv1.1.0
    • changedInput schema / properties / key / description
      Previous value: -"Config key: 'company_id' or 'project_id'"New value: +"Config key — currently 'company_id' or 'project_id'"
    • changedInput schema / properties / value / description
      Previous value: -"Config value"New value: +"New value (string; numbers are coerced server-side)"
  3. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses that the change is in-memory only, lost on restart, never written to disk, and does not modify anything in Procore. It also notes idempotent behavior when setting the same value twice and explains coercion and rejection of non-numeric values.

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 front-loaded with the tool's effect and then adds relevant behavioral details. It is somewhat longer than necessary because some coercion details repeat the schema, but every sentence contributes context.

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 simple two-parameter configuration tool with no output schema, the description covers scope, persisted-state behavior, accepted values, coercion, no-op behavior, return confirmation, and the recommended follow-up call. Nothing material is missing for correct invocation.

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%, so the enum and both parameter descriptions already document accepted keys and value coercion. The description reinforces that only company_id and project_id are accepted and that values are coerced to integers, but adds little beyond the schema.

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 states a specific verb and resource: it sets the default company_id or project_id used by later procore_call_api requests. It clearly distinguishes this local configuration tool from procore_get_config and the API-calling sibling.

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 explicitly says to use this to switch project context mid-session instead of restarting the server, and tells the agent to call procore_get_config afterward to confirm. It does not provide explicit when-not-to-use guidance beyond limiting accepted keys, so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.