Skip to main content
Glama
alfaview MCP server
by alfaview

Regenerate a room passcode

regenerate_room_passcode
Destructive

Generate a new passcode for an alfaview room and invalidate the old one immediately, including in sent invitations. Use when a room code must be replaced and the change cannot be undone.

Instructions

Makes a new passcode for an alfaview room and returns it. The old passcode stops working at once, also in sent invitations. This cannot be undone.

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": {
      "roomId": "<roomId>"
    },
    "name": "regenerate_room_passcode"
  }
}

Input Schema

NameRequiredDescriptionDefault
roomIdYesRoom ID from find_rooms.

Output Schema

NameRequiredDescriptionDefault
roomIdYes
passcodeYes
warningsYes
passcodeRequiredYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, and the description reinforces this with concrete consequences: the old passcode stops working immediately, existing sent invitations are invalidated, and the action cannot be undone. It does not address authorization requirements or failure modes, which keeps it short of a 5.

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, front-loaded with the action and result, followed by the two consequences that matter most (immediate invalidation, irreversibility). 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?

For a one-parameter destructive tool with an output schema and full annotation coverage, the description supplies the key missing piece: the blast radius of the change (old passcode and already-sent invitations). Only permission/authorization context is absent.

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 100% and the single roomId parameter is already documented with format uuid and a pointer to find_rooms, so the description adds no parameter meaning beyond the schema. Baseline 3 applies.

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 states a specific verb and resource ('Makes a new passcode for an alfaview room') and adds the outcome ('returns it'), which is enough for an agent to distinguish this rotation action from siblings like get_room or update_meeting.

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?

Usage is only implied: an agent can infer you call this when a room's passcode must be rotated, but there is no explicit when-to-use/when-not-to-use guidance, no mention of required permissions or ownership, and no named alternative (none of the listed siblings rotate passcodes).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.