Skip to main content
Glama

publish_post

Create or publish a public or unlisted Medium post through the official API, with options for tags, canonical URL, license, and publication targeting; requires confirm=true to execute.

Instructions

Create/publish public or unlisted Medium post via official API (requires confirm=true).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "publish_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
titleNo
confirmNo
contentNo
licenseNo
canonical_urlNo
prepared_postNo
content_formatNo
publication_idNo
publish_statusNopublic
idempotency_keyNo
notify_followersNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/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 behavioral burden. It usefully flags the confirm=true safety gate and the public/unlisted visibility outcome, but says nothing about irreversibility of publishing, permission requirements, whether a draft is consumed, rate limits, or the default of publish_status='public'.

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?

It is a single front-loaded sentence with no filler, and the confirm requirement is placed where it is read. Its brevity is close to under-specification for a 12-parameter publishing tool, but nothing in the sentence is wasted.

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?

An output schema exists, so return values need not be explained, but for a 12-parameter, zero-annotation mutation tool the description is far too thin. It omits the draft-versus-direct-publish path, per-parameter meaning, and any behavioral caveats an agent needs before firing a publish.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 12 parameters and none are required, yet the description only speaks to confirm and superficially to visibility. Key inputs such as content, title, tags, prepared_post, publication_id, idempotency_key, canonical_url, license, and notify_followers are left entirely without meaning, so an agent gets almost no help choosing or populating them.

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 states a specific verb and resource ('Create/publish ... Medium post') and scopes visibility ('public or unlisted'). It never names or distinguishes itself from close siblings such as create_draft or prepare_post, so an agent cannot tell from the text alone which one to reach for.

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 usage signal is the parenthetical '(requires confirm=true)', which is a calling prerequisite rather than routing guidance. There is no statement of when to prefer this over create_draft, prepare_post, or export_post_bundle, and no mention of preconditions like authentication or a prepared draft.

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