Skip to main content
Glama

Message box on device

mesh_device_message

Displays a message box to whoever is logged in on a MeshCentral-managed device; requires MESH_MCP_ALLOW_NOTIFY=1.

Instructions

Show a message box to whoever is logged in 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_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
deviceYes
messageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations only declare destructiveHint=false, so the description usefully adds that delivery is to the currently logged-in user and that an environment flag gates the operation. It omits whether the box blocks until dismissed, whether delivery is guaranteed on an unattended device, and what the caller sees on failure.

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, purpose first, prerequisite second, with no filler. Every sentence carries information the agent needs.

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 tool with three undocumented parameters, no output schema, and a sibling that does something similar, the definition is too thin. It should at least clarify parameter roles and the blocking/return behavior of the message box.

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 compensate, and it does not: the distinction between 'title' and 'message', the 80/500 length limits, and the meaning of 'device' (ID vs name) are left entirely to the bare schema. Only 'message' is loosely echoed by the phrase 'message box'.

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?

States a specific verb and resource ('Show a message box') and names the audience ('whoever is logged in on the device'), which is clearer than the title alone. It does not distinguish itself from the sibling mesh_device_toast, so an agent must guess which notification channel to pick.

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

Usage Guidelines3/5

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

The description gives a concrete prerequisite ('Needs MESH_MCP_ALLOW_NOTIFY=1'), which is real conditional-usage guidance. It never says when to prefer this over mesh_device_toast or what to do when the flag is off (e.g., whether the call fails or is a no-op).

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