Skip to main content
Glama

Set product groups

set_product_groups
Destructive

Replace the account's list of product groups (max 30 names, 50 chars each). Existing invoices keep the name they carry; removing a group changes no invoice. Returns the saved list of group names.

Input Schema

NameRequiredDescriptionDefault
product_groupsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, and the description usefully scopes that destructiveness: it only affects the group list, existing invoices retain their names, and removal changes no invoice. It also discloses the return value, which annotations alone cannot convey. Minor gap: no mention of permissions or whether an empty list clears all groups.

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?

Three short sentences, front-loaded with the action, followed by behavioral caveats and the return value. No wasted words; each sentence adds distinct information.

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?

There is no output schema, but the description states the return value (the saved list of group names), and it clarifies the blast radius of the destructive replacement. It is nearly complete for a one-parameter mutation, missing only edge-case guidance such as empty-list semantics or deduplication.

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 description coverage is 0%, so the description must carry meaning for the single parameter. It explains that the input is a list of group names and notes the max 30 names / 50 chars each limits, which mirror but reinforce the schema constraints. It does not address ordering, duplicates, or empty-array behavior.

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?

States a specific verb and resource: 'Replace the account's list of product groups'. This is clearly distinct from the read-only sibling get_product_groups, and the replace semantics are unambiguous.

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 makes clear this is a full replacement ('Replace the account's list'), implicitly routing reads to get_product_groups, and adds the crucial reassurance that removing a group does not alter existing invoices. It does not explicitly name the alternative tool or exclusions, keeping it just below a 5.

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.

Resources