Skip to main content
Glama

Get pending changes

omv_get_pending_changes
Read-only

Show staged OpenMediaVault configuration changes waiting to be applied, including affected modules and changes made by this server, so you can review them before applying without modifying the NAS.

Instructions

What is staged on the NAS and not applied yet: call this, and show it to the person, before omv_apply_changes. Use it when asked "what is waiting to be applied?" or "what did you change?", and before omv_apply_changes. dirty says OMV has configuration changes waiting; modules names the parts of the configuration they touch (as OMV names them, such as samba or nfs). staged_by_this_server lists, one line each, the changes this server made since the last apply or revert (the tool and the arguments it was called with); changes made in the web interface, or before this server restarted, are pending too but are not in that list. Nothing here changes the NAS.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "omv_get_pending_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
dirtyYes
detailYes
modulesYes
staged_by_this_serverYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the closing line "Nothing here changes the NAS" reinforces that. Beyond the annotations it adds a genuinely non-obvious caveat: changes made in the web interface or before a server restart are pending but absent from staged_by_this_server, which prevents an agent from misreporting an empty list as 'no changes'.

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 core definition, then usage, then field semantics. The only waste is the phrase "before omv_apply_changes" appearing twice, once in the opening sentence and again at the end of the second; trimming one would tighten it without losing information.

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?

An output schema exists, so field-by-field explanation is not strictly required, yet the description still clarifies the three named fields and their limits, which is exactly the ambiguity an agent would hit. Nothing needed to call this correctly is missing.

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?

The tool takes no parameters, so the baseline is 4; there is no parameter meaning the description could add or omit. The description instead spends its space on output semantics, which is the right allocation for a zero-argument tool.

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?

Opens with a precise definition of the resource: what is staged on the NAS and not applied yet. It is immediately distinguishable from omv_apply_changes and omv_revert_changes, which it names directly, so an agent can select it without opening any schema.

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?

Gives explicit triggers, quoting the user phrasings "what is waiting to be applied?" and "what did you change?", and states the ordering constraint relative to omv_apply_changes. It also instructs surfacing the result to the person, which is a usage rule, not just a description.

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