Skip to main content
Glama

TV guide channels

list_programacao
Read-onlyIdempotent

Channels with a collected TV guide, up to 48 per page.

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": "list_programacao"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoSearch in the channel name across the whole collection and, on the first page, in the names of the shows of today and the next 7 days (`programas`, with the next showings); when no show has every word, the words that appear together in a show name count. Up to 80 characters.
paisNoTwo-letter country code of the channel (br, us); use `paises`.
depoisNoExclusive ID of the last row; use `proximo`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / q / description
      Previous value: -"Search in the channel name across the whole collection, up to 80 characters."New value: +"Search in the channel name across the whole collection and, on the first page, in the names of the shows of today and the next 7 days (`programas`, with the next showings); when no show has every word, the words that appear together in a show name count. Up to 80 characters."
  2. Changed1 schema field changed
    • addedInput schema / properties / pais
      Added value: +{
      +  "description": "Two-letter country code of the channel (br, us); use `paises`.",
      +  "pattern": "^[A-Za-z]{2}$",
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / depois / description
      Previous value: -"ID exclusivo da última linha; use proximo."New value: +"Exclusive ID of the last row; use `proximo`."
    • changedInput schema / properties / q / description
      Previous value: -"Busca no nome do canal em todo o acervo; até 80 caracteres."New value: +"Search in the channel name across the whole collection, up to 80 characters."
  4. Changed1 schema field changed
    • addedInput schema / properties / q
      Added value: +{
      +  "description": "Busca no nome do canal em todo o acervo; até 80 caracteres.",
      +  "maxLength": 80,
      +  "type": "string"
      +}
  5. Added

TDQS

C2.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description's one addition is the "up to 48 per page" page-size constraint, which is genuinely useful, but it says nothing about ordering, how the cursor chain terminates, or the scope constraint that only channels with a collected guide are returned.

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?

A single short sentence with no filler, and the most useful constraint (the 48-per-page cap) is placed where the reader will see it. It is efficient, though its terseness edges toward under-specification rather than optimal density.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple, fully optional 3-parameter list tool with no output schema, the description is minimally adequate: the schema covers all inputs and the annotations cover safety. What is missing is any routing guidance against the large sibling set and any note on result ordering, which leaves an agent to guess how this differs from search_channels.

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 q (full-text over channel names and today's plus 7 days' show names), pais (two-letter code), and depois (exclusive cursor ID). The description adds no syntax, defaults, or interpretation beyond that, which is the expected baseline when the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The phrase "Channels with a collected TV guide" identifies the resource and an implicit listing action, and the 48-per-page note hints at pagination, but the description never supplies a verb and does not distinguish this tool from the sibling search_channels or list_countries. An agent can guess this lists filterable channels, but has to infer it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool versus alternatives such as search_channels, get_channel_guide, or get_programacao, and no mention of pagination flow even though the schema exposes a cursor parameter. The only implied guidance is the per-page cap, which is a behavior note rather than a usage rule.

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.