Skip to main content
Glama

Export a post image

render_post

Exports a Penpot board as a PNG into the brand kit’s output folder and reports the file size, so social post images are saved and verified.

Instructions

Exports a Penpot board to PNG in the brand kit's output folder and reports its size.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "shape_id": "<shape_id>",
      "file_name": "<file_name>"
    },
    "name": "render_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoshape
shape_idYesBoard id
file_nameYese.g. 01_2026-03-02_coffee_did-you-know.png

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does usefully disclose the side effect of writing into the brand kit's output folder and that the result reports its size, but it says nothing about overwriting existing files, required permissions, or what happens if the board id does not exist.

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?

A single sentence with zero filler, front-loading the action and destination. Nothing is redundant given the tool's simplicity.

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?

No annotations, no output schema, and an unexplained enum parameter mean the description should do more than one sentence. It omits the semantics of 'mode', overwrite behavior, and the exact shape of the reported size, leaving real gaps for a file-producing mutation tool.

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 coverage is 67%, and the description adds no parameter meaning at all. The 'mode' enum (shape vs fill) is left completely unexplained, and the file_name naming convention is only illustrated inside the schema, so the description does not compensate for the coverage gap.

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 (exports), resource (Penpot board), output format (PNG), and destination (the brand kit's output folder). This is enough to separate it from siblings like penpot_upload_image or render_reel, though it never names those alternatives explicitly.

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?

There is no when-to-use guidance, no prerequisites, and no stated exclusions relative to render_reel or penpot_upload_image. The agent must infer that this tool is for post images rather than reels purely from the name and the word 'board'.

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