Skip to main content
Glama

Read items in full

get_items
Read-onlyIdempotent

Read items of one kind in full.

When to use:

  • Before update_items, to see current values and part ids (playlist items pli_…, schedule blocks sb_…).

  • Checking how many rows of a sheet a repeating creative plays, and how many fit.

  • Checking an approval request, a fired emergency, a device test run, a person's locations and roles, a role's permissions, or who this connection is (kind account).

When NOT to use:

  • Searching by name: use list_items first.

  • Why a screen is blank, its outages or its TV state: use get_screen_status (get_items returns a screen's settings and assigned content).

What to know:

  • Returns a playlist's items in order, a schedule's blocks, a layout's zones, an app's config, a screen's status and content.

  • kind app_types, with app type keys from list_items as ids: each app's settings (key, kind, label, help, options with their values, default, required). create_items and update_items check an app's config against them.

  • A Now Serving or Goal Tracker app also returns staffLinks (controlUrl, staffCardUrl, takeNumberUrl), only when this connection may edit it.

  • A creative that repeats for each row also returns repeatStatus: rowCount and rowsThatFit (what the last sync holds and how many play), limitedBy (rows, bytes or null), loopSeconds, columns (each header and its row tag), missingColumns, firstRowBindings, lastSyncedAt and warnings to pass on. rowCount is null when this connection cannot read that data source.

  • Sign-in details of feeds and web links stay in the console: a stored one reads as ••••••••. Items outside this connection's locations read as not found.

Parameters:

  • kind: the kind of every id. account takes no ids and returns this connection's actor, workspace and permissions.

  • ids: prefix-typed ids from list_items (pl_… playlist, scr_… screen, sch_… schedule). Each id returns its item or not found; the rest still return.

  • device_test_runs: call again until status is finished.

  • Example: {kind:"playlists", ids:["pl_8f2c"]}.

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": {
      "kind": "<kind>"
    },
    "name": "get_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNoThe items to read, by id. Ids come from list_items.
kindYesThe kind of item that every id names.

Output Schema

