Skip to main content
Glama

Recommend something to watch on Romanian TV

tv_recommend_today
Read-onlyIdempotent

Returns up to N ranked program recommendations for a given timeframe. Uses a deterministic scorer that rewards films / documentaries / generalist channels, penalises news, boosts programs starting within the next hour, and, between items with equal score, puts first the one whose IMDb rating (as declared by the TV guide) is higher relative to its category median (rating_signal; the rating never changes the score). Items with equal score carry tie_break saying what decided their order. Use for queries like "recommend me something for tonight", "ce e bun la TV diseară".

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tv_recommend_today"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
preferNoPreferred categories for ranking boost
timeframeNonow | tonight | primetime | tomorrow | weekend | today | YYYY-MM-DD | ISO range "A/B"tonight
exclude_newsNoDrop news channels and news programs

Output Schema

NameRequiredDescriptionDefault
countYes
itemsYes
preferYes
windowYes
rankingNo
asked_at_utcYes
exclude_newsYes
generated_atNo
timeframe_labelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / items / items / properties / rating_note
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / items / items / properties / rating_signal
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / items / items / properties / tie_break
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / ranking
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "order": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "tied_items": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "order",
      +    "tied_items"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description adds substantial behavior beyond that: the deterministic scoring rules, the tie-break hierarchy, and the critical nuance that rating_signal only orders ties and never changes the score. It does not say what happens when no items satisfy the timeframe or when limit exceeds available results, which is the remaining behavioral gap.

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 core capability is front-loaded in the first sentence, with scoring details after. The scorer/tie-break passage is dense and slightly long, but every clause conveys behavior an agent would otherwise guess wrong about, so little is wasted.

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?

With an output schema present, return structure needn't be explained, and annotations cover the safety profile; the description also clarifies what tie_break and rating_signal in the output mean. Only empty-result and timeframe edge cases are unaddressed, so the definition is close to complete for a 4-param, zero-required tool.

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 75% and timeframe, prefer and exclude_news all carry descriptions, so the schema does most of the work. The description only echoes limit ("up to N") and timeframe, adding nothing about acceptable timeframe syntax or how the prefer categories interact with the penalty rules. 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?

States a specific verb and resource: returns ranked program recommendations for a given timeframe. The scoring model described (films/documentaries/generalist channels, news penalised, imminent-start boost) makes clear this is a curated ranking tool, distinguishable from mood-based or couple-based siblings like tv_recommend_by_mood and tv_find_for_couple.

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?

Gives concrete usage phrasing in two languages ("recommend me something for tonight", "ce e bun la TV diseară"), which anchors the intended intent. It stops short of naming when NOT to use it or pointing at the alternative siblings (tv_recommend_by_mood, tv_important_today, tv_tonight_card), so there is no explicit exclusion guidance.

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