Skip to main content
Glama
TylerIlunga

Procore MCP Server

Delete A Company Office

delete_a_company_office
DestructiveIdempotent

Delete a company office permanently by specifying the office ID and company ID. Verify the ID with a list tool first, because this action cannot be undone.

Instructions

Deletes an Office associated to a Company. Confirm the target id with the matching show or list tool before calling. id must identify an existing parent record — resolve it with the matching list tool first. Permanently removes the company office. 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: id, company_id. Procore API: Company Admin > Company Settings. Endpoint: DELETE /rest/v1.0/offices/{id}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesURL path parameter — unique identifier of the Company Settings resource
company_idYesQuery string parameter — unique identifier for the company.
Behavior5/5

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

Annotations already mark destructiveHint and idempotentHint; description adds context that deletion is permanent, cannot be undone, and a repeat call returns 404. Also discloses error payload format and common HTTP statuses, which goes beyond the annotations. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is well-structured with action first, then prerequisites, permanence, errors, and endpoint. However, it repeats the id resolution instruction twice ('Confirm the target id' and 'resolve it with the matching list tool'), and includes API endpoint and path that may be unnecessary for an agent. Still, each section is relevant and readable.

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?

Covers prerequisites, permanence, repeat-call behavior, failure modes, required parameters, and API context. For a simple delete tool with 2 params and no output schema, this is comprehensive. No major gaps.

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?

Schema already covers both parameters with descriptions (100% coverage). Description adds guidance that id must identify an existing parent record and should be resolved via the list tool, adding practical semantics beyond the schema. The 'Required parameters' repetition adds little, but the resolution guidance is valuable.

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?

States clearly 'Deletes an Office associated to a Company' with a specific verb and resource. Distinguishes from related office tools (list/show/update) through the destructive action. Also clarifies permanent removal.

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?

Explicitly instructs to confirm the target id with the matching show/list tool before calling and to resolve id with the matching list tool. Provides error status guidance (401/403/404), implying when the call will succeed. Does not explicitly contrast with update_company_office, but the delete context is 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