NameRequiredDescriptionDefault
kindNoThe kind of item the call acted on, as it was asked.
failedNoHow many ids failed. A failed id never stops the others, so check each row.
resultsNoOne row per id, in the order the ids were given.
succeededNoHow many ids succeeded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "screens",
      -  "media",
      -  "playlists",
      -  "schedules",
      -  "layouts",
      -  "creatives",
      -  "apps",
      -  "data_sources",
      -  "screen_groups",
      -  "locations",
      -  "media_folders",
      -  "emergency_templates",
      -  "approvals",
      -  "emergencies",
      -  "device_test_runs",
      -  "people",
      -  "roles",
      -  "account",
      -  "app_types",
      -  "alert_rules",
      -  "webhooks",
      -  "power_policies",
      -  "ad_slots",
      -  "ad_slot_venues",
      -  "serial_templates",
      -  "signage_templates",
      -  "banners",
      -  "celebrations",
      -  "social_accounts",
      -  "synced_folders",
      -  "shared_with_me",
      -  "alt_text_suggestions",
      -  "captions",
      -  "media_usage",
      -  "share_readiness",
      -  "revel_establishments",
      -  "content_shares",
      -  "folder_shares",
      -  "workspace",
      -  "limits",
      -  "data_inventory",
      -  "retention",
      -  "onboarding",
      -  "support_access",
      -  "encryption_key",
      -  "location_payment",
      -  "sheet_sharing",
      -  "my_preferences"
      -]New value: +[
      +  "screens",
      +  "media",
      +  "playlists",
      +  "schedules",
      +  "layouts",
      +  "creatives",
      +  "apps",
      +  "data_sources",
      +  "screen_groups",
      +  "locations",
      +  "media_folders",
      +  "emergency_templates",
      +  "approvals",
      +  "emergencies",
      +  "device_test_runs",
      +  "people",
      +  "roles",
      +  "account",
      +  "app_types",
      +  "alert_rules",
      +  "webhooks",
      +  "power_policies",
      +  "ad_slots",
      +  "ad_slot_venues",
      +  "serial_templates",
      +  "signage_templates",
      +  "banners",
      +  "celebrations",
      +  "social_accounts",
      +  "synced_folders",
      +  "shared_with_me",
      +  "alt_text_suggestions",
      +  "captions",
      +  "media_usage",
      +  "share_readiness",
      +  "revel_establishments",
      +  "content_shares",
      +  "content_folders",
      +  "folder_shares",
      +  "workspace",
      +  "limits",
      +  "data_inventory",
      +  "retention",
      +  "onboarding",
      +  "support_access",
      +  "encryption_key",
      +  "location_payment",
      +  "sheet_sharing",
      +  "my_preferences"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "screens",
      -  "media",
      -  "playlists",
      -  "schedules",
      -  "layouts",
      -  "creatives",
      -  "apps",
      -  "data_sources",
      -  "screen_groups",
      -  "locations",
      -  "media_folders",
      -  "emergency_templates",
      -  "approvals",
      -  "emergencies",
      -  "device_test_runs",
      -  "people",
      -  "roles",
      -  "account",
      -  "app_types"
      -]New value: +[
      +  "screens",
      +  "media",
      +  "playlists",
      +  "schedules",
      +  "layouts",
      +  "creatives",
      +  "apps",
      +  "data_sources",
      +  "screen_groups",
      +  "locations",
      +  "media_folders",
      +  "emergency_templates",
      +  "approvals",
      +  "emergencies",
      +  "device_test_runs",
      +  "people",
      +  "roles",
      +  "account",
      +  "app_types",
      +  "alert_rules",
      +  "webhooks",
      +  "power_policies",
      +  "ad_slots",
      +  "ad_slot_venues",
      +  "serial_templates",
      +  "signage_templates",
      +  "banners",
      +  "celebrations",
      +  "social_accounts",
      +  "synced_folders",
      +  "shared_with_me",
      +  "alt_text_suggestions",
      +  "captions",
      +  "media_usage",
      +  "share_readiness",
      +  "revel_establishments",
      +  "content_shares",
      +  "folder_shares",
      +  "workspace",
      +  "limits",
      +  "data_inventory",
      +  "retention",
      +  "onboarding",
      +  "support_access",
      +  "encryption_key",
      +  "location_payment",
      +  "sheet_sharing",
      +  "my_preferences"
      +]
  3. Changed11 schema fields changed
    • addedOutput schema / description
      Added value: +"Each item read in full, one row per id, so you can answer from it or pass its current values to update_items."
    • changedOutput schema / properties / failed / description
      Previous value: -"How many failed; the rest still ran."New value: +"How many ids failed. A failed id never stops the others, so check each row."
    • changedOutput schema / properties / kind / description
      Previous value: -"The kind that was acted on."New value: +"The kind of item the call acted on, as it was asked."
    • changedOutput schema / properties / results / description
      Previous value: -"One row per id or item, in the order given."New value: +"One row per id, in the order the ids were given."
    • addedOutput schema / properties / results / items / description
      Added value: +"The outcome for one id."
    • changedOutput schema / properties / results / items / properties / error / description
      Previous value: -"Why this one failed, with the next step to take (present when not ok)."New value: +"Present when ok is false: why this id failed and the next step to take."
    • changedOutput schema / properties / results / items / properties / label / description
      Previous value: -"The id, or the item's name (or #position) for a create."New value: +"The id this row is about (account for kind account)."
    • changedOutput schema / properties / results / items / properties / ok / description
      Previous value: -"true when this one succeeded."New value: +"true when this id succeeded; false when it failed and error says why."
    • changedOutput schema / properties / results / items / properties / result / description
      Previous value: -"The record as the API returned it (present when ok)."New value: +"Present when ok: the item in full, as the console holds it. Besides id and name it has the kind's own fields: a playlist's items in order (with pli_… ids), a schedule's blocks (sb_… ids), a layout's zones, an app's config, a screen's settings and content, a creative's boxes and repeatStatus."
    • addedOutput schema / properties / results / items / properties / result / properties
      Added value: +{
      +  "id": {
      +    "description": "The item's id.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "name": {
      +    "description": "The item's name, as the console shows it.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • changedOutput schema / properties / succeeded / description
      Previous value: -"How many ids or items succeeded."New value: +"How many ids succeeded."
  4. Changed1 schema field changed
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "screens",
      -  "media",
      -  "playlists",
      -  "schedules",
      -  "layouts",
      -  "creatives",
      -  "apps",
      -  "data_sources",
      -  "screen_groups",
      -  "locations",
      -  "media_folders",
      -  "emergency_templates",
      -  "approvals",
      -  "emergencies",
      -  "device_test_runs",
      -  "people",
      -  "roles",
      -  "account"
      -]New value: +[
      +  "screens",
      +  "media",
      +  "playlists",
      +  "schedules",
      +  "layouts",
      +  "creatives",
      +  "apps",
      +  "data_sources",
      +  "screen_groups",
      +  "locations",
      +  "media_folders",
      +  "emergency_templates",
      +  "approvals",
      +  "emergencies",
      +  "device_test_runs",
      +  "people",
      +  "roles",
      +  "account",
      +  "app_types"
      +]
  5. Changed2 schema fields changed
    • changedInput schema / properties / ids / description
      Previous value: -"Item ids."New value: +"The items to read, by id. Ids come from list_items."
    • changedInput schema / properties / kind / description
      Previous value: -"Kind of the ids."New value: +"The kind of item that every id names."
  6. Changed1 schema field changed
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "screens",
      -  "media",
      -  "playlists",
      -  "schedules",
      -  "layouts",
      -  "creatives",
      -  "apps",
      -  "data_sources",
      -  "screen_groups",
      -  "locations",
      -  "media_folders",
      -  "emergency_templates",
      -  "approvals",
      -  "emergencies",
      -  "device_test_runs",
      -  "account"
      -]New value: +[
      +  "screens",
      +  "media",
      +  "playlists",
      +  "schedules",
      +  "layouts",
      +  "creatives",
      +  "apps",
      +  "data_sources",
      +  "screen_groups",
      +  "locations",
      +  "media_folders",
      +  "emergency_templates",
      +  "approvals",
      +  "emergencies",
      +  "device_test_runs",
      +  "people",
      +  "roles",
      +  "account"
      +]
  7. Changed2 schema fields changed
    • changedInput schema / properties / ids / description
      Previous value: -"Item ids, 1 to 50, from list_items (e.g. pl_… for a playlist, scr_… for a screen)."New value: +"Item ids."
    • changedInput schema / properties / kind / description
      Previous value: -"The kind of every id. account takes no ids."New value: +"Kind of the ids."
  8. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description still adds real behavior: partial-failure semantics ("Each id returns its item or not found; the rest still return"), visibility scoping (items outside the connection's locations read as not found), secret masking (stored feed/web-link sign-in reads as ••••••••), conditional inclusion of staffLinks only when the connection may edit, and retry guidance for device_test_runs.

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?

Front-loaded purpose followed by labeled when/when-not/what-to-know/parameters sections make it easy to scan. It is on the long side because it narrates many return fields that the output schema already covers, so some lines are redundant rather than wasteful.

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 polymorphic reader spanning ~47 kinds, the definition covers selection, per-id failure behavior, special-case kinds (app_types, account), visibility limits and retry guidance. With an output schema present it correctly stops short of full response documentation.

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 modest, but the description still adds meaning: kind governs the type of every id, account takes no ids and returns actor/workspace/permissions, ids are prefix-typed (pl_, scr_, sch_) with per-id failure isolation, plus a worked example. Only the enum-level detail is left to the schema.

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 gives a specific verb, resource and scope ("Read items of one kind in full"), and the definition immediately contrasts that with list_items (name search) and get_screen_status (screen health). An agent can pick the right tool 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?

It has an explicit 'When to use' block with concrete triggers (before update_items to get current values and pli_/sb_ ids, checking repeating-row counts, inspecting approvals or account identity) and a 'When NOT to use' block that names the correct alternative for each excluded case.

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