Skip to main content
Glama
nhantruong96

trimble-connect-mcp

by nhantruong96

tc_delete_item

Destructive

Delete a folder or file in Trimble Connect. This destructive action requires confirm=true and write access. Use force to remove non-empty folder trees; no API restore exists.

Instructions

Delete a folder or a file. DESTRUCTIVE — there is no undo via the API.

Trimble Connect deletes are soft (an admin can restore from the web UI), but this API offers NO restore endpoint. Requires TC_ENABLE_WRITE=1 AND confirm=true. Always show the user what will be deleted first.

Args: project_id: Project ID. item_id: Folder or file ID. confirm: Must be true — safety gate. item_type: "FOLDER" (default) or "FILE". force: Required to delete a folder that is NOT empty (deletes the whole subtree, runs as a background job).

Returns: {"deleted": true, ...} or an error explaining what is missing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNo
confirmNo
item_idYes
item_typeNoFOLDER
project_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false, but the description adds substantial behavioral detail: no undo via API, Trimble Connect's soft-delete nuance, admin web-UI restore, the force flag's background deletion of the whole subtree, and the confirmation safety gate. This is far beyond the structured annotations.

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 most critical information (destructive, no undo), then details prerequisites, parameter semantics, and the return value. Every sentence earns its place—no filler—and the structured 'Args' section makes it scannable.

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?

This is a destructive operation with several caveats: irreversibility, confirmation requirements, environment variable gate, force semantics, and background jobs. The description covers all of these, and an output schema is available for return-value details. It is complete for a high-risk tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description compensates fully by explaining all five parameters: project_id, item_id, confirm as a safety gate, item_type defaulting to FOLDER versus FILE, and force required for non-empty folder subtree deletion. It also notes the return shape, giving agents the semantic context missing from 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 opens with a specific verb and object—'Delete a folder or a file'—clearly identifying the tool's operation. It distinguishes itself from sibling tools like tc_create_folder, tc_move_item, and tc_rename_item by explicitly naming the deletion scope.

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 operational conditions: TC_ENABLE_WRITE=1, confirm=true, and the need to always show the user what will be deleted. It explains when force is required. It does not explicitly name alternative tools or state when not to use the tool, but the safety and prerequisite guidance strongly imply the intended usage context.

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/nhantruong96/trimble-connect-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server