Skip to main content
Glama

Paperjoy

Preview Postcard

preview-postcard-tool
Read-only

Render a postcard as the customer will receive it: a PNG of the handwritten card, a PNG of the addressed envelope once the address, recipient, and font are set, and a summary that says whether a draft is ready to send and what still needs fixing (missing fields, text that does not fit on the card, an address that does not fit on the envelope). Free; works for drafts and sent postcards.

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": {
      "id": "<id>"
    },
    "name": "preview-postcard-tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe postcard ID, for example pc_abc123.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and closed-world scope, so safety is covered. The description adds value beyond them: the conditional behavior that the envelope PNG appears only after address, recipient, and font are set, plus the diagnostic categories surfaced (missing fields, overflowing text, oversized address) and the fact that rendering is free. It does not say how the resulting images are returned or whether they expire.

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?

A single front-loaded sentence leads with the core action and then enumerates outputs and diagnostics in a compact parenthetical. Dense but every clause carries information; the parenthetical list is the only mildly heavy element.

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?

With no output schema, the description takes on the burden of explaining returns and does so well: two PNGs, a readiness summary, and the specific failure modes reported. For a one-parameter read-only render tool this is nearly complete; only transport details of the images (URL vs. inline, lifetime) are unstated.

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 coverage is 100% and the single id parameter is documented with an example (pc_abc123), so the schema carries the parameter semantics. The description adds no further detail about the identifier or what happens with an invalid/nonexistent id; baseline 3 applies.

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?

"Render a postcard as the customer will receive it" gives a concrete verb and resource, and the enumerated artifacts (handwritten-card PNG, addressed-envelope PNG, readiness summary) make the tool's role distinct from data-returning siblings like get-postcard-tool. It stops short of naming an alternative sibling explicitly, so it lands at 4 rather than 5.

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?

"Free; works for drafts and sent postcards" tells the agent this is a zero-cost, non-mutating render usable in any postcard state, which is real usage context. It does not state when not to use it or route to an alternative (e.g., fetching raw postcard data), so no exclusions are covered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources