Skip to main content
Glama

pmg_when_object_add

Add a timeframe object (start/end times) to a PMG RuleDB 'when' object group. Supports dry-run planning before execution.

Instructions

MUTATION (LOW): add a timeframe object to a PMG RuleDB 'when' object group. Dry-run by default.

To create the group first use pmg_when_group_create; list its objects with pmg_when_group_objects. confirm=True executes and returns {"status": "ok", "result": <PMG's raw API response>}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endYesTimeframe end time in H:i format (e.g. '17:00').
startYesTimeframe start time in H:i format (e.g. '08:00').
ogroupYesNumeric 'when' object group ID (e.g. '4') from pmg_when_groups_list.
confirmNoFalse (default) returns a dry-run PLAN; True executes the mutation.
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
Behavior3/5

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

No annotations provided, so description carries full burden. It mentions 'MUTATION (LOW)' indicating destructive potential, and describes dry-run vs confirm behavior. However, it doesn't detail what dry-run returns or any permission requirements.

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?

Description is very concise (3 sentences), front-loaded with the main action, and efficiently communicates purpose, key usage notes, and execution detail.

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?

Given 5 parameters, no enums, and an output schema, the description adequately covers purpose, prerequisites, and execution flow. References sibling tools for context. Lacks detail on dry-run output but overall 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 coverage is 100%, so baseline is 3. Description adds minimal value beyond schema: it explains confirm behavior. No additional details on start/end format beyond schema.

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?

Description clearly states the tool adds a timeframe object to a PMG RuleDB 'when' object group. It specifies it's a mutation and distinguishes from siblings like pmg_when_group_create (which creates the group) and pmg_when_object_update/delete.

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?

Provides explicit guidance: use pmg_when_group_create first if group doesn't exist, and list objects with pmg_when_group_objects. Also explains confirm=True executes, default dry-run. Could be more explicit about when not to use vs alternatives.

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