Skip to main content
Glama
TGLEEEE
by TGLEEEE

send_notification_with_buttons

Send structured notifications with up to 4 inline action buttons. Users tap a button to reply instantly, then capture their choice or typed reply with wait_for_reply.

Instructions

Send a structured notification with up to 4 inline action buttons.

Buttons let the user reply with a single tap instead of typing. After sending, call wait_for_reply to capture the chosen button or typed reply.

Button design guidelines:

  • Provide 2–4 buttons with clear, action-oriented labels.

  • Keep each label under 30 characters.

  • Buttons are suggestions — users can always type a custom reply instead.

  • Use emoji prefixes in labels to aid scannability (e.g. '✅ Approve', '❌ Cancel').

Args: event : Event type — 'completed', 'error', 'progress', or 'question'. summary : One-line summary (≤200 chars). buttons : List of 1–4 button label strings. Each label becomes the button text AND the callback payload. details : Optional additional context or instructions for the user. icon : Optional emoji to override the default event icon.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventYes
summaryYes
buttonsYes
detailsNo
iconNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries full burden. It explains buttons are suggestions, users can type replies, and gives design guidelines (2-4 buttons, under 30 chars, emoji prefixes). It also notes that button labels become callback payloads.

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 concise and well-structured: a purpose sentence, bulleted guidelines, and an Args list. Every sentence adds value with no 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 the tool has 5 parameters (3 required) and an output schema, the description covers all parameter semantics, workflow integration with wait_for_reply, and button design constraints. It is complete for an agent to use correctly.

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?

Schema coverage is 0%, but the description compensates with an 'Args' section detailing each parameter: event enum, summary length ≤200, buttons list constraints (1-4 items, labels under 30 chars, payload behavior), details and icon optional with descriptions.

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 clearly states the tool sends a structured notification with up to 4 inline action buttons. This distinct purpose differentiates it from siblings like send_notification and send_message.

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?

The description explicitly states to call wait_for_reply after sending, providing clear workflow guidance. It doesn't explicitly exclude sibling tools but the context is clear.

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/TGLEEEE/tgbot-mcp'

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