Skip to main content
Glama

pbs_apt_repository_add

Add a standard APT repository to a Proxmox Backup Server node. Dry-run returns a plan; confirm applies the change.

Instructions

MUTATION: add a standard repository to the configuration on a PBS node.

RISK_MEDIUM: adds a new package source — affects the NEXT upgrade's package provenance. CAPTURE: reads current repository state before planning (also readable directly via pbs_apt_repositories_get); if unreadable -> complete=False. No automatic revert: removing an added repository requires pbs_apt_repository_set to disable the resulting entry (there is no repository-delete endpoint). Proxmox's API deliberately does not expose upgrade execution; the upgrade itself happens at your console. This tool governs repo config only. Dry-run by default (returns a PLAN); confirm=True executes (PUT, Smoke-confirm) and returns {"status": "ok", "result": None}. Needs PROXIMO_PBS_* config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeNoPBS node name; defaults to 'localhost' (standard single-node PBS name).localhost
digestNoExpected SHA-256 content digest (64 hex chars) of the repositories file, for optimistic-concurrency conflict detection.
handleYesHandle identifying the standard repository to add (as returned by pbs_apt_repositories_get's standard-repos list, e.g. 'no-subscription'). PBS requires a lowercase-leading handle.
confirmNoFalse (default) returns a dry-run PLAN only; True executes the addition.
proximo_targetNoWhich configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations are provided, so the description carries the full burden. It discloses the mutation nature, risk level, effect on package provenance, dry-run/confirm flow, lack of revert, and configuration needs. This is highly transparent and sufficient for an agent to understand the tool's behavior.

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?

The description is a single paragraph with clearly separated concepts (purpose, risk, capture, revert, dry-run, config). It is front-loaded with the main action. While comprehensive, it could be slightly more concise, but every sentence adds value.

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?

Given the tool's 5 parameters and mutation nature, the description covers the risk, the dry-run/confirm workflow, the relationship with other tools, and configuration requirements. It provides all necessary context for safe and correct usage, even with an output schema present.

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 100% and the schema descriptions are detailed (e.g., handle parameter references pbs_apt_repositories_get). The description adds context about the confirm parameter's role in execution vs. dry-run. This goes beyond the baseline of 3 by providing operational context.

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 starts with 'MUTATION: add a standard repository to the configuration on a PBS node,' which clearly states the action and resource. It distinguishes from siblings by noting there is no delete endpoint and that removal requires pbs_apt_repository_set. It specifies 'standard repository' to clarify the scope.

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

Usage Guidelines5/5

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

The description explicitly explains the dry-run default and confirm=True execution, the absence of automatic revert, and the need to use pbs_apt_repositories_get for available handles. It mentions RISK_MEDIUM and the need for PROXIMO_PBS_* config, providing clear when-to-use and when-not-to-use guidance.

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/john-broadway/proximo'

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