Skip to main content
Glama

NFC Tap Builder by Tap.Giving

Create an order

create_order
Idempotent

The final step of the order path, labeled "Email me my invoice and design proof." It sets up an order through the same front door a website order takes (an INVREQ record the hourly adoption resolves into the CRM, indistinguishable downstream). This is the lock-in write behind both recap exits; it carries the recapRef and a required idempotencyKey (a retry with the same key and payload returns the original orderRef; the same key with a different payload is a conflict naming the differing fields). The 100-disc minimum is enforced here. Sizes other than the two built-ins return manual_exception. It returns the orderRef (the reference every later call uses), the exact quote, the chosen exit, and the next step. Failure modes: a recap whose inputs differ from the order is refused as a conflict naming the differing fields; a reused idempotencyKey with a different payload is a conflict naming the original order. The order's inputs are the same inputs get_recap validated for its recap (start_order_intent is the earlier contact capture); the recapRef binds the order to that recap. Placing the order records it, emails the full order to the Tap.Giving team, creates the invoice at the quoted total, and emails the invoice and the design proof to the contact; the response carries each step's outcome, the settled confirmation text, and the order's status reference. Your reference is in your invoice email; if you cannot find it, email hello@tap.giving from the order email and the team re-sends it. A replay with the same idempotencyKey re-attempts only the steps that did not complete. Design approval stays human: a person approves the final proof by email before production. No tool on this server records or implies an approval. Payment stays human: This server moves no money itself: when an order is placed, Tap.Giving emails the invoice and the design proof, and a person pays the hosted invoice. A person pays the invoice when it arrives.

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": {
      "contactName": "<contactName>",
      "contactEmail": "<contactEmail>",
      "contactPhone": "<contactPhone>",
      "quantity": "<quantity>",
      "size": "<size>",
      "mounting": "<mounting>",
      "shipTo": "<shipTo>",
      "recapRef": "<recapRef>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "create_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
exitNoThe person's chosen exit, recorded on the order. Both exits write the same record shape.
noteNoOptional free-text note carried on the order for the team.
sizeYes100mm-round or 100mm-square; anything else is a manual exception handled by hand through the Tap.Giving team.
shipToYesThe shipping address for the finished discs; every field is required.
mountingYesHow the discs mount: adhesive backing, or pre-drilled screw holes plus adhesive.
quantityYesDiscs in the order, 100 to 7000.
recapRefYesThe reference get_recap returned for these same inputs; the order is refused if its inputs differ from that recap.
artworkRefNoThe artwork reference submit_artwork returned for this order's design.
contactNameYesThe contact person's name for the order.
contactEmailYesThe order contact email; the final proof is emailed there, so it must be an address the organization owns.
contactPhoneYesA phone number that reaches the contact.
antiMetalCountNoHow many discs sit on metal surfaces and need the $1 shielding layer. Omit when unknown.
idempotencyKeyYes8 to 128 characters, minted per intended order, reused on retries.
linkDestinationNoAny http or https URL; optional, changeable anytime; the Redirect Dashboard is the default.
organizationNameNoOrganization name for the order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly=false, idempotent=true, destructive=false) by describing side effects (records the order, emails the team, creates the invoice, emails invoice and proof), replay semantics (same key+payload returns the original orderRef; same key+different payload is a conflict; replay re-attempts only incomplete steps), and the human-in-the-loop boundaries for approval and payment. The annotations are consistent with, and enriched by, this text.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the key framing, but length is inflated by repetition: the conflict-on-differing-payload rule is stated twice, and the payment point is restated ('Payment stays human...' then 'A person pays the invoice when it arrives'). The closing invoice-reference/help-email aside is tangential to invoking the tool and could be dropped.

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 15-parameter, nested-object write with no output schema, the description covers the return payload (orderRef, exact quote, chosen exit, next step, per-step outcomes, status reference), the failure modes, and the human approval/payment boundaries. Nothing material for a correct first call is missing.

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 real meaning for the two most failure-prone parameters — recapRef's binding/conflict behavior and idempotencyKey's retry and conflict semantics — which the schema text alone does not convey. It does little for the remaining parameters (shipTo, mounting, antiMetalCount), which are left to the schema.

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 ('sets up an order') and pins its place in a multi-step flow ('the final step of the order path'), distinguishing it from start_order_intent (earlier contact capture) and get_recap (validation of the same inputs). An agent can identify the operation and its position in the sequence without opening the 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?

Explicit prerequisites: a recapRef from get_recap for the same inputs is required and the order is refused if inputs diverge, and start_order_intent is named as the earlier step. Exclusion conditions are stated too — sizes other than the two built-ins return manual_exception, and the 100-disc minimum is enforced here.

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.