Skip to main content
Glama

commercials_stats

Read-only

Count and rank the ads library: how many commercials match a filter, broken down by any of brand, director, agency, production, dp, editor, music, industry, market, year, genre, structure, format, tone, trope, award_show, season. E.g. "which agencies won the most Cannes Lions for car ads since 2015" = fields [agency], award_show Cannes Lions, industry Auto, year_min 2015.

Input Schema

NameRequiredDescriptionDefault
dpNoDirector of photography
toneNofunny, heartwarming, epic, emotional, absurd, dark, inspiring…
brandNoAdvertiser, e.g. "Nike", "Guinness"
genreNocomedy, drama, documentary, action…
limitNo
musicNoComposer / track / music house
agencyNoCreative agency, e.g. "Wieden+Kennedy"
editorNo
fieldsYes
formatNolive_action, animation_2d, animation_3d, stop_motion, cgi, mixed
marketNoCountry code: US, UK, FR, DE, BR, JP…
personNoAnyone credited, any role
seasonNohalloween, christmas, black friday, thanksgiving, new year, valentines, easter, mothers day, fathers day, back to school, summer, spring, pride, super bowl
awardedNotrue = won or shortlisted at an award show
directorNo
industryNoAd category: Auto, Beer, Spirits, Drinks, Food & QSR, Retail, Tech, Telecom, Finance & Insurance, Fashion & Luxury, Beauty & Personal care, Sport, Travel, Gaming, Health & Pharma, Media & Entertainment, Public service & NGO, Home, FMCG
year_maxNo
year_minNo
celebrityNo
min_awardNoBest award at least this level
structureNonarrative, montage, vignettes, problem_solution, demo…
award_showNoOne of: Cannes Lions, Clio Awards, D&AD, Epica, AICP Awards, London International Awards, British Arrows, The One Show, El Ojo de Iberoamérica, Eurobest, Creative Circle, Effie Awards, Ciclope, Spikes Asia, ANDY Awards, ADC Awards, DGA Awards, Kinsale Sharks, shots Awards, New York Festivals, Webby Awards, Emmy (Outstanding Commercial), IPA Effectiveness Awards, AdFest, Dubai Lynx, ADC Europe, Young Director Award
award_yearNo
productionNoProduction company, e.g. "MJZ", "Smuggler"
max_durationNoseconds
min_durationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description adds useful behavioral context by explaining that the tool counts and ranks commercials with breakdowns by dimension. It still does not explain the exact return format, ranking metric, or how limit affects results, leaving some operational details implicit.

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 front-loaded with the core action ('Count and rank the ads library') and follows with a compact enumeration of dimensions plus one concrete example. Every sentence contributes to understanding how to use the tool.

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 26-parameter aggregation tool with no output schema, the description is adequate: it explains the central concept, identifies the required fields dimension, and demonstrates a realistic filtered query. It still leaves some gaps around output structure and ranking behavior, but the combination of schema descriptions and this narrative is sufficient for common calls.

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?

With 65% schema description coverage across 26 parameters, the description adds meaningful semantics for the key fields parameter by framing its values as breakdown dimensions. The worked example also clarifies how award_show, industry, and year_min combine in practice, though several parameters such as limit and min_award are 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 description uses a specific verb and resource: 'Count and rank the ads library'. It immediately clarifies that this is an aggregation tool rather than a search or record-retrieval tool, which distinguishes it from siblings like search_commercials and get_commercial.

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?

The example query ('which agencies won the most Cannes Lions for car ads since 2015') clearly illustrates the intended aggregation use case and maps it to parameters. However, it does not explicitly state when not to use this tool or name alternatives such as search_commercials.

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.