Skip to main content
Glama

Write a postcard

hip_set_postcard
Idempotent

Needs a job_handle from hip_create_job (a new job, no documents) and choices from hip_get_catalog. Write a postcard on a job from hip_create_job: its size, its front (a front from hip_get_catalog), the message on the back in a handwriting-style font, and the name it is signed with. Have It Printed checks that the message fits the card and follows the card guidelines, and returns the price and preview pictures of both sides. This only edits the job's draft before checkout: calling it again updates this draft (the previous draft text is not kept), the person sees and approves the card before paying, and nothing is printed, mailed or charged until the person pays on haveitprinted.com. Postcards are printed in full color and mailed First-Class with no tracking. Never put a mailing address on the card or in this call: the person enters it at checkout. Then call hip_create_checkout: the person pays on haveitprinted.com.

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": {
      "job_handle": "<job_handle>",
      "size": "<size>",
      "front": "<front>",
      "message": "<message>"
    },
    "name": "hip_set_postcard"
  }
}

Input Schema

NameRequiredDescriptionDefault
fontNoa font from hip_get_catalog (default: the first)
sizeYesthe card's size in inches
frontYesa front id from hip_get_catalog (design:..., or card:... when listed)
messageYesthe message on the back, as it should read
job_handleYesthe job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it.
sender_nameNothe name the card is signed with
front_fieldsNoonly for a front design that lists fields: the words it shows

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / job_handle / description
      Added value: +"the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it."
    • addedInput schema / properties / job_handle / examples
      Added value: +[
      +  "job_0123456789abcdef0123456789abcdef"
      +]
    • addedInput schema / properties / job_handle / pattern
      Added value: +"^job_[0-9a-f]{32}$"
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations: it discloses that re-calling replaces the draft and prior draft text is lost, that validation happens server-side (message fit and card guidelines), that nothing is printed, mailed, or charged until payment, and that postcards ship in full color, First-Class, untracked. These are real behavioral consequences an agent could not infer from readOnlyHint=false/idempotentHint=true.

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?

Front-loaded with prerequisites and otherwise dense with useful constraints. It loses a point for some repetition around payment and the draft-approval flow, which appears in slightly different words across the last sentences.

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

Completeness5/5

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

For a 7-parameter mutation with a nested object and an output schema, everything an agent needs to call it correctly (prerequisites, ordering with checkout, prohibited input, overwrite semantics) is present. Return values are already covered by the output schema, so no gap remains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description adds meaning by tying font to a handwriting-style choice from hip_get_catalog and pinning front and message to catalog-sourced values. It does not explain front_fields (the nested, design-specific object), which is the one parameter left to the schema alone.

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 ('Write a postcard on a job') and enumerates exactly what it sets: size, front, back message, and signature name. It is clearly separable from hip_set_letter and from the surrounding catalog/job/checkout siblings.

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

Usage Guidelines5/5

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

Explicit prerequisites ('Needs a job_handle from hip_create_job ... and choices from hip_get_catalog'), an explicit next step ('Then call hip_create_checkout'), and an explicit exclusion ('Never put a mailing address on the card or in this call'). The agent has no routing ambiguity left.

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