Skip to main content
Glama

Update banned phrase group

filters_banphrases_update
Idempotent

Update a banned phrase group by saving its name, phrases, enabled state, and timeout after editing the group returned by filters_list.

Instructions

Update a banned phrase group (its name, phrases, enabled state and timeout). Send the group as returned in filters_list's banphrases list, with your changes applied.

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": {
      "groupId": "<groupId>",
      "group": "<group>"
    },
    "name": "filters_banphrases_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupYesThe banned phrase group to save
channelNoStreamElements channel id (24-char hex). Defaults to SE_CHANNEL_ID or the channel that owns the token.
groupIdYesBanned phrase group id (24-character hex id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context beyond that: the payload must be the full group object echoed back from filters_list with edits applied, implying full-object replacement rather than a partial patch. It stops short of saying what happens to fields omitted from the object.

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?

Two sentences, no waste, and the action plus the mutable fields are front-loaded before the construction instruction. Every clause earns its place.

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?

For a mutation tool with an untyped nested object and no output schema, the description supplies both the object's fields and how to build it, which is what an agent needs to call it. It could be slightly more complete about full-replacement semantics and the response, but the essentials are present.

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%, but the critical nested `group` object has additionalProperties:{} with no field definitions, so the schema alone leaves its contents opaque. The description compensates by naming the inner fields (name, phrases, enabled state, timeout), adding meaning the schema does not. It is not exhaustive about the object's full shape.

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+resource ("Update a banned phrase group") and enumerates the mutable fields (name, phrases, enabled state, timeout), so the agent can tell it apart from filters_banphrases_create/delete and filters_update. It does not explicitly name those siblings, but the name and fields make the intent 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?

"Send the group as returned in filters_list's banphrases list, with your changes applied" gives a concrete read-modify-write workflow and points at the sibling that supplies the input. It lacks an explicit when-not or alternative-selection rule, but the construction guidance is strong and actionable.

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

Deploy Server

Other Tools