Skip to main content
Glama

World of Cine

Search films by description

search_films_by_description
Read-onlyIdempotent

Use when the user describes a film's plot, scenes, mood or theme — or half-remembers a film — and wants matching titles. Works in English, Ukrainian, Russian and Polish (set language to the user's language). Put every explicit constraint the user stated into the structured fields — year_from, year_to, genres, exclude_genres, countries, include_documentaries, include_short_films, max_runtime_minutes, audience — and keep query for the plot, mood and texture only. Those fields are hard filters: a film outside them is never returned, so the answer may hold fewer films than limit, or none at all, and applied_filters says which filters were in force. Short films are excluded unless include_short_films is set. Each film carries its year, runtime, a one-line reason and its World of Cine link, which should be shown to the user.

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": {
      "query": "<query>"
    },
    "name": "search_films_by_description"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many films to return. Defaults to 5.
queryYesA natural-language description of the film the user wants.
genresNoGenre slugs the film must carry. A film carrying none of them is never returned.
year_toNoLatest release year, inclusive. Same year field.
audienceNoSend 'children' for small children and 'family' for a film the whole family watches. Adult-flagged films, horror and thrillers are never returned under either. Under 'family' a film is returned only when it carries the family genre or a certification that is family-suitable in at least one major market, and never when any board rated it for adults (US R/NC-17/X, any 18-class rating). 'children' is stricter still: every stored certification must be child-rated, the film must carry the family or animation genre, and a film no board rated needs the family genre. A query naming children with no argument is read as 'children'.
languageNoAnswer language. Defaults to English.
countriesNoISO 3166-1 alpha-2 codes of the film's production countries — where the film was made, never the language of its title.
year_fromNoEarliest release year, inclusive. The year is the catalogue's stored first-release year, which can differ by one from the year a Wikipedia article gives.
exclude_genresNoGenre slugs the film must not carry. One of them drops the film however many wanted genres it carries beside it.
include_short_filmsNoWhether short films — runtime under the connector's feature-length floor, currently 40 minutes — may be returned. False by default: set true only when the user explicitly asks for short films. A film whose runtime the catalogue does not know is always eligible.
max_runtime_minutesNoLongest runtime, in minutes, the film may have. A film whose runtime the catalogue does not know is not returned under this filter, since it cannot be verified to be under it.
include_documentariesNoWhether documentaries may be returned. False by default: ask for true only when the user wants documentaries.
previous_recommendation_idNoThe recommendation_id of an earlier answer this call refines. The filters and text of that answer are kept and merged with this call's, so a refinement is a new search under the whole set of constraints, not a pick among the earlier films.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses that filters are hard exclusions, that results may hold fewer films than limit or none at all, that applied_filters reports which were in force, and that short films are excluded by default. It also states what each result carries (year, runtime, one-line reason, link) and that the link should be surfaced to the user — behavior an agent cannot infer from annotations.

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 with the triggering condition and organized as trigger, then field-allocation rule, then behavioral consequences, then result shape. Slightly long because it enumerates the constraint field names, which partially restates the schema, but no sentence is filler.

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 13-parameter search tool with no output schema, the description covers defaults, hard-filter consequences, the response envelope (applied_filters), per-result fields, and the refinement mechanism. Nothing an agent needs in order to call it correctly or interpret the answer is missing.

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 baseline is 3; the description earns above that by defining the semantic division of labor between query and the hard-filter fields, which the per-parameter schema docs do not state as a policy. It also ties language to the user's own language, adding intent the enum alone does not convey.

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?

Names a specific verb and resource and frames the exact user situation — describing a plot, scene, mood, theme, or half-remembering a film — that selects this tool over film_details or what_to_watch_tonight. An agent can route here without inspecting any other 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?

Gives explicit when-to-use framing plus an allocation rule: every explicit constraint goes into structured fields, query stays for plot/mood/texture. It also documents the refinement path via previous_recommendation_id, so the agent knows how to handle follow-up narrowing rather than starting fresh.

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