Skip to main content
Glama

Check one screen's health

get_screen_status
Read-onlyIdempotent

Explain the state of one screen.

When to use:

  • Why a screen shows what it shows, why it is blank or wrong, when it was down, or what its TV did.

When NOT to use:

  • A screen's settings, tags or assigned content: use get_items kind screens.

  • Many screens: use get_fleet_report. A picture: use capture_screenshot. A fix: use refresh_screens, then reboot_screens.

What to know:

  • Reads what the screen already reported and never contacts it, so it answers for offline screens. Needs screen.view.

Parameters:

  • screenId: one scr_… id from list_items kind screens.

  • view: why (the source on screen: deactivated, emergency, takeover, schedule or default); diagnose (likely cause plus a checklist; guided:true marks a TV/input/cable guess, not a reading); outages (each outage with length and cause); tv (TV off, other input, cable lost; Signage Sticks only).

  • days: outages default 30; tv default and max 14. limit: default 50; max 200 for outages, 500 for tv. Both are ignored for why and diagnose.

  • Example: {screenId:"scr_lobby7", view:"outages", days: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": {
      "screenId": "<screenId>",
      "view": "<view>"
    },
    "name": "get_screen_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNopreview only: ISO 8601 time to resolve; default now.
daysNoHow many days back the outage or TV history goes. Left out, outages go back 30 days and TV history 14.
viewYesThe question to answer about the screen. The tool description says what each view returns.
limitNoA cap on the outage or TV history rows, newest first. Left out, 50 rows return.
sinceNoframes only: ISO 8601 start.
untilNoframes only: ISO 8601 end.
bundleIdNodiagnostic_bundle only: the bundle id from view diagnostic_bundles.
screenIdYesThe screen to explain. A screen id comes from list_items kind screens.
commandIdNocommand only: the command id from refresh_screens, reboot_screens, clear_screen_cache or set_tv_power.

Output Schema

