Skip to main content
Glama
alfaview MCP server
by alfaview

Delete expired guest links

delete_expired_guest_links
Destructive

Deletes expired guest links for a room after their validity ended a set number of hours ago, preventing old links from slowing guest-link and attendance tools. This action cannot be undone.

Instructions

Deletes the alfaview guest links of one room whose validity ended at least expiredAtLeastHours ago, for example after webinars: old links slow down the guest link and attendance tools. Links without an end of validity stay. alfaview emails nobody. 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": "delete_expired_guest_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
roomIdYesRoom ID from find_rooms.
pageTokenNoThe nextPageToken of the previous result.
originContainsNoOnly links whose origin contains this text, in any case, for example Webinar.
expiredAtLeastHoursNoOnly links whose validUntil is at least this many hours ago. The attendance tools need the links, so keep 48 or more until the attendance is read.

Output Schema

NameRequiredDescriptionDefault
roomIdYes
completeYes
warningsYes
deletedCountYes
nextPageTokenYes
originContainsYes
remainingCountYes
expiredAtLeastHoursYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds real context: exactly what survives (links without an end of validity stay), that alfaview emails nobody (a side effect not encoded in annotations), and that the operation cannot be undone. It does not explain how pagination interacts with deletion (e.g., whether one call clears a page or all matching links), which matters for a bulk destructive tool.

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?

Four short sentences, front-loaded with the verb and scope, and each sentence contributes something (scope, exclusion, side effect, irreversibility). The first sentence is slightly clunky and the 'slow down the guest link and attendance tools' phrasing is awkward, but nothing is wasted.

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?

An output schema exists, so return values need no explanation, and annotations carry the safety profile while the description covers scope, exclusions, side effects, and irreversibility. The main missing piece is pagination/batching behavior for a destructive bulk operation, plus no mention of required permissions.

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 description coverage is 100%, so all four parameters are already documented with examples and bounds; the description mostly restates expiredAtLeastHours in prose and uses 'for example after webinars' as a scenario that loosely hints at originContains. It adds no new semantics for pageToken or the exact matching rules beyond what the schema supplies.

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?

States a specific verb (Deletes) plus a precisely scoped resource: alfaview guest links of one room whose validity ended at least expiredAtLeastHours ago. The bulk/expired scope implicitly distinguishes it from the sibling delete_guest_link, and an agent can decide between them from the text alone.

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?

Gives clear context for when to call it (after webinars, because old links slow down the guest link and attendance tools) and a caution to keep the threshold at 48+ hours until attendance has been read. It stops short of explicitly naming delete_guest_link as the alternative for single-link removal, so there is a small inference gap.

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