Skip to main content
Glama

Assign content to screens

set_screen_content
DestructiveIdempotent

Set what screens play by default until it is changed again.

When to use:

  • Putting a playlist, schedule, app, media file or creative on one screen, a list, or every screen under a location.

When NOT to use:

  • A takeover that ends by itself: use start_takeover.

  • Changing what a playlist contains: use update_items (every screen playing it follows).

What to know:

  • Screens update within seconds. In a bulk call, screens the content is not shared to or whose location needs approval for it are skipped and counted (notShared, needsApproval); the rest change. Needs screen.cast.

Parameters:

  • screenId, screenIds and nodeId (every screen at and under it, up to 1000): give at least one; they combine into one set.

  • contentKind: playlist, schedule, layout, app, media or creative. null clears what plays and needs exactly one screen and no nodeId.

  • contentId: the playlist, schedule, layout, app, media or creative id from list_items; omit only with contentKind null.

  • Example: {nodeId:"on_ca", contentKind:"playlist", contentId:"pl_spring"}.

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": {
      "contentKind": "<contentKind>"
    },
    "name": "set_screen_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
nodeIdNoA location: every screen at it and under it gets the content. A location id comes from list_items kind locations.
groupIdNoEvery screen in this screen group (list_items kind screen_groups). Stands alone: not with screenId, screenIds or nodeId.
positionNoWith groupId: only the screens in this position of the group (index into its positions, 0 = the first, left). To set every position at once and keep it for screens that join later, use update_items kind screen_groups with positionContent.
screenIdNoThe one screen that gets the content. A screen id comes from list_items kind screens.
contentIdNoThe content to play, by id, from list_items of that kind. It must be of contentKind. Leave it out only to clear a screen, with contentKind null.
screenIdsNoThe screens that get the content, when there are several. Screen ids come from list_items kind screens.
contentKindYesThe kind of content that contentId names. A null value clears what one screen plays.

Output Schema

