Skip to main content
Glama

Publicar ou agendar imagem única

publicar_imagem

Publish an image to an Instagram feed, automatically converting PNG to JPG and optionally scheduling the post by date and time.

Instructions

Uma imagem no feed. PNG vira JPG automaticamente. 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_imagem"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It contributes one genuinely useful behavioral fact — PNG is auto-converted to JPG — but says nothing about the fact that publishing is public and irreversible, what happens on failure, or how scheduling interacts with the existing agendamentos flow.

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?

Three short sentences with no filler, which is good, but the opening is a noun-phrase fragment instead of a leading verb, so the file is not front-loaded with what the tool does. The format-conversion note is placed sensibly after the purpose.

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 four-parameter publishing mutation with no annotations and no output schema, the description is thin: it never says what comes back (post id, permalink, schedule confirmation) or that the resulting post is publicly visible. Much of the operational detail that exists lives in the schema, not in the description.

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 100%, so menu-level meaning for origem, quando, legenda and musica is already documented in the schema. The description repeats the `quando` semantics ('informe para agendar') and adds the PNG/JPG note, which concerns input format rather than any parameter's meaning.

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 body opens with the fragment 'Uma imagem no feed', which names the resource and placement but supplies no verb — the action ('publicar/agendar') only comes from the name and title. It does implicitly distinguish itself from carrossel/reels/story by specifying a single image in the feed, but it never states that distinction explicitly.

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?

The only guidance is 'Informe `quando` para agendar', which is parameter usage rather than tool selection. Nothing says when to prefer this over publicar_carrossel, publicar_reels, publicar_story, or agendar_post, and no prerequisites (connected account, permissions) are given.

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