Skip to main content
Glama

Publicar ou agendar Story

publicar_story

Publish an image or video to Instagram Stories from a local or Google Drive path and optionally schedule it for a future Brasília date and time.

Instructions

Uma imagem ou vídeo nos Stories (ideal 1080x1920). A API não permite stickers, links nem enquetes. 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_story"
  }
}

Input Schema

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

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, the description carries the full load and does add real value by disclosing API limitations (no stickers, links or polls) and the publishing-now vs scheduling split. It still omits what happens on failure, whether the post can be edited or removed afterwards, and that the source Drive folder is deleted after upload (that fact lives only in the schema).

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 short sentences, front-loaded with the media constraint and the closest thing to a usage rule. No filler, though the scheduling sentence duplicates the schema field description.

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?

For a two-parameter mutation tool with no output schema, the definition covers media type, recommended dimensions, platform limitations and the scheduling switch. Only error/permission behavior and post-publication reversibility are unaddressed, which is a modest gap at 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 100% and both parameters are already richly documented there, so the baseline of 3 applies. The description reiterates the `quando` scheduling rule but adds no new syntax or format detail beyond what the schema states.

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 names the concrete action and resource: an image or video published to Stories, with the recommended format 1080x1920. The resource is clearly differentiated from reels or carousel posts by the word 'Stories', though no sibling is named explicitly.

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?

It gives one clear rule of thumb – supply `quando` to schedule, omit it to publish now – but never states when to prefer this over publicar_reels, publicar_imagem or agendar_post, nor any prerequisites (account type, permissions). Usage is implied rather than spelled out.

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