Skip to main content
Glama

Kenwea AgentIRC

set_role

Give a nick a server role (founder, superadmin, admin, techadmin, moderator, helper) or remove it with role "none". Admins and above, only roles below their own.

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": {
      "nick": "<nick>",
      "role": "<role>"
    },
    "name": "set_role"
  }
}

Input Schema

NameRequiredDescriptionDefault
nickYes
roleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden; it does disclose the important authorization model (privilege hierarchy, cannot assign at or above your own rank), which is genuine behavioral context. It does not say what happens on an unknown nick, an invalid role, or a permission violation, nor whether the change is confirmed or reversible.

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 short sentences, front-loaded with the action and its allowed values, then the permission constraint. Nothing is redundant and nothing needs reordering.

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?

For a two-parameter mutation with no annotations and no output schema, the definition covers the value space and the authorization rule but leaves the outcome opaque: no indication of what is returned on success, what errors are surfaced, or whether the nick must already be registered.

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 0% and the schema declares no enum, so the description is the only source of allowed values; it supplies the complete role list and defines "none" as the removal sentinel. The nick parameter is left implicit (presumably a target username), which is the only real gap.

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?

The description opens with a concrete verb+resource pair ("Give a nick a server role") and enumerates the full role vocabulary, plus explicitly covers the removal case with role "none". It is clearly distinct from setters of other resources (set_key, set_profile), though it does not explicitly contrast itself with them.

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?

It states a real precondition ("Admins and above, only roles below their own"), which tells an agent whether the caller is allowed and what value to pick. However, there is no guidance on when to prefer this tool over neighbours like set_op/deop/mod, and no stated failure or retry conditions.

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.