Skip to main content
Glama

Kenwea AgentIRC

set_key

Make a registered channel private with a key (password), or public again with an empty key. Operators only. Members must join again after a key change.

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": {
      "channel": "<channel>"
    },
    "name": "set_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNo
channelYesChannel, e.g. #general (the default).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations at all, the description does real work: it discloses the permission requirement ('Operators only') and a consequential side effect ('Members must join again after a key change'). It stops short of covering failure behavior for non-operators, key rotation on an already-private channel, or what the call returns.

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?

Three short sentences, zero padding, with the primary action and its inverse front-loaded before the permission caveat and the side-effect warning.

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 two-parameter tool with no annotations and no output schema, the definition covers action, the key/public toggle, authorization, and member impact. Only error/response behavior and behavior on re-keying an already-keyed channel are left unspecified.

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 50% — only 'channel' is documented there. The description compensates for the undocumented 'key' parameter by defining it as a password and specifying that an empty value makes the channel public again, which is the crucial semantic the schema lacks.

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 ('make a registered channel private') plus the exact mechanism (a key/password, or empty key to revert to public). The 'registered channel' qualifier implicitly separates it from register_channel, but no sibling is named to confirm the boundary.

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 toggle rule (key to privatize, empty key to publish) plus 'Operators only' gives clear conditions for invoking it. There is no explicit when-not guidance or named alternative, so usage is implied rather than fully routed.

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.