Skip to main content
Glama

Agendar publicação

agendar_post

Schedules any Instagram post type (carousel, image, Reels, or Story) for a set Brasília date and time from a Drive or local folder, using the folder's caption when none is given.

Instructions

Atalho: agenda qualquer tipo de post. Equivale a publicar_ com quando.

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": {
      "tipo": "<tipo>",
      "origem": "<origem>",
      "quando": "<quando>"
    },
    "name": "agendar_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
tipoYes
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.
quandoYesData e hora de Brasília, ex: 2026-11-05T18:00
legendaNoLegenda. Se omitida, usa o legenda.txt da pasta.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses little beyond that this delegates to publicar_<tipo>. It does not say whether the post goes live immediately or is queued, whether the call is irreversible, what permissions are needed, or what the response contains — all material for a publish/schedule mutation.

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?

Two compact clauses with the 'Atalho:' label front-loaded, so the key framing arrives first and there is no filler. It is arguably under-specified rather than verbose, but on pure structure and economy it is tight.

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

Completeness2/5

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

For a 5-parameter mutation tool with no annotations and no output schema, the description leaves significant gaps: it does not confirm the scheduling semantics implied by the title, does not mention that Drive source folders are deleted after publishing (only the schema hints at this), and says nothing about the result. The schema compensates partially, but the description alone is thin for this complexity.

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 80%, so the schema already documents tipo, origem, musica, quando, and legenda in detail. The description only echoes the `quando` parameter, adding no syntax, defaults, or constraints beyond what the structured fields already say; baseline 3 applies when the schema does the heavy lifting.

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 gives a specific verb+resource ('agenda qualquer tipo de post') and explicitly positions the tool as a generic shortcut equivalent to the publicar_<tipo> family, which lets an agent differentiate it from the type-specific siblings like publicar_reels or publicar_carrossel. The placeholder syntax `publicar_<tipo>` is slightly cryptic but decipherable from the enum in the schema.

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?

The 'Equivale a publicar_<tipo> com `quando`' clause implies the two are interchangeable and that this tool covers all post types, which is useful routing context. However, it never states when an agent should prefer this shortcut over the concrete publicar_* tools, nor does it distinguish scheduling from immediate publishing beyond the word 'agenda'.

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