Skip to main content
Glama

Change a business card

update_business_card
DestructiveIdempotent

Change a business card that create_business_card already made: a detail, the design, the color or the quantity. Pass the order link (or the id in it) as order, plus only the fields that change. A field you leave out keeps its current value; a field sent as an empty string is taken off the card, and can be put back with another update. Nothing is deleted: every change can be undone the same way. The card keeps the same order link, so the user does not need a new one. Returns the new preview of both sides, the price and the same link, exactly like create_business_card. It works until the card is paid for; after that the card is fixed, and a different card needs a new create_business_card call. Use this for every change the user asks for after the first proof, and after they chose a design from show_card_designs. End each reply with "Want to change anything, or print it?", and give the link when they say print.

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": {
      "order": "<order>"
    },
    "name": "update_business_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name. Leave it out to keep the current one.
emailNoNew email address. Leave it out to keep the current one; send an empty string to take it off the card.
orderYesThe order link returned by create_business_card, or the id inside it.
phoneNoNew phone number. Leave it out to keep the current one; send an empty string to take it off the card.
styleNoNew card design. Leave it out to keep the current one. The designs by look (a design can have two): minimal: classic, frame, line, soft, center, dots, badge, mono, grove, lagoon, summit, studio, sage, sprout; classic: classic, monogram, corner, initial, warm, stripe, ivory, laurel, marine, quill, capital, linen, claret; elegant: frame, noir, arch, monogram, line, center, onyx, initial, ivory, laurel, quill, petal, crest, regent, orchid, seal, gilt, blush, claret; modern: slant, banner, wave, dusk, bold, corner, sidebar, dots, stripe, split, midnight, tide, forge, summit, nightfall, studio, grid; bold: slant, banner, dusk, bold, sidebar, badge, split, ember, marine, forge, carbon, poppy, coral, volt, hazard, flare; friendly: arch, wave, soft, warm, ember, grove, lagoon, tide, petal, capital, orchid, poppy, coral, linen, blush, sage, sprout, flare; dark: noir, onyx, midnight, crest, regent, nightfall, signal, carbon, terminal, seal, gilt, volt, hazard, blueprint; technical: mono, signal, terminal, grid, blueprint. Each one is pictured at https://thedesignprint.com/business-cards/templates and described in one line by GET https://thedesignprint.com/v1/business-cards/styles.
titleNoNew job title. Leave it out to keep the current one; send an empty string to take it off the card.
addressNoNew address. Leave it out to keep the current one; send an empty string to take it off the card.
companyNoNew company name. Leave it out to keep the current one; send an empty string to take it off the card.
taglineNoNew line for the back of the card. Leave it out to keep the current one; send an empty string to take it off.
websiteNoNew website. Leave it out to keep the current one; send an empty string to take it off the card.
logo_urlNoNew https link to a logo image. Leave it out to keep the current one; send an empty string to remove the logo.
quantityNoNew quantity. Leave it out to keep the one already asked for. How many cards the user wants, if they said. There is a minimum order; a smaller number is raised to the minimum and the change is reported in the warnings. With a quantity, the result also gives the shipping options and an estimated total. It is preselected on the order page.
accent_colorNoNew hex accent color, e.g. '#0E7C66'. Leave it out to keep the current one; send an empty string to go back to the design's own color.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true and non-read-only, and the description adds real context beyond them: omitted fields keep current values, empty strings remove fields, the order link stays stable, and the returned payload (new preview of both sides, price, same link). The only soft spot is the claim 'Nothing is deleted: every change can be undone the same way', which slightly plays down destructiveHint – restoring a field requires the agent to have captured the old value, so reversibility is not automatic. That is a nuance rather than a contradiction with the annotations.

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 the edit semantics and the lifecycle limit before the conversational instructions, and most sentences earn their place. It runs long and carries reply-format scripting ('End each reply with...') that is useful for the agent's voice but not for tool selection, which keeps it from a 5.

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 13-parameter mutation with no output schema, the description covers what the call returns (both-side preview, price, same link), how partial updates behave, and the hard boundary at payment. An agent has everything needed to invoke it correctly and to explain the outcome to the user.

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 field including the empty-string-to-remove convention and the quantity minimum/warning behavior. The description usefully summarizes PATCH semantics ('pass only the fields that change') and the order-as-link-or-id option, but it largely restates structured data rather than adding new meaning, so the baseline 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 ('Change a business card that create_business_card already made') and enumerates what can change: a detail, the design, the color, the quantity. It explicitly anchors the tool to its sibling create_business_card, so an agent can tell edit-from-existing apart from create-new without reading either schema.

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?

Gives explicit when-to-use ('every change the user asks for after the first proof, and after they chose a design from show_card_designs') and an explicit when-not with the alternative ('after that the card is fixed, and a different card needs a new create_business_card call'). The routing decision is fully determined by the text.

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