Skip to main content
Glama
StreamPilot
by nulldk

set_group

Destructive

Save or replace a named group's members, or delete the group by submitting an empty member list. Use it to update group membership in StreamPilot.

Instructions

Save or replace a group's members. An empty list deletes the group.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "members": "<members>"
    },
    "name": "set_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
membersYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the deletion risk is flagged structurally. The description earns credit for explaining the specific trigger (empty list deletes the group), which annotations do not convey. But it does not say whether a nonexistent name creates a group, what happens to addons/options on replacement, or what permissions are required.

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?

Two short sentences, front-loaded with the core action and followed immediately by the destructive edge case. No filler, though it is arguably too terse given the gaps elsewhere.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and annotations cover the safety profile. Still, for a destructive upsert-style tool, the description omits whether an unknown name is created, and whether replacing members disturbs related group addons/options.

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 description coverage is 0%, so both parameters are undocumented in the schema. The description clarifies 'members' meaningfully (an empty array deletes), but says nothing about 'name' — e.g., whether it identifies an existing group or creates a new one — leaving half the parameters unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Save or replace a group's members.' The word 'members' distinguishes it from siblings like set_group_addons and set_group_options, though it never names those siblings explicitly.

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

Usage Guidelines3/5

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

The description implies when to use it (when you want to set membership wholesale), and the replace semantics hint that it overwrites rather than appends. However, it never explicitly contrasts with set_group_addons/set_group_options or tells the agent to use list_groups first.

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