Skip to main content
Glama
TylerIlunga

Procore MCP Server

Add Comments To A Direct Issue.

add_comments_to_a_direct_issue

Add comments to a Direct Issue document in Procore. Provide the issue ID, company, and project to attach comments and receive the new comment record with its ID.

Instructions

Adds one or more comments to a Direct Issue document. company_id and project_id default to the values set by procore_set_config when omitted, and id must identify an existing parent record — resolve it with the matching list tool first. Creates the comment 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: id, company_id, project_id. Procore API (v2.0): Resource Management > Materials Management. Endpoint: POST /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/issuing/{id}/comments

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — the Direct Issue document ID.
company_idYesURL path parameter — the company identifier
project_idYesURL path parameter — the project identifier
Behavior5/5

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

Beyond the annotations (readOnly=false, idempotent=false), the description adds valuable behavioral context: it returns HTTP 201 with the new id, calling again creates another record, and failure returns an error payload with common HTTP statuses (401 expired token, 403 missing permission, 404 unresolved id). It also notes default config behavior, enhancing transparency.

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 dense but not overly verbose. It front-loads the primary purpose and then provides prerequisites, behavior, error handling, required parameters, and API endpoint. Each sentence contributes useful information, though the structure could be slightly improved for readability.

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

Completeness2/5

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

The description covers purpose, prerequisites, and error behavior, but it fails to explain how to provide the actual comment content. The input schema contains only path parameters, and the description does not clarify the request body. This is a critical omission—an agent cannot correctly invoke the tool without knowing what to send for the comment text.

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 describes all three parameters (id, company_id, project_id) with 100% coverage, providing a baseline of 3. The description adds meaningful context about defaults (company_id/project_id from procore_set_config) and resolution of id via a list tool. However, it omits how the comment content itself is supplied, which is a notable gap.

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 action ('Adds one or more comments') and the specific resource ('Direct Issue document'). It distinguishes this tool from other comment-adding tools by naming the resource type, and the verb is specific and unambiguous.

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?

The description gives explicit prerequisite guidance: 'id must identify an existing parent record — resolve it with the matching list tool first.' It also explains default behavior for company_id/project_id from procore_set_config. It does not explicitly name alternatives, but the tool's specific scope makes usage context clear.

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