Skip to main content
Glama
esaio

esa MCP Server

Official
by esaio

Prepend content to an existing esa post

esa_prepend_post
Destructive

Prepend Markdown content to the start of an existing esa post's body without fetching it first, saving as a new revision and optionally updating WIP status.

Instructions

Prepends Markdown content to the beginning of an existing post's body, saving it as a new revision. Unlike esa_update_post, this does not require fetching the current body first. Behaves the same as esa_append_post except content is inserted at the start of the body. Optionally set wip to change the WIP state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wipNoWIP state after the insert. Defaults to the post's current WIP state
contentYesThe Markdown content to insert. Use 4 spaces for indentation. Line endings are normalized to LF. Include a blank line at the boundary to insert it as a separate block.
messageNoChange message. Defaults to "Updated via API." when omitted
teamNameNoTeam name (required). Use esa_get_teams first to see available teams.
postNumberYesThe post number to add content to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true; the description usefully qualifies that by saying changes are stored as a new revision, which tells the agent the prior body is recoverable. It also notes wip is optional and otherwise inherited from the post's current state. No permission or rate-limit context, so not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences with the core action front-loaded, followed by the two sibling differentiations and the wip note. No filler or repetition.

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 5-parameter mutation with full schema coverage and no output schema, the description covers action, revision semantics, sibling routing, and the optional wip change. Missing only edge behavior such as how postNumber/teamName interact or failure modes, which keeps it from a 5.

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 the baseline is 3. The description only reiterates the optional wip parameter, adding no syntax, formatting, or boundary detail beyond what the schema already documents.

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?

States a specific verb (prepend) and resource (existing post body) plus the effect (saved as a new revision). It explicitly differentiates from the two closest siblings, esa_update_post and esa_append_post, so an agent can place it without opening a schema.

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

Usage Guidelines4/5

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

Names the alternatives and the condition that selects this one over esa_update_post ('does not require fetching the current body first') and over esa_append_post (inserted at start). There is no explicit when-not guidance (e.g. when to prefer append/update anyway), so it falls short of a full 5.

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