Skip to main content
Glama

Weblate MCP by usefulapi

Run a repository operation

weblate_repository_operation
Destructive

WRITE: commit (write pending translations into the local repository), pull (merge upstream changes) or push (publish committed changes to the remote repository) for a project or one component. Push changes the remote repository. reset and cleanup are not offered. POST /api/projects/{project}/repository/ or /api/components/{project}/{component}/repository/.

Input Schema

NameRequiredDescriptionDefault
projectYesProject slug (the URL name, for example 'hello').
componentNoOmit to run the operation on every component of the project.
operationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, openWorldHint=true and idempotentHint=false, so safety is covered. The description adds real value beyond that by disclosing which operation touches the remote ('Push changes the remote repository') and which are local-only, plus the explicit omission of reset/cleanup.

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

Conciseness4/5

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

Front-loaded with the WRITE classification and the three operation meanings in a single dense sentence, with constraints and endpoint following. Efficient overall, though the raw REST endpoint paths at the end are marginal value for an agent that invokes tools rather than HTTP.

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?

For a three-parameter mutation tool with no output schema, the description covers the operations, scope, remote-vs-local effects, and excluded variants. What it omits is the return behavior — whether the operation is synchronous, what a success/failure response looks like — which matters for a non-idempotent write.

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 coverage is 67% and the operation enum has no schema-level descriptions, so the description carries meaningful weight by defining commit/pull/push in prose. The component parameter's omitting behavior is already in the schema, but the description reinforces the project-or-component scope. The project parameter itself gets no extra meaning.

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 'WRITE:' and names a concrete verb class with an explicit enumeration of what each operation does (commit writes pending translations locally, pull merges upstream, push publishes to remote). This clearly separates it from the read-only sibling weblate_get_repository_status.

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?

It states the scope (a project or one component) and gives a useful negative constraint ('reset and cleanup are not offered'), which prevents wasted calls. It does not explicitly contrast with weblate_get_repository_status or explain when a commit is even needed (e.g., after updating translations), so it falls short of full when/when-not guidance.

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.