Skip to main content
Glama

Withdraw or Block a Qualification

withdraw_qualification
DestructiveIdempotent

Take a training qualification away from one or more people, with a reason. withdraw removes it and lets them earn it back by passing again. block removes it and bars them from earning it again: not even a later pass or trainer sign-off lifts a block, and the Knowledge Base article shows red for a blocked reader rather than amber. Both are recorded as rows rather than deletes, so the training record keeps showing that the person was qualified, who took it away, when, and why — which is what an audit asks for. Re-sending the same action for the same people changes nothing; sending the other one changes the standing decision.

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": {
      "moduleId": "<moduleId>",
      "emails": "<emails>",
      "action": "<action>",
      "reason": "<reason>"
    },
    "name": "withdraw_qualification"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYeswithdraw: they can qualify again. block: they cannot, ever, until somebody withdraws the block instead.
emailsYesThe people to act on, by email address.
reasonYesWhy the qualification is being taken away. Required, and stored on the record.
moduleIdYes

Output Schema

NameRequiredDescriptionDefault
resultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Well beyond the annotations (destructive, idempotent, open-world), the description discloses that removals are soft-deletes recorded as rows preserving prior qualification, actor, timestamp and reason, that a block cannot be lifted by a later pass or trainer sign-off, and that the Knowledge Base renders blocked readers red rather than amber. It also spells out exact idempotency semantics for repeated identical calls versus the opposing action. This is precisely the behavioral context annotations cannot carry.

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?

The core action and the withdraw/block split are front-loaded in the first sentence, and every subsequent clause carries usable information (irreversibility, audit retention, idempotency). It is dense and slightly long, with the KB colour detail being the closest to a dispensable flourish, but nothing is meaningfully redundant.

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?

With an output schema present, the description does not need to cover return values, and it compensates by covering side effects, audit persistence, idempotency and block irreversibility — the things an agent most needs for a destructive mutation. The remaining gap is the unexplained `moduleId` and no mention of permission or authorisation requirements for performing a withdrawal.

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 75% and the enum parameter is already documented in the schema, so the description's restatement of withdraw vs block adds modest extra framing rather than new semantics. It says the action applies to 'one or more people' (reinforcing the array nature of `emails`) and that a reason is required and stored, but it never explains what `moduleId` identifies, which is the one parameter left undocumented.

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 definition states a specific verb and resource (take a training qualification away) and immediately decomposes it into the two concrete modes, `withdraw` and `block`, with the distinguishing effect of each. An agent can tell exactly what the tool does and how the two modes differ without consulting any other source.

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?

It clearly frames the choice between the two actions (earn-back allowed vs permanent bar) and clarifies that re-sending the same action is a no-op while sending the other reverses the standing decision, which is strong guidance for repeat invocations. What it lacks is any explicit pointer to a sibling tool (e.g. when to prefer `withdraw_approval` or the training-administration tools instead), so the alternative-routing element is only partially covered.

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