Skip to main content
Glama

delete_file_link

DestructiveIdempotent

Removes a file link from OpenProject without deleting the file in external storage; requires confirmation because the link removal cannot be undone.

Instructions

Delete a file link; this cannot be undone, but the file itself stays in the external storage.

Input Schema

NameRequiredDescriptionDefault
confirmNofalse: preview only, nothing changes. true: applies it; get the user's approval of the preview first.
file_link_idYesFile link id, from list_work_package_file_links.

Output Schema

NameRequiredDescriptionDefault
readyYes
stateYes
actionYes
resultYes
messageYes
file_link_idYes
work_package_idYes
validation_errorsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.4

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds real value by clarifying the blast radius: the action is irreversible yet the actual file in external storage survives. It omits the two-step preview/confirm behavior, which is a notable gap for an irreversible operation, but that is documented in the schema.

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?

A single compact sentence that front-loads the operation and appends the two facts that matter most (irreversibility, file retention). No waste.

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?

Output schema exists, so return values need no explanation, and the schema fully documents both parameters. The one missing piece is routing guidance among the many delete_* siblings, but for a simple two-param mutation the definition is otherwise sufficient.

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?

Schema description coverage is 100% – file_link_id points to list_work_package_file_links and confirm spells out the preview/apply semantics. The description contributes nothing about parameters beyond the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (delete a file link) and immediately scopes the effect by noting the underlying file remains in external storage, which distinguishes it from delete_attachment. It does not explicitly name the sibling tools, so differentiation is implied rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the destructive nature and the 'file link only' scope, but there is no explicit when-to-use/when-not or reference to alternatives such as delete_attachment or delete_work_package_wiki_link. The preview/confirm workflow is delegated entirely to the schema.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools