Skip to main content
Glama

Trillboards DOOH Advertising

record_impression

Record a single ad impression from a device.

WHEN TO USE:

  • Reporting that an ad was displayed on a device

  • Recording impression with detailed metadata

  • Single impression events (for batch, use batch_impressions)

RETURNS:

  • success: Boolean indicating success

  • impression_id: Unique impression identifier

  • earnings: Earnings credited for this impression

EXAMPLE: User: "Record an impression for ad 507f1f77bcf86cd799439011" record_impression({ fingerprint: "P_abc123", ad_id: "507f1f77bcf86cd799439011", duration_seconds: 15 })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ad_idYesAdvertisement ID (MongoDB ObjectId)
metadataNoAdditional impression metadata
timestampNoISO 8601 timestamp when impression occurred (optional, defaults to now)
fingerprintYesDevice fingerprint (e.g., "P_abc123")
duration_secondsNoHow long the ad was displayed (seconds)

TDQS

A4.4/5.0
Behavior4/5

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

Since no annotations are provided, the description carries the full burden. It discloses the return values (success, impression_id, earnings) and implies a write operation with financial impact ('earnings credited'), giving the agent an accurate model of side effects. It does not cover auth or idempotency, but the core behavior and key consequences are clear.

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?

The description is well-structured with WHEN TO USE, RETURNS, and EXAMPLE sections that each serve a clear purpose. It is concise, with no redundant content, and the opening sentence immediately states what the tool does.

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 single-impression write tool with no output schema, the description fully covers return values, usage context, and an example, which is sufficient for most agent interactions. It doesn't explain the metadata parameter in depth, but the schema covers it, and the tool's complexity is moderate, so overall it's complete enough.

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?

The input schema already describes all 5 parameters with 100% coverage, so the baseline is 3. The description adds no additional parameter meaning; the example merely uses fingerprint, ad_id, and duration_seconds without explaining them beyond the schema. Thus, it doesn't compensate beyond the schema's descriptions.

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 starts with 'Record a single ad impression from a device', clearly identifying the verb (record), resource (ad impression), and scope (single, from a device). It explicitly differentiates from batch_impressions by saying 'Single impression events (for batch, use batch_impressions)', making it easy to select among siblings.

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?

A dedicated 'WHEN TO USE' section lists explicit scenarios such as 'Reporting that an ad was displayed on a device' and 'Recording impression with detailed metadata'. It also provides an explicit alternative: 'for batch, use batch_impressions', which is exactly the kind of guidance needed for tool selection.

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.

TDQS

B3.3/5.0
Disambiguation2/5

There are exact duplicates (get_task_status/tasks_get, list_tasks/tasks_list) and several overlapping analytics, attribution, and semantic search clusters (get_attention_metrics vs get_creative_attention vs get_social_attention; find_similar_moments vs semantic_search_observations; get_campaign_attribution vs get_multi_touch_attribution vs get_roas). Detailed descriptions help, but with 83 tools an agent will frequently struggle to pick the right one.

Naming Consistency3/5

Most tools follow a snake_case verb_noun pattern (list_devices, create_campaign, delete_webhook), but there are notable inconsistencies: list_* and get_* are used interchangeably for list operations, attention tools mix conventions (get_attention_metrics vs get_creative_attention vs get_social_attention), and the legacy tasks_get/tasks_list names break the established get_task_status/list_tasks pattern.

Tool Count1/5

83 tools is an extreme count for a single MCP server, spanning device management, sensing, campaigns, media buys, attribution, webhooks, billing, API discovery, and AdCP protocol concerns. This is a broad API surface dump rather than a focused tool set, and it would be far better split into several coherent servers.

Completeness2/5

Despite the enormous surface, core campaign lifecycle is incomplete: create_campaign explicitly tells the agent to use update_campaign to activate a campaign, but no update_campaign tool exists, and there are no list/delete campaign tools. Significant capabilities exist for analytics, attribution, and webhooks, but the primary advertising workflow has a dead end.

Resources