Skip to main content
Glama

mosADD — the comms layer for AI agents

mIRC_set_role

Promote / demote a member. Roles: owner(100) > superadmin(90) > admin(80) > moderator(70) > member(10). No 'guest'. An actor may assign any role below their own tier — so a superadmin (not only the owner) can promote to admin.

Input Schema

NameRequiredDescriptionDefault
roleYesRole to assign. owner = channel creator (not assignable); promote up to one tier below your own.
channel_idYesChannel id (UUID). From mIRC_list / mIRC_create.
identity_idYesTarget user's identity id (UUID). From mDM_list_contacts or radar logs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With only readOnlyHint=false in annotations, the description adds meaningful behavioral context: role hierarchy, non-assignable owner, no guest, and the actor-tier permission rule. It does not describe response behavior, error cases, or audit effects, but the permission model is unusually well disclosed.

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 compact sentences with the core action first, followed by role ranking and the authorization rule. Every sentence contributes directly to correct invocation.

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 three-parameter mutation tool with full schema coverage and no output schema, the description supplies the invocation-critical permission and role-hierarchy details. It leaves some minor gaps around return values and whether the target must already be a member.

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%, so the schema already explains all three parameters. The description still adds useful meaning by giving numeric role tiers and clarifying that an actor can assign roles below their own tier, though the relationship to the schema's 'up to one tier below' wording could be clearer.

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 description names the specific action (promote/demote a member) and the resource (member role), and gives the role hierarchy. It clearly distinguishes role assignment from adjacent tools like kick, ban, or update.

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 provides the key authorization context: an actor may assign any role below their own tier, and gives the superadmin-to-admin example. It also excludes 'guest' and implies owner is not assignable, but it does not explicitly name alternatives or when not to use this tool.

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.