Skip to main content
Glama

datasets_boxofficemojo_facets

Read-only

Returns terms-aggregation counts for one facet of the Box Office Mojo dataset, scoped to the same filters as search. Facet enum: gross_band, years_active, lifetime_year, franchise_names, brand_names, genre_names, hydrated, is_billion_dollar, in_lifetime_top_1000_ww. gross_band enum: under_50m, 50_100m, 100_250m, 250_500m, 500m_1b, over_1b. page: Result page number, 1-based, default 1; page times page_size must not exceed 10000. page_size: Page size, default 20, max 100; page times page_size must not exceed 10000. Use datasets_boxofficemojo_search to search the Box Office Mojo dataset.

Input Schema

NameRequiredDescriptionDefault
qNoOptional full-text query over title and taxonomy names, max 256 characters.
pageNoResult page number, 1-based, default 1; page times page_size must not exceed 10000.
sortNoOptional sort. Allowed: relevance, worldwide_desc, domestic_desc, peak_worldwide_desc, lifetime_rank_asc, year_desc, year_asc. Defaults to relevance with q, otherwise worldwide_desc.
yearNoOptional year that must appear in years_active (worldwide year chart presence).
brandNoOptional brand name filter, max 128 characters.
facetYesRequired facet. Allowed: gross_band, years_active, lifetime_year, franchise_names, brand_names, genre_names, hydrated, is_billion_dollar, in_lifetime_top_1000_ww.
genreNoOptional genre name filter, max 128 characters.
hydratedNoOptional filter for whether the title page has been hydrated (release groups and market grosses).
title_idNoOptional exact title id filter (IMDb tt… id used by Box Office Mojo), max 32 characters.
franchiseNoOptional franchise name filter, max 128 characters.
page_sizeNoPage size, default 20, max 100; page times page_size must not exceed 10000.
gross_bandNoOptional worldwide gross band. Allowed: under_50m, 50_100m, 100_250m, 250_500m, 500m_1b, over_1b.
min_domesticNoOptional minimum lifetime domestic gross in whole USD dollars.
lifetime_yearNoOptional primary lifetime chart year filter.
max_worldwideNoOptional maximum lifetime worldwide gross in whole USD dollars.
min_worldwideNoOptional minimum lifetime worldwide gross in whole USD dollars.
is_billion_dollarNoOptional filter for titles with worldwide gross at least $1B.
min_foreign_shareNoOptional minimum foreign share of worldwide gross, 0 through 1.
max_domestic_shareNoOptional maximum domestic share of worldwide gross, 0 through 1.
in_lifetime_top_1000NoOptional filter for titles in the lifetime worldwide top 1000 chart.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds the 'same filters as search' scoping and the page*page_size<=10000 cap, which is useful, but those limits and the enum values are also restated from the schema rather than adding new behavioral context (no return shape, no counts-vs-documents distinction).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, but the description redundantly duplicates the facet enum, gross_band enum, and the page/page_size text verbatim from the schema, adding length without new information.

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 20-parameter, one-required-facet aggregation tool with an output schema present, the description covers purpose, the critical facet enum, and the sibling routing. Return values needn't be explained given the output schema, so it is nearly complete.

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 description coverage is 100%, so the schema already documents every parameter. The description repeats the facet and gross_band enums and the page/page_size rules without adding format or constraint detail beyond what the schema provides, so the baseline 3 applies.

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?

States a specific verb and resource: 'Returns terms-aggregation counts for one facet of the Box Office Mojo dataset.' It also differentiates the sibling search tool explicitly, so an agent can tell this is the facet-count endpoint rather than a document search.

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?

It scopes usage to one facet and routes plain searching to datasets_boxofficemojo_search. However, it doesn't say when a facet aggregation is preferable over merely paging search results, or that exactly one facet must be chosen per call.

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.