NameRequiredDescriptionDefault
viewNoThe view that was asked for.
faultNodiagnose: whose side the problem is on: platform, user or environment; null when nothing is wrong.
layerNodiagnose: where the likely cause sits, for example network, device, content or downstream (the TV side).
detailNodiagnose: the reading the cause rests on.
guidedNodiagnose: true when the cause is a guess by elimination from a checklist, not a reading. Then say "check", never "we detected".
layersNowhy: every rule that could decide the content (takeover, schedule, default), top first.
changesNotv: one row per power or input change, newest first.
currentNotv: the TV's state now; null when the device never reported it.
detailsNostate, up_next, preview, logs, telemetry, frames, diagnostics, diagnostic_bundles, diagnostic_bundle, quality, playback_quality, resource_pressure and command: what the screen's route returned, as it returned it.
outagesNooutages: one row per time the screen went offline, newest first.
summaryNoOne plain-language sentence that answers the view; null for tv, which is a history.
remediesNodiagnose: repairs that could help, cheapest first; empty when none would. Ask before one whose confirm is true.
screenIdNoThe screen the answer is about.
severityNodiagnose: how serious it is.
warningsNowhy: things that are wrong or will be soon, in plain language.
checklistNodiagnose: the steps to try, in order.
prominentNodiagnose: true when the screen looks like it has a problem now.
truncatedNooutages and tv: true when more rows exist than limit returned.
windowDaysNooutages and tv: how many days back the answer looks.
likelyCauseNodiagnose: the likely cause in one line.
renderTruthNowhy: whether the screen really shows that content, from what the device reported.
outageSummaryNooutages: counts for the window: count, byCause, byBucket (network, power, app, display, planned, unknown), topCause and insight.
retentionDaysNooutages and tv: how many days of history are kept.
currentContentNowhy: what the screen plays now.
dailySummariesNotv: one line per day, newest first, on what the TV showed that day.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / commandId / description
      Previous value: -"command only: the command id from control_screens."New value: +"command only: the command id from refresh_screens, reboot_screens, clear_screen_cache or set_tv_power."
  2. Changed7 schema fields changed
    • addedInput schema / properties / at
      Added value: +{
      +  "description": "preview only: ISO 8601 time to resolve; default now.",
      +  "type": "string"
      +}
    • addedInput schema / properties / bundleId
      Added value: +{
      +  "description": "diagnostic_bundle only: the bundle id from view diagnostic_bundles.",
      +  "type": "string"
      +}
    • addedInput schema / properties / commandId
      Added value: +{
      +  "description": "command only: the command id from control_screens.",
      +  "type": "string"
      +}
    • addedInput schema / properties / since
      Added value: +{
      +  "description": "frames only: ISO 8601 start.",
      +  "type": "string"
      +}
    • addedInput schema / properties / until
      Added value: +{
      +  "description": "frames only: ISO 8601 end.",
      +  "type": "string"
      +}
    • changedInput schema / properties / view / enum
      Previous value: -[
      -  "why",
      -  "diagnose",
      -  "outages",
      -  "tv"
      -]New value: +[
      +  "why",
      +  "diagnose",
      +  "outages",
      +  "tv",
      +  "state",
      +  "up_next",
      +  "preview",
      +  "logs",
      +  "telemetry",
      +  "frames",
      +  "diagnostics",
      +  "diagnostic_bundles",
      +  "quality",
      +  "playback_quality",
      +  "resource_pressure",
      +  "diagnostic_bundle",
      +  "command"
      +]
    • addedOutput schema / properties / details
      Added value: +{
      +  "description": "state, up_next, preview, logs, telemetry, frames, diagnostics, diagnostic_bundles, diagnostic_bundle, quality, playback_quality, resource_pressure and command: what the screen's route returned, as it returned it.",
      +  "type": [
      +    "object",
      +    "array",
      +    "null"
      +  ]
      +}
  3. Changed9 schema fields changed
    • addedOutput schema / properties / changes / items / properties
      Added value: +{
      +  "at": {
      +    "description": "ISO 8601 time of the change.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "basis": {
      +    "description": "What the reading rests on, for example what the TV reported or a stored guess.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "basisLabel": {
      +    "description": "basis in plain language, ready to tell the person.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "forSec": {
      +    "description": "How long the earlier state lasted, in seconds; null when unknown.",
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  "from": {
      +    "description": "The TV's state before.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "id": {
      +    "description": "The change's id.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "to": {
      +    "description": "The TV's state after.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • changedOutput schema / properties / current / description
      Previous value: -"tv: the TV's power and input state now; null when the device never reported it."New value: +"tv: the TV's state now; null when the device never reported it."
    • addedOutput schema / properties / current / properties
      Added value: +{
      +  "since": {
      +    "description": "ISO 8601 time it went dark; null while lit.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "state": {
      +    "description": "lit when the TV shows the player; otherwise why it is dark, for example off or another input.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • changedOutput schema / properties / dailySummaries / description
      Previous value: -"tv: one row per day with the hours the TV was on."New value: +"tv: one line per day, newest first, on what the TV showed that day."
    • changedOutput schema / properties / dailySummaries / items / type
      Previous value: -"object"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / outages / description
      Previous value: -"outages: one row per time the screen went offline, newest first, with its start, end and cause."New value: +"outages: one row per time the screen went offline, newest first."
    • addedOutput schema / properties / outages / items / properties
      Added value: +{
      +  "durationSec": {
      +    "description": "How long it was offline, in seconds; null while it is still offline.",
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  "expectedDark": {
      +    "description": "true when the screen was off on purpose (closing hours), so it is not a fault.",
      +    "type": [
      +      "boolean",
      +      "null"
      +    ]
      +  },
      +  "expectedReason": {
      +    "description": "Why it was expected to be off, when expectedDark is true.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "from": {
      +    "description": "ISO 8601 time the screen went offline.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "id": {
      +    "description": "The outage's id.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "label": {
      +    "description": "The cause in a few words, for example Wi-Fi dropped.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "open": {
      +    "description": "true while the screen is still offline.",
      +    "type": [
      +      "boolean",
      +      "null"
      +    ]
      +  },
      +  "playerVersion": {
      +    "description": "The player version the screen ran at the time.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "sentence": {
      +    "description": "The outage in one plain-language sentence, ready to tell the person.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "to": {
      +    "description": "ISO 8601 time it came back; null while it is still offline.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • changedOutput schema / properties / remedies / description
      Previous value: -"diagnose: repairs control_screens can run, cheapest first; empty when none would help."New value: +"diagnose: repairs that could help, cheapest first; empty when none would. Ask before one whose confirm is true."
    • addedOutput schema / properties / remedies / items / properties
      Added value: +{
      +  "confirm": {
      +    "description": "true when the person must agree first (a reboot).",
      +    "type": [
      +      "boolean",
      +      "null"
      +    ]
      +  },
      +  "cost": {
      +    "description": "What it costs the screen, for example a few seconds of black screen.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "kind": {
      +    "description": "The repair: wake-screen, restart-app or reboot.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "label": {
      +    "description": "The repair in plain language, for example \"Restart the player\".",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
  4. Changed3 schema fields changed
    • changedInput schema / properties / days / description
      Previous value: -"How many days back the outage or TV history goes."New value: +"How many days back the outage or TV history goes. Left out, outages go back 30 days and TV history 14."
    • changedInput schema / properties / limit / description
      Previous value: -"The most outage or TV history rows to return."New value: +"A cap on the outage or TV history rows, newest first. Left out, 50 rows return."
    • changedInput schema / properties / view / description
      Previous value: -"The question to answer about the screen: why it shows what it shows, a diagnosis, its outages, or its TV state."New value: +"The question to answer about the screen. The tool description says what each view returns."
  5. Changed29 schema fields changed
    • changedInput schema / properties / days / description
      Previous value: -"Days to look back."New value: +"How many days back the outage or TV history goes."
    • changedInput schema / properties / limit / description
      Previous value: -"Most rows."New value: +"The most outage or TV history rows to return."
    • changedInput schema / properties / screenId / description
      Previous value: -"Screen id."New value: +"The screen to explain. A screen id comes from list_items kind screens."
    • changedInput schema / properties / view / description
      Previous value: -"What to explain."New value: +"The question to answer about the screen: why it shows what it shows, a diagnosis, its outages, or its TV state."
    • changedOutput schema / description
      Previous value: -"The view's answer; other fields depend on the view."New value: +"Every view returns screenId, view and summary. The other fields belong to the view named at the start of their description."
    • addedOutput schema / properties / changes
      Added value: +{
      +  "description": "tv: one row per power or input change, newest first.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / checklist
      Added value: +{
      +  "description": "diagnose: the steps to try, in order.",
      +  "items": {
      +    "properties": {
      +      "code": {
      +        "description": "Step code.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "label": {
      +        "description": "The step in plain language.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / current
      Added value: +{
      +  "description": "tv: the TV's power and input state now; null when the device never reported it.",
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / currentContent
      Added value: +{
      +  "description": "why: what the screen plays now.",
      +  "properties": {
      +    "id": {
      +      "description": "Its id.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "kind": {
      +      "description": "Kind of the content.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "name": {
      +      "description": "Its name.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / dailySummaries
      Added value: +{
      +  "description": "tv: one row per day with the hours the TV was on.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / detail
      Added value: +{
      +  "description": "diagnose: the reading the cause rests on.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / fault
      Added value: +{
      +  "description": "diagnose: whose side the problem is on: platform, user or environment; null when nothing is wrong.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / guided / description
      Previous value: -"diagnose: true when the cause is a guess from a checklist, not a reading."New value: +"diagnose: true when the cause is a guess by elimination from a checklist, not a reading. Then say \"check\", never \"we detected\"."
    • addedOutput schema / properties / layer
      Added value: +{
      +  "description": "diagnose: where the likely cause sits, for example network, device, content or downstream (the TV side).",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / layers
      Added value: +{
      +  "description": "why: every rule that could decide the content (takeover, schedule, default), top first.",
      +  "items": {
      +    "properties": {
      +      "active": {
      +        "description": "true for the rule that wins now.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "contentName": {
      +        "description": "The content that rule would play.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "layer": {
      +        "description": "The rule's name.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "reason": {
      +        "description": "Why it is or is not active.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / likelyCause
      Added value: +{
      +  "description": "diagnose: the likely cause in one line.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / outageSummary
      Added value: +{
      +  "description": "outages: counts for the window: count, byCause, byBucket (network, power, app, display, planned, unknown), topCause and insight.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / outages
      Added value: +{
      +  "description": "outages: one row per time the screen went offline, newest first, with its start, end and cause.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / prominent
      Added value: +{
      +  "description": "diagnose: true when the screen looks like it has a problem now.",
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / remedies
      Added value: +{
      +  "description": "diagnose: repairs control_screens can run, cheapest first; empty when none would help.",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / renderTruth
      Added value: +{
      +  "description": "why: whether the screen really shows that content, from what the device reported.",
      +  "properties": {
      +    "cause": {
      +      "description": "The cause of a problem, when one was found.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "lastPlayedAt": {
      +      "description": "ISO 8601 time of the last play the screen reported.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "nextAction": {
      +      "description": "What to do about it.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "ok": {
      +      "description": "true when the screen shows what it should.",
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "reason": {
      +      "description": "Why the verdict was reached.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "verdict": {
      +      "description": "The short verdict, for example playing or not_playing.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / retentionDays
      Added value: +{
      +  "description": "outages and tv: how many days of history are kept.",
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / screenId / description
      Previous value: -"The screen."New value: +"The screen the answer is about."
    • addedOutput schema / properties / severity
      Added value: +{
      +  "description": "diagnose: how serious it is.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / summary / description
      Previous value: -"One plain-language sentence answering the view."New value: +"One plain-language sentence that answers the view; null for tv, which is a history."
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "outages and tv: true when more rows exist than limit returned.",
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / view
      Added value: +{
      +  "description": "The view that was asked for.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "description": "why: things that are wrong or will be soon, in plain language.",
      +  "items": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / windowDays
      Added value: +{
      +  "description": "outages and tv: how many days back the answer looks.",
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
  6. Changed4 schema fields changed
    • changedInput schema / properties / days / description
      Previous value: -"outages and tv only: days to look back. outages default 30; tv default and max 14."New value: +"Days to look back."
    • changedInput schema / properties / limit / description
      Previous value: -"outages and tv only: most rows; default 50 (max 200 outages, 500 tv)."New value: +"Most rows."
    • changedInput schema / properties / screenId / description
      Previous value: -"The screen id, from list_items kind screens."New value: +"Screen id."
    • changedInput schema / properties / view / description
      Previous value: -"What to explain: why, diagnose, outages or tv."New value: +"What to explain."
  7. Added

TDQS

A4.6/5.0
Behavior4/5

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

Goes beyond the annotations (readOnly/idempotent/closed-world) with real behavioral facts: it reads only what the screen already reported and never contacts the device, so it still answers for offline screens, and it requires screen.view. It also discloses that days/limit are silently ignored for why and diagnose and that guided:true is a heuristic guess rather than a reading. It stops short of describing output or latency characteristics, but with an output schema present that is a minor gap.

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?

Front-loaded with the one-line purpose, then cleanly partitioned into When to use / When NOT to use / What to know / Parameters / Example. Every line carries operative information: the routing rules, the permission scope, the defaults, and a copy-pasteable call shape.

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?

For a 9-param, multi-mode tool with a 16-value view enum this is close to complete: scope, routing, permission, defaults, per-view semantics for the main modes, and an example. The notable gap is that most enum values (state, up_next, logs, telemetry, frames, diagnostics, quality, command, etc.) are not explained here even though the schema explicitly delegates to the description for what each view returns.

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; the description exceeds it by mapping several view values to concrete return meanings (why, diagnose, outages, tv), stating defaults and maximums for days and limit that the schema does not carry, noting which views ignore those params, and giving a worked example. It falls short of explaining the remaining view enum values, so not 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?

Opens with a specific verb+resource: "Explain the state of one screen." The single-screen scope is stated explicitly and the sibling boundary (get_fleet_report for many screens, get_items for settings) is declared, so an agent can distinguish it without opening any 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?

Provides an explicit "When to use" list keyed to real agent questions (blank/wrong screen, downtime, TV behavior) and a "When NOT to use" block that names the alternative tool for each nearby intent: get_items kind screens, get_fleet_report, capture_screenshot, refresh_screens/reboot_screens. 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