Skip to main content
Glama

Create postcard draft

send_postcard

Use when someone wants a postcard made or sent from a photo. Creates an unpaid draft from one photo, with an optional note and recipient address, and returns a link to it; it never charges money or mails a postcard. The person finishes the note and address and pays on the website: $5 with postage included for a 4×6 card, mailed from the US to 194 countries.

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

Input Schema

NameRequiredDescriptionDefault
noteNoThe note for the back of the card. Up to 350 characters.
photoNoA file reference to an image uploaded or generated in this conversation, with download_url and file_id filled in by the host. Exactly one of photo, photo_base64 or photo_url is required.
challengeNoThe id of a challenge this tool answered with, and the answers to its four questions in the order asked, each a short string. The proof-of-work question takes a few million SHA-256 hashes.
photo_urlNoA public https:// URL of an image that is already online.
recipientNoWhatever is known of the recipient's mailing address; every field is optional. country is an ISO 3166-1 alpha-2 code such as US.
photo_base64NoThe image file's own bytes as base64 or a data: URL. JPEG, PNG, WebP or HEIC, up to about 10 MB.
is_ai_generatedNoTrue when the image is AI-generated. The website then keeps the original and makes an illustrated version only if the person chooses Illustrated.

Output Schema

NameRequiredDescriptionDefault
urlYesThe link the person opens to finish and pay for the postcard. It expires after about a week.
continue_urlYesThe same link as url, for agents that carry checkout on in a browser.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • changedInput schema / properties / challenge / description
      Previous value: -"Only after this tool answered with a challenge: its id, and your answers to its four questions in the order they were asked, each as a short string. Solve the proof-of-work question with a code tool; it needs a few million SHA-256 hashes. Send the rest of the arguments again unchanged."New value: +"The id of a challenge this tool answered with, and the answers to its four questions in the order asked, each a short string. The proof-of-work question takes a few million SHA-256 hashes."
    • changedInput schema / properties / is_ai_generated / description
      Previous value: -"Set true when the supplied image was already AI-generated. The website keeps the original and only generates an illustrated version if the person selects Illustrated."New value: +"True when the image is AI-generated. The website then keeps the original and makes an illustrated version only if the person chooses Illustrated."
    • changedInput schema / properties / note / description
      Previous value: -"The note for the back of the card, if the person told you what to say. Up to 350 characters."New value: +"The note for the back of the card. Up to 350 characters."
    • changedInput schema / properties / photo / description
      Previous value: -"The uploaded photo or image created in this conversation. Use the actual file supplied by ChatGPT."New value: +"A file reference to an image uploaded or generated in this conversation, with download_url and file_id filled in by the host. Exactly one of photo, photo_base64 or photo_url is required."
    • changedInput schema / properties / photo_base64 / description
      Previous value: -"For clients without native file transfer: the photo file's own bytes as base64 or a data: URL, read and encoded with a file or code tool. JPEG, PNG, WebP or HEIC, up to about 10 MB. Never invent base64 from memory or from looking at an image."New value: +"The image file's own bytes as base64 or a data: URL. JPEG, PNG, WebP or HEIC, up to about 10 MB."
    • changedInput schema / properties / photo_url / description
      Previous value: -"A public https:// URL of the photo. Use this only when the photo is already online and you don't have the file."New value: +"A public https:// URL of an image that is already online."
    • changedInput schema / properties / recipient / description
      Previous value: -"Whatever you know of the recipient's mailing address. The person completes and checks it before paying."New value: +"Whatever is known of the recipient's mailing address; every field is optional. country is an ISO 3166-1 alpha-2 code such as US."
    • changedOutput schema / properties / continue_url / description
      Previous value: -"The same link, named for agents that carry checkout on in a browser, such as ChatGPT's. Payment, including ChatGPT Wallet, happens on that page."New value: +"The same link as url, for agents that carry checkout on in a browser."
    • changedOutput schema / properties / url / description
      Previous value: -"The link the person opens to finish and pay for the postcard."New value: +"The link the person opens to finish and pay for the postcard. It expires after about a week."
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Adds a lot beyond the annotations: it discloses that the output is an unpaid draft, that no money is charged and nothing is mailed, and that the person completes the note, address and $5 payment on the website. Annotations already cover readOnlyHint/destructiveHint, so this context is genuine added value; the one uncovered risk is that idempotentHint=false is not surfaced (repeated calls may create duplicate drafts).

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 tight sentences, front-loaded with the trigger and the draft-not-purchase distinction, with no filler. The pricing and 194-country detail is wordy but does give the agent facts it may need to relay to the user.

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?

An output schema exists, so return values need no explanation, and the description covers the key behavioral facts (draft, unpaid, one photo, optional note/address). It is a bit thin for a 7-parameter tool with nested objects: the challenge/proof-of-work parameter and the non-idempotent behavior are not mentioned in the description.

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 schema already documents every parameter including the photo/photo_base64/photo_url exclusivity and the challenge object. The description only echoes the high-level shape ('one photo', 'optional note and recipient address') and adds no new semantics, so the baseline 3 applies.

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 and resource plus scope: 'Creates an unpaid draft from one photo, with an optional note and recipient address, and returns a link to it.' That distinguishes it from a viewing sibling like show_postcard without naming it, and the trigger 'wants a postcard made or sent from a photo' pins the intent.

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?

Opens with an explicit 'Use when...' condition tied to user intent, which is exactly the selection cue an agent needs. There is no explicit when-not or named alternative (e.g., pointing at show_postcard to view an existing draft), so it falls just short of full routing guidance.

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.