Skip to main content
Glama
thenavidm
by thenavidm

Get post template

get_post_template
Read-onlyIdempotent

Retrieve a Beehiiv post template by publication and template ID to inspect its structure or render HTML for free/premium web, email, and RSS outputs.

Instructions

Get post template. Reads account data. OAuth integrations require posts:read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expandNoOptionally expand the result by adding the rendered HTML of the template. `free_web_content` - Adds the web HTML rendered to a free reader. `free_email_content` - Adds the email HTML rendered to a free reader. `free_rss_content` - Adds the RSS feed HTML. `premium_web_content` - Adds the web HTML rendered to a premium reader. `premium_email_content` - Adds the email HTML rendered to a premium reader.
accountNoNamed private account from BEEHIIV_ACCOUNTS. Defaults to BEEHIIV_DEFAULT_ACCOUNT or the first configured account.
publication_idYesThe prefixed ID of the publication object
post_template_idYesThe prefixed ID of the post template object

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds one genuinely useful operational fact — 'OAuth integrations require posts:read' — but 'Reads account data' is vague filler and nothing is said about what the returned template contains.

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?

Three short sentences with the purpose front-loaded and no rambling. 'Reads account data' is the only sentence that does not clearly earn its place, but the overall shape is tight.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple getter with full schema coverage and read-only annotations, most of what an agent needs is present. It stops short of stating what the call returns or how the expand options affect output, which matters since there is no output schema.

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%: publication_id, post_template_id, expand, and account are all documented with patterns and enum-option explanations in the schema. The description adds no parameter meaning, which is the expected baseline when the schema does the heavy lifting.

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+resource ('Get post template'), so the agent knows it retrieves a single template object. However, it does nothing to distinguish itself from the close siblings list_post_templates and post_templates_workspace_show, which also read templates.

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 when-to-use guidance, no prerequisites, and no mention of the sibling list/show tools that would let an agent pick the right one. Only an implicit cue ('Reads account data') hints at its read role.

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