Skip to main content
Glama

Republish a blog post on Hashnode

post_to_hashnode

Republish a blog post to a Hashnode publication with its canonical URL set to the original article, so search engines credit the brand's own page.

Instructions

Republish a blog post on the brand's Hashnode blog with its CANONICAL URL (Hashnode's original article URL) pointing at the original, so search engines credit the brand's own page. Free, no credits. Give EITHER sourceUrl (Hermoso reads the page, turns the article into Markdown with its images, and uses the page's own canonical URL) OR title + text in Markdown. A line linking back to the original is added unless footer:false. A post whose canonical URL is already on the publication is refused, never posted twice (allowDuplicate:true overrides). Hashnode's API works only for a publication on Hashnode's Pro plan; a free publication is refused with that reason. Not connected: Connectors > Hashnode, or connect_connector with provider hashnode (token).

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": "post_to_hashnode"
  }
}

Input Schema

NameRequiredDescriptionDefault
hookNothe post's angle — a list_hooks id or your own wording, reused exactly
tagsNotags; read off the title when omitted
textNothe body in Markdown (taken from the page when sourceUrl is given)
brandNoWHICH PROFILE this post belongs to, for THIS CALL ONLY (beats the connection’s pin): an id or exact name from list_brands. A name that matches no profile, or two, is REFUSED and nothing is posted.
titleNothe title (taken from the page when sourceUrl is given)
footerNofalse leaves out the “Originally published at …” line
ideaIdNoshort id of the content-plan idea this post came from
recipeNothe post's FORMAT id, e.g. "slideshow" or "imessage_chat" — post_performance groups by it, so reuse one id per format
subjectNowhat the post is about
sourceUrlNothe original post to republish: its article, images and canonical URL are read from the page
descriptionNothe summary / subtitle
canonicalUrlNothe original post’s address; defaults to the page’s own canonical URL
coverImageUrlNothe cover image; defaults to the page’s share image
allowDuplicateNopost it even though an identical post was just made
idempotencyKeyNoany stable string: a repeat within 24h returns the original post instead of posting again

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.688

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that a backlink line is appended unless footer:false, that duplicates are refused rather than posted twice, that the API only works on Hashnode Pro, and that idempotencyKey makes a 24h repeat return the original post. Minor tension: idempotentHint is false while the description describes conditional idempotency, though that is defensible since it only applies when a key is supplied. No mention of credit consumption beyond 'Free, no credits' or of failure modes beyond the two refusals.

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?

Front-loaded with purpose and the canonical-URL payoff, then the input rule, then the refusals and prerequisites. Dense and every sentence carries information, though the middle paragraph packs multiple distinct rules into one long stretch without breaks.

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 15-parameter, open-world mutation with no output schema, the definition covers the important preconditions an agent would otherwise get wrong: plan requirement, connection requirement, duplicate handling, and backlink behavior. It does not say what a successful response contains (post URL, id), which is the main remaining gap.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning the schema cannot: the exclusivity between sourceUrl and title+text, and that sourceUrl causes the page's own canonical URL and images to be read. That resolves the most consequential ambiguity among the 15 parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource: 'Republish a blog post on the brand's Hashnode blog', and immediately names the distinguishing mechanic (canonical URL pointing at the original). An agent can tell this apart from post_to_devto/post_to_wordpress by the canonical-URL rationale alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit either/or input rule: 'Give EITHER sourceUrl ... OR title + text in Markdown.' It also states when the call will be refused (duplicate canonical URL, free publication) and the override (allowDuplicate:true), plus the prerequisite path (Connectors > Hashnode or connect_connector with provider hashnode).

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

Deploy Server

Other Tools