Skip to main content
Glama

interact_story

Idempotent

Mark stories as viewed, send or clear emoji reactions, or use stealth mode to erase recent and hide future views on active Telegram stories.

Instructions

Mark a story as viewed or send a reaction to an active story.

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": {
      "action": "<action>"
    },
    "name": "interact_story"
  }
}

Input Schema

NameRequiredDescriptionDefault
pastNoErase recent view history (for `stealth`, default `true`).
peerNoTarget peer reference (required for `read` and `react`; subject to `send_whitelist`).
emojiNoReaction emoji (`react`; omit to clear reaction).
actionYesInteraction verb (`read`, `react`, or `stealth`).
futureNoHide future story views temporarily (for `stealth`, default `true`).
max_idNoHighest story ID marked as read (for `read`).
story_idNoTarget story ID (for `react`).
add_to_recentNoAdd reaction to recent list (for `react`, default `false`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare non-readonly, open-world, idempotent, and non-destructive behavior. The description adds little beyond that: it does not disclose the stealth action's erasure/hiding of view history or the peer whitelist restriction, both of which are important side effects.

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?

The description is a single front-loaded sentence with no wasted wording. However, its brevity contributes to missing an entire supported action mode rather than achieving efficient completeness.

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

Completeness2/5

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

For an 8-parameter, multi-action tool with no output schema, the description is incomplete: it names only two of the three actions and omits key behavioral and parameter context. The rich schema covers details, but the description itself does not adequately orient an agent to the full tool.

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 parameter meaning is primarily carried by the schema. The description loosely maps 'mark as viewed' to the read action and 'send a reaction' to react, but adds no further parameter detail and does not cover stealth-related parameters.

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?

The description gives a specific verb and resource: marking a story as viewed or sending a reaction to an active story. It is clear enough to distinguish the tool from retrieval siblings like get_stories, but it omits the stealth action supported by the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description states the tool's functionality but gives no guidance on when to use read versus react versus stealth, nor when to prefer this tool over alternatives. The only contextual clue is 'active story'.

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