NameRequiredDescriptionDefault
changedNoIds of the screens that now play the content (or were cleared).
screensNoCalls for many screens or a location: the changed screens by name.
notSharedNoHow many screens were skipped because the content is not shared to their location.
needsApprovalNoHow many screens were skipped because their location needs an approval for this content.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / position
      Added value: +{
      +  "description": "With groupId: only the screens in this position of the group (index into its positions, 0 = the first, left). To set every position at once and keep it for screens that join later, use update_items kind screen_groups with positionContent.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / groupId
      Added value: +{
      +  "description": "Every screen in this screen group (list_items kind screen_groups). Stands alone: not with screenId, screenIds or nodeId.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / contentKind / enum
      Previous value: -[
      -  "playlist",
      -  "schedule",
      -  "app",
      -  "media",
      -  "creative",
      -  null
      -]New value: +[
      +  "playlist",
      +  "schedule",
      +  "layout",
      +  "app",
      +  "media",
      +  "creative",
      +  null
      +]
  4. Changed3 schema fields changed
    • changedInput schema / properties / contentId / description
      Previous value: -"The content to play, by id. It must be of contentKind."New value: +"The content to play, by id, from list_items of that kind. It must be of contentKind. Leave it out only to clear a screen, with contentKind null."
    • changedInput schema / properties / contentKind / description
      Previous value: -"The kind of content that contentId names, for example playlist or schedule."New value: +"The kind of content that contentId names. A null value clears what one screen plays."
    • changedInput schema / properties / screenIds / description
      Previous value: -"The screens that get the content, when there are several."New value: +"The screens that get the content, when there are several. Screen ids come from list_items kind screens."
  5. Changed11 schema fields changed
    • changedInput schema / properties / contentId / description
      Previous value: -"Content id."New value: +"The content to play, by id. It must be of contentKind."
    • changedInput schema / properties / contentKind / description
      Previous value: -"Content kind."New value: +"The kind of content that contentId names, for example playlist or schedule."
    • changedInput schema / properties / nodeId / description
      Previous value: -"Location id."New value: +"A location: every screen at it and under it gets the content. A location id comes from list_items kind locations."
    • changedInput schema / properties / screenId / description
      Previous value: -"Screen id."New value: +"The one screen that gets the content. A screen id comes from list_items kind screens."
    • changedInput schema / properties / screenIds / description
      Previous value: -"Screen ids."New value: +"The screens that get the content, when there are several."
    • addedOutput schema / description
      Added value: +"Which screens changed and how many were skipped, with the reason."
    • changedOutput schema / properties / changed / description
      Previous value: -"Screen ids whose content changed."New value: +"Ids of the screens that now play the content (or were cleared)."
    • removedOutput schema / properties / data
      Removed value: -{
      -  "description": "Single-screen call: the screen as it is now.",
      -  "type": "object"
      -}
    • changedOutput schema / properties / needsApproval / description
      Previous value: -"Screens skipped because their location needs approval for this content."New value: +"How many screens were skipped because their location needs an approval for this content."
    • changedOutput schema / properties / notShared / description
      Previous value: -"Screens skipped because the content is not shared to their location."New value: +"How many screens were skipped because the content is not shared to their location."
    • addedOutput schema / properties / screens
      Added value: +{
      +  "description": "Calls for many screens or a location: the changed screens by name.",
      +  "items": {
      +    "properties": {
      +      "id": {
      +        "description": "Screen id.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "description": "Screen name.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  6. Changed1 schema field changed
    • changedInput schema / properties / contentKind / enum
      Previous value: -[
      -  "playlist",
      -  "schedule",
      -  "app",
      -  "media",
      -  null
      -]New value: +[
      +  "playlist",
      +  "schedule",
      +  "app",
      +  "media",
      +  "creative",
      +  null
      +]
  7. Changed5 schema fields changed
    • changedInput schema / properties / contentId / description
      Previous value: -"The playlist, schedule, app or media id (list_items). Omit only with contentKind null."New value: +"Content id."
    • changedInput schema / properties / contentKind / description
      Previous value: -"Kind of content contentId names; null clears what one screen plays."New value: +"Content kind."
    • changedInput schema / properties / nodeId / description
      Previous value: -"Every screen at and under this location (list_items kind locations), max 1000."New value: +"Location id."
    • changedInput schema / properties / screenId / description
      Previous value: -"One screen id, from list_items kind screens."New value: +"Screen id."
    • changedInput schema / properties / screenIds / description
      Previous value: -"Many screens, max 200."New value: +"Screen ids."
  8. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that screens update within seconds, that bulk calls partially succeed while skipping screens not shared to or awaiting approval (counted as notShared/needsApproval), and that the screen.cast permission is required. The annotations only flag destructiveness and idempotency; the description adds the failure model and auth requirement, which is the harder information to infer.

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?

Labelled sections (When to use / When NOT to use / What to know / Parameters) front-load the decision-relevant content and make it skimmable. Slightly long, and the parameter bullets partially duplicate the schema descriptions, but no sentence is filler.

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?

For a destructive, open-world mutation with a nested-but-flat 7-parameter schema and an existing output schema, the definition covers the things that matter: partial-failure behavior in bulk calls, the permission needed, clearing semantics, and parameter combination rules. Return values are rightly left to the output 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 per-parameter basics are already documented. The description still adds real meaning: screenId, screenIds and nodeId combine into one set with at least one required, contentKind null clears playback and requires exactly one screen and no nodeId, and a worked example is given. It omits groupId and position from its own parameter list, leaving those to the schema, which keeps it from a 5.

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?

A specific verb and resource: setting which content screens play by default. The opening sentence also carries scope ('until it is changed again'), and the when/when-not blocks separate it cleanly from start_takeover (temporary takeover) and update_items (editing playlist contents).

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?

Explicit 'When to use' and 'When NOT to use' sections naming two alternatives with the condition that selects each: start_takeover for takeovers that end by themselves, update_items for changing playlist contents. This is exactly the routing guidance an agent needs.

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