Skip to main content
Glama

Publicar ou agendar Reels

publicar_reels

Publish or schedule Instagram Reels from an MP4/MOV video, with optional cover image and caption. Set a date to schedule or omit it to post immediately.

Instructions

Um vídeo .mp4/.mov (H.264, 9:16, 3 s a 15 min). Numa pasta, um arquivo capa.jpg vira a capa. Informe quando para agendar.

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": {
      "origem": "<origem>"
    },
    "name": "publicar_reels"
  }
}

Input Schema

NameRequiredDescriptionDefault
capaNoCaminho de uma imagem de capa (opcional)
musicaNoMúsica que o usuário vai adicionar pelo app depois de publicar (a API não coloca música). Vira lembrete no painel e no Google Agenda.
origemYesNome de uma pasta de post (procurada na pasta do Google Drive, se DRIVE_DIR estiver no .env, e em posts/; ex: "evolução de obra" acha "Carrossel - Evolucao de Obra"), ou caminho completo de uma pasta ou arquivo. Pastas do Drive são apagadas sozinhas depois que o post sobe.
quandoNoPara agendar: data e hora de Brasília, ex: 2026-11-05T18:00. Omita para publicar agora.
legendaNoLegenda. Se omitida, usa o legenda.txt da pasta.
no_feedNoTambém aparecer na grade do perfil (padrão: sim)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It does add real behavioral detail the schema does not: the accepted codec/aspect/duration envelope and the convention that a capa.jpg inside the folder automatically becomes the cover. It says nothing about what happens on validation failure, what the call returns (no output schema exists), or that Drive source folders are consumed.

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?

Three short, dense sentences with no filler; the format constraints come first and the scheduling trigger last. The telegraphic, verbless style trims a few characters at the cost of readability, but nothing is redundant.

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 6-parameter publishing tool with no annotations and no output schema, the definition covers input constraints, cover convention, and scheduling, but leaves the return value, account targeting, and failure behavior unexplained. Those gaps matter because publishing is an irreversible side-effecting operation.

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 already 100%, so the baseline is 3, but the description adds cross-parameter meaning: it explains that cover resolution happens by placing capa.jpg in the folder, which is more than the `capa` field's 'Caminho de uma imagem de capa' and clarifies how `origem` and `capa` interact. The `quando` scheduling hint is also restated at the description level.

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 description identifies the resource precisely through its media constraints — a .mp4/.mov, H.264, 9:16, 3 s to 15 min video — plus a cover image and optional scheduling, which clearly signals publishing a Reel rather than a carousel, image, or story. It never states an explicit action verb ('publishes'), so the operation is inferred from the input spec rather than asserted. No sibling is named or excluded.

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

Usage Guidelines3/5

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

'Informe `quando` para agendar' gives a concrete publish-now-vs-schedule rule, which is genuine when-to guidance. However, there is no routing help across the crowded publishing siblings (publicar_carrossel, publicar_imagem, publicar_story) and no stated preconditions or exclusions, so an agent must infer from the video format alone that this is the right tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.