Skip to main content
Glama
TylerIlunga

Procore MCP Server

Delete Markups

delete_markups
DestructiveIdempotent

Permanently remove specified markups from a Procore document. Provide company, project, viewer document, and markup IDs; this action cannot be undone.

Instructions

Deletes markups for a specific company, project, and document. Confirm the target id with the matching show or list tool before calling. company_id and project_id default to the values set by procore_set_config when omitted, and viewer_doc_id must identify an existing parent record — resolve it with the matching list tool first. Permanently removes the markup. This cannot be undone, and a repeat call returns 404. 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, project_id, viewer_doc_id, markups. Procore API (v2.0): Project Management > Document Markup. Endpoint: DELETE /rest/v2.0/companies/{company_id}/projects/{project_id}/viewer_documents/{viewer_doc_id}/markups

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
markupsYesJSON request body field — the markups for this Document Markup operation
company_idYesURL path parameter — unique identifier of the company
project_idYesURL path parameter — unique identifier of the project
viewer_doc_idYesURL path parameter — unique identifier of the viewer document
Behavior5/5

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

Beyond the destructiveHint annotation, the description adds irreversibility ('Permanently removes the markup. This cannot be undone'), idempotency behavior ('a repeat call returns 404'), and error payload details (401/403/404). It also notes defaulting of company_id and project_id, which is not in annotations. No contradiction with annotations; idempotentHint is compatible with a second call returning 404.

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 front-loads the core purpose in the first sentence and then packs necessary operational detail into each subsequent sentence: prerequisites, defaults, irreversibility, error behavior, required parameters, and API reference. No sentence is wasted, though it is longer than average.

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 delete operation with no output schema, the description covers invocation requirements (required params, defaults), prerequisites (id resolution), safety (permanence/irreversibility), error handling (status codes), and API location. The agent has enough information to correctly select and call this tool in its context.

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?

The input schema has descriptions for all four parameters, but they are minimal ('URL path parameter', 'JSON request body field'). The description adds meaning: company_id and project_id default to procore_set_config values, viewer_doc_id must be an existing parent record, and all four are required. However, the 'markups' array parameter is not explained in detail—what it should contain (presumably markup IDs) is left implicit. This is a gap, so baseline 3 is appropriate.

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 opens with a specific verb and resource: 'Deletes markups for a specific company, project, and document.' This clearly distinguishes it from sibling tools like modify_markups or list markups, and the scope is explicit. It is not a tautology and provides no ambiguity about the operation.

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 clear prerequisites: 'Confirm the target id with the matching show or list tool before calling' and 'viewer_doc_id must identify an existing parent record — resolve it with the matching list tool first.' It also explains defaulting behavior for company_id and project_id. It does not explicitly exclude alternatives like remove_an_existing_markup, but the guidance is actionable and 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