Skip to main content
Glama

Publish a post to a connected channel

gtm_publish_content

Publish one GTM content item to a connected social platform.

Input Schema

NameRequiredDescriptionDefault
pageIdNoOptional LinkedIn/Facebook page target id
igUserIdNoOptional Instagram user id target
platformNoOptional platform override: x|linkedin|facebook|instagram|tiktok
contentIdYesGTM content id to publish
_confirmedNoSet to true only after the user has explicitly approved this exact write or credit-spending action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / _confirmed
      Added value: +{
      +  "default": false,
      +  "description": "Set to true only after the user has explicitly approved this exact write or credit-spending action.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the safety profile is covered. The description adds nothing beyond restating the purpose: it doesn't say posts go live irreversibly, that publishing may consume credits, or what happens when a target id is omitted.

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?

A single front-loaded sentence with no filler. It is efficient, though the brevity is a symptom of under-specification rather than disciplined editing.

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, non-idempotent, open-world write action with no output schema and a user-approval gate, the description omits outcome expectations, failure modes, and the confirmation requirement. An agent cannot tell from the description alone what a successful publish implies.

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 description coverage is 100%, so every parameter including contentId, platform override, and page/IG targets is documented in the schema. The description adds no meaning beyond that baseline, which is acceptable but not additive.

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?

States a specific verb and resource: publish one GTM content item to a connected social platform. This distinguishes it from siblings like gtm_generate_content and gtm_list_content, which create and enumerate rather than publish.

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?

No guidance on when to use this versus alternatives, no prerequisites such as needing an already-connected channel, and no mention of the confirmation gate required by _confirmed. The agent must infer everything from the schema.

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