Skip to main content
Glama

Remove a word group

delete_group
DestructiveIdempotent

Deletes one word group. Its words stay saved and only their membership in this group is removed. Requires the group's latest version. requestId makes retries idempotent.

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": {
      "requestId": "<requestId>",
      "languageCode": "<languageCode>",
      "groupId": "<groupId>",
      "expectedVersion": "<expectedVersion>"
    },
    "name": "delete_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupIdYes
requestIdYes
languageCodeYesCode of the learning language, for example en-GB or es-ES.
expectedVersionYesOpaque revision token from the latest read or save of this item. A stale token returns WORD_CHANGED or GROUP_CHANGED without saving.

Output Schema

NameRequiredDescriptionDefault
nameNo
statusNo
groupIdNo
versionNo
wordsDeletedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true and readOnly=false, so the safety profile is covered. The description still earns credit by disclosing the non-obvious consequence — words survive, only membership is deleted — and by tying requestId to retry safety, though it omits failure behavior for a missing/already-deleted group.

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?

Four short sentences, front-loaded with the action and its most surprising side effect, followed by the concurrency requirement and the idempotency escape hatch. No filler.

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?

Output schema exists, so return values need not be described, and annotations cover the destructive/idempotent profile. Scope, preservation semantics, version precondition and retry behavior are all present; only edge-case behavior (group not found, stale version outcome) is left to the schema.

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 50%: languageCode and expectedVersion carry their own descriptions, while groupId and requestId do not. The description adds meaning for requestId (idempotent retries) and reinforces the version precondition, but says nothing about groupId or how languageCode scopes the lookup, so it only partially compensates.

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 ("Deletes one word group") and immediately disambiguates scope: only group membership is removed while the words themselves remain. An agent can distinguish this from create_group/update_group/delete-word style siblings without opening a schema.

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?

Implies the usage context (removing a group) and states a prerequisite, the group's latest version, but gives no explicit when-to-use vs when-not guidance or routing to related tools such as the word-removal path. Guidance is inferable rather than spelled out.

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.