Skip to main content
Glama

Toast on device

mesh_device_toast

Displays a toast notification on a specified device, requiring MESH_MCP_ALLOW_NOTIFY=1 to enable notifications.

Instructions

Show a toast notification on the device. Needs MESH_MCP_ALLOW_NOTIFY=1.

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": {
      "device": "<device>",
      "message": "<message>"
    },
    "name": "mesh_device_toast"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
deviceYes
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

The description discloses a real behavioral gate not present in annotations: MESH_MCP_ALLOW_NOTIFY=1 must be set. That is genuine value beyond the single destructiveHint=false annotation. However, it does not say what happens when the flag is absent (silent no-op vs. error), whether the call blocks until the toast is shown, or how long the notification lasts.

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?

Two short sentences with the core action front-loaded and the environment prerequisite immediately after. Nothing is padded or redundant.

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 a three-parameter tool with zero schema descriptions and no output schema, the definition leaves the key unknown — the device identifier format — unexplained. The env-flag note is useful, but an agent still lacks enough to invoke this confidently against a specific device.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning and does not. It never explains how 'device' should be identified (ID, name, group), how 'message' relates to the optional 'title', or the practical effect of the maxLength/minLength limits.

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 concrete verb and resource ("Show a toast notification") plus the target ("on the device"), which clearly separates it from a message-sending sibling like mesh_device_message. It stops short of naming any sibling explicitly, so the differentiation is inferred rather than stated.

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?

There is no guidance about when a toast is preferable to sending a device message or running a command, and no exclusions or prerequisites beyond the env flag. The agent must guess the boundary between this and mesh_device_message on its own.

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