Skip to main content
Glama

set_expiration_timer

Set or disable a disappearing-messages timer for a direct or group conversation. New messages auto-delete after specified seconds for automatic privacy.

Instructions

Set or disable the disappearing-messages timer for a direct or group conversation. Once set, all new messages auto-delete after expiration_seconds on both sides. Common values: 3600 (1h), 86400 (1d), 604800 (1w), 2592000 (30d). Set expiration_seconds=0 to disable disappearing messages entirely. Provide recipient for a direct conversation or group_id for a group — exactly one is required. The change is delivered to all participants and takes effect on new messages immediately; existing messages already sent are not affected. Use when you want automatic privacy for a sensitive conversation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expiration_secondsYesTimer in seconds (0 to disable). Common: 3600=1h, 86400=1d, 604800=1w
recipientNoPhone number for a direct conversation
group_idNoGroup ID for a group conversation
Behavior5/5

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

With no annotations, the description fully carries the burden. It discloses that messages auto-delete, existing messages are unaffected, changes are delivered to all participants, and how to disable (expiration_seconds=0).

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?

The description is front-loaded with the main action, then efficiently covers effects, special values, and constraints. Every sentence adds value without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description covers all necessary context: when to use, parameter constraints, common values, behavior on new vs existing messages. No gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 100% schema coverage, the description adds meaning: explains common expiration_seconds values, the exactly-one constraint between recipient and group_id, and the effect of setting 0.

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 uses specific verbs ('Set or disable the disappearing-messages timer') and clearly identifies the resource (conversations). It distinguishes from any sibling tool since no other sibling manages expiration timers.

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 explains when to use (set or disable timer) and provides common values. It does not explicitly state when not to use, but the context is clear given no similar sibling tools exist.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/googlarz/signal-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server