Skip to main content
Glama
TylerIlunga

Procore MCP Server

Get Next Available Number

get_next_available_number
Read-onlyIdempotent

Retrieve the next available submittal number for a Procore project. Use this to get the full field set for a known next number; requires project_id.

Instructions

Returns the next available number. See Get Next Available Number By Spec Section if number submittals by spec section is enabled. Use this when you already know which next available number you want and need its full field set. project_id defaults to the value set by procore_set_config when omitted. Returns a single JSON object describing the next available number. 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: project_id. Procore API (v1.1): Project Management > Submittals. Endpoint: GET /rest/v1.1/projects/{project_id}/submittals/next_available_number

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesURL path parameter — unique identifier for the project.
Behavior4/5

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

The description supplements the annotations (read-only, idempotent, non-destructive) by stating 'Read-only — it changes nothing in Procore' and detailing failure modes ('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'). It also discloses the defaulting behavior of project_id and the return format, adding value beyond the annotation hints.

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 compact and well-structured, beginning with the core action, then layering sibling differentiation, usage guidance, default behavior, read-only confirmation, error patterns, and API context. Every sentence contributes relevant information, though the length is slightly higher than minimal due to the comprehensive detail packed in.

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?

Given a simple one-parameter tool with no output schema, the description covers purpose, usage, defaults, error behavior, and return shape. It even includes the Procore API path and version. The only minor gap is the lack of specific fields in the returned JSON object, but this is minor for an agent selecting and invoking the tool.

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?

The schema already fully covers the single parameter project_id, but the description adds important meaning by stating it 'defaults to the value set by procore_set_config when omitted.' This is not present in the schema and informs the agent that the parameter can be omitted in certain contexts, exceeding the baseline expected from high schema coverage.

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 clearly states the tool returns the next available number and explicitly differentiates it from the spec-section variant by naming 'Get Next Available Number By Spec Section' and explaining when to use which. It also describes the return type (single JSON object) and pinpointing the endpoint, making the purpose unambiguous.

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?

The description provides explicit selection guidance: 'See Get Next Available Number By Spec Section if number submittals by spec section is enabled' and 'Use this when you already know which next available number you want and need its full field set.' It also notes the project_id default behavior and required parameters, giving clear context for when to invoke this tool and when to choose an alternative.

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