Skip to main content
Glama

pmg_who_object_update

Update a 'who' object in a PMG RuleDB group. Specify object ID, type, and new values; dry-run by default, execute with confirm=true.

Instructions

MUTATION (MEDIUM): update an object in a PMG RuleDB 'who' object group. Dry-run by default.

id_ comes from pmg_who_group_objects; type_ must match the object's existing type. Only non-None fields are sent, others keep their current value. confirm=True executes and returns {"status": "ok", "result": <PMG's raw API response>}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipNoNew IP address; used when type_='ip'.
id_YesObject ID (numeric string) from pmg_who_group_objects.
cidrNoNew CIDR network; used when type_='network'.
modeNoLDAP lookup mode; used when type_='ldap'.
emailNoNew email address; used when type_='email'.
groupNoLDAP group name; used when type_='ldap'.
regexNoNew regex pattern; used when type_='regex'.
type_YesObject type: email|domain|regex|ip|network|ldap — selects which sub-path/fields apply.
domainNoNew domain; used when type_='domain'.
ogroupYesNumeric 'who' object group ID (e.g. '2') from pmg_who_groups_list.
confirmNoFalse (default) returns a dry-run PLAN; True executes the mutation.
profileNoLDAP profile name; used when type_='ldap'.
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?

With no annotations, the description discloses key behaviors: dry-run by default (safety), partial update (only non-None fields sent), confirm flag behavior, and return format for confirm=True. It also notes the mutation level 'MEDIUM'. This fully covers what an agent needs to know about side effects and safety.

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?

The description is three sentences long, each carrying essential information: core action and dry-run, key constraints, confirm behavior. No unnecessary words, and the structure is logical.

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 13 parameters and a mutation with dry-run, the description covers the core update logic well. It references sources for id_ but not for ogroup (though schema covers it). Output schema exists, so return value explanation is not required. Slight gap: could mention that dry-run returns a plan. Otherwise complete.

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%, so baseline 3. The description adds value by explaining that 'id_ comes from pmg_who_group_objects' and 'type_ must match the object's existing type', which are not in the schema. Also clarifies that 'only non-None fields are sent', affecting how update parameters work.

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 clearly states the verb 'update' and the resource 'object in a PMG RuleDB 'who' object group'. It distinguishes from sibling tools like add and delete by specifying 'update'. The mention of 'dry-run by default' further clarifies the action.

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?

The description provides context for usage: 'id_ comes from pmg_who_group_objects; type_ must match the object's existing type' and explains the dry-run and confirm behavior. However, it does not explicitly state when to use this tool versus alternatives (e.g., pmg_who_object_add or pmg_who_object_delete), though it is implied by the name and purpose.

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