Skip to main content
Glama

Send an event to screens

send_screen_event

Send a named event to the interactive content on screens.

When to use:

  • Interactive content waits for an event, for example to start a countdown or show a result.

When NOT to use:

  • Moving to a page or scene: use change_screen_page.

What to know:

  • Content that does not listen for the event ignores it. Needs screen.edit.

Parameters:

  • Example: {event:"start", payload:{seconds:30}, screenId:"scr_7"}.

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": {
      "event": "<event>"
    },
    "name": "send_screen_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventYesThe event name the content listens for.
payloadNoData sent with the event.
screenIdNoOne screen that gets the action. A screen id comes from list_items kind screens.
screenIdsNoThe screens that get the action, when there are several. Combined with screenId into one set; each screen gets it once.

Output Schema

NameRequiredDescriptionDefault
queuedNoHow many screens or devices it was sent to.
notSentNoThe screens or devices it was not sent to, and why.
commandIdsNoIds of what was sent, one per screen.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare the write profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false, openWorldHint=true), so the safety bar is covered. The description adds genuinely new behavior: content that doesn't listen silently ignores the event (a silent no-op, not an error) and the call requires screen.edit permission. It stops short of covering fan-out behavior across many screens or any throttling, so it falls just short of exhaustive.

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 content is front-loaded and sectioned into when-to-use, when-not-to-use, and constraints, so it scans quickly. The only slight wrinkle is a 'Parameters:' label wrapping what is actually a single example object, which is a minor mislabel rather than wasted space.

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

Completeness4/5

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

With four parameters, one required, nested payload, an output schema, and full annotations, the description supplies the missing pieces: intent, exclusion, permission requirement, and silent-ignore behavior. Only edge-case behavior at scale (up to 200 screens) is left to the schema.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3 and the schema already explains event, payload, screenId, and screenIds (including the merge/dedupe note). The description adds value with a concrete invocation example showing how event, payload, and screenId fit together in practice, which the schema alone does not illustrate.

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 first line states a specific verb and resource ('Send a named event to the interactive content on screens'), which immediately separates it from page-navigation siblings like change_screen_page. An agent can tell what it does without opening 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 Guidelines5/5

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

The definition gives explicit 'When to use' (interactive content waiting for an event, e.g. countdown or result) and 'When NOT to use' (page/scene changes go to change_screen_page). This is a named alternative plus the condition that selects it, so nothing is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources