Skip to main content
Glama

Trillboards DOOH Advertising

get_device_ads

Get current ads scheduled for a device (for testing).

WHEN TO USE:

  • Testing device ad delivery

  • Debugging which ads are being shown

  • Verifying ad targeting is working

RETURNS:

  • ads: Array of advertisement objects

  • default_stream: Default content when no ads

  • schedule: Current ad schedule

EXAMPLE: User: "What ads are showing on device P_abc123?" get_device_ads({ fingerprint: "P_abc123" })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fingerprintYesDevice fingerprint (e.g., "P_abc123")

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / fingerprint / description
      Added value: +"Device fingerprint (e.g., \"P_abc123\")"
  2. First observed

TDQS

A3.7/5.0
Behavior2/5

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

With no annotations, the description carries full burden for behavioral disclosure. It only says "for testing," implying a non-production use, but does not explicitly state it is read-only, mention permission requirements, or note any side effects or limitations. The return values are described, but not the behavior.

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 description is well-structured with clear sections: overview, WHEN TO USE, RETURNS, and an EXAMPLE. Each section adds value without excessive verbosity, though the formatting is a bit longer than strictly necessary.

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 simple one-parameter tool with no output schema, the description covers purpose, usage scenarios, return fields (ads, default_stream, schedule), and provides an example. It is complete enough for an agent to understand and invoke the tool, though it omits edge-case behavior.

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

Parameters3/5

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

Schema coverage is 100% with a clear description of the fingerprint parameter. The description also includes an example usage that reinforces the parameter. However, it does not add meaning beyond what the schema already provides, so baseline 3 is appropriate.

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 description clearly states a specific verb+resource: "Get current ads scheduled for a device (for testing)." This distinguishes it from the many sibling get_* tools by explicitly focusing on device ads, and the parenthetical "for testing" adds useful context.

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

Usage Guidelines4/5

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

A dedicated "WHEN TO USE" section lists three concrete scenarios: testing device ad delivery, debugging which ads are shown, and verifying ad targeting. This provides clear context, though it does not mention when not to use the tool or suggest alternatives.

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