Skip to main content
Glama

Get API X402 programacao by slug by dia

get_api_x402_programacao_by_slug_by_dia

Seven days of the channel's schedule that end on the requested day, for an agent, paid per call, with no account. Até sete dias coletados do canal numa resposta, sem conta nem passe. programa seleciona por título/categoria sem caixa ou acento; agenda=1 inclui agenda_ics pronta para importar, com horários UTC e eventos únicos. O resumo informa dias consultados e exibições. A agenda é um arquivo, não uma assinatura de atualizações. A leitura diária gratuita conserva os mesmos dados. Canal, dia ou programa ausente e histórico fora do ar não cobram. Com entrega disponível, o pedido sem pagamento recebe 402; o pago recebe o resultado e cobranca.

Input Schema

NameRequiredDescriptionDefault
diaYesLast day of the requested week, YYYY-MM-DD.
slugYesStored slug of the channel, from the collection.
agendaNoInclude agenda_ics with the selected calendar events.
programaNoTitle or category substring. Input and matches are not truncated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / agenda
      Added value: +{
      +  "description": "Include agenda_ics with the selected calendar events.",
      +  "enum": [
      +    "1"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / programa
      Added value: +{
      +  "description": "Title or category substring. Input and matches are not truncated.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

Despite annotations covering mutation flags, the description adds substantial behavior the annotations cannot: per-call billing, the 402 challenge/payment flow, non-billing edge cases, UTC timestamps in the ICS, that agenda_ics is a one-shot file rather than a subscription, and what the response summary summarizes. The readOnlyHint=false annotation is consistent with a call that triggers billing, so nothing is contradicted.

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?

The most valuable facts (seven-day window, paid per call) are front-loaded, but the text repeats itself across two languages ('no account' / 'sem conta nem passe') and runs long for a four-parameter tool. Bilingual duplication costs tokens without adding 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?

With no output schema, the description carries the return-value burden and does it reasonably: it explains the resumo fields, the optional agenda_ics payload, and the payment-or-error outcome. Billing and failure modes are covered; pagination or response size limits are not mentioned, a minor gap for a seven-day aggregate.

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% and already documents dia as the last day of the week, slug, agenda=1, and programa as a title/category substring. The description still adds real meaning beyond the schema: programa matches case- and accent-insensitively, inputs and matches are not truncated, and agenda=1 yields UTC-timed unique events in an importable ICS.

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

Purpose4/5

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

The opening sentence states a specific verb and resource with scope: 'Seven days of the channel's schedule that end on the requested day,' plus the paid-per-call, no-account framing. It implicitly separates this from the sibling get_api_x402_programacao_by_slug (no day window) and the free daily read, but never names either sibling, and the switch to Portuguese mid-description blurs the core statement.

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 gives concrete conditions: use it for agent access paid per call with no account, unpaid requests get 402 once delivery is available, and 'a leitura diária gratuita conserva os mesmos dados' points to the free daily alternative. It also states when the caller is not charged (missing channel, day, or programa; history offline). It stops short of naming which sibling tool is the free path, leaving the agent to map that itself.

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