Skip to main content
Glama

LingoHub MCP by usefulapi

Delete resource file

lingohub_delete_resource
DestructiveIdempotent

WRITE, DESTRUCTIVE: delete a resource container: the source-language file AND all its target-language files with their translations. file_name and path must address the source-language file. This cannot be undone through the API. Never retried. DELETE .../projects/{project_url}/resources/{file_name}.

Input Schema

NameRequiredDescriptionDefault
pathNoFolder of the source-language file.
branchNoProject branch name. Default: the project's default branch. An unknown branch is HTTP 422.
file_nameYesFile name of the SOURCE-language file, as list_resources shows it.
project_urlYesProject URL slug (e.g. "feature-demo"); list_projects returns it as project_url.
workspace_urlYesWorkspace URL slug (e.g. "lingohub-demo"); list_projects returns it as workspace_url.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the cascade (target-language files and their translations are also destroyed), that the action is irreversible through the API, and that it is never retried. These are exactly the facts an agent needs before invoking a destructive call.

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?

Front-loaded with the WRITE, DESTRUCTIVE marker, then scope, then constraints, then the endpoint. Every sentence carries information an agent would otherwise have to guess.

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 destructive, no-output-schema tool, the description covers blast radius, irreversibility, retry policy, and the endpoint. Nothing essential to safe invocation is missing.

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 coverage is 100%, so the parameters are already fully documented, including that file_name is the SOURCE-language file. The description reinforces the source-file addressing constraint but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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 a specific verb and resource ('delete a resource container') and immediately expands the scope: the source-language file AND all its target-language files with translations. This is clearly distinguishable from siblings like lingohub_download_resource or lingohub_upload_resource_file.

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?

Gives the key precondition that file_name and path must address the source-language file, which is the main way to misuse this call. It does not explicitly name an alternative (e.g. delete individual target files or replace via upload), so guidance is strong but not complete.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.