Skip to main content
Glama

NFC Tap Builder by Tap.Giving

Submit artwork

submit_artwork

The finished-artwork intake: it accepts a completed artwork file and returns the design composited on the disc as a proof. The artwork stays the organization's own: print-ready and vendor-neutral, theirs to take to any printer; submitting it obliges no order. Intake is permissive by ruling: a real image is accepted in any format and rejected only on three sanity grounds (malicious or masquerading content, over 5 MB decoded, or not decodable as the type it claims). Production fitness is judged later in the normal proof flow, never here. No email is needed on the cold path. The optional designUrl argument records the destination the design was built for (mid-to-late design phase); the optional chosenExampleRef names the delivered example the design follows, and its reproduction data rides the answer beside the verify-against-example checklist. The file argument carries the artwork file (filename, mediaType, contentBase64); sha256 is the hex SHA-256 of those file bytes; shape optionally names the shape the artwork was designed for; orderRef optionally attaches the submission to an existing order; logo optionally carries the source logo the artwork was built from; note is free text for the team. Each call creates a separate submission: resubmitting the same file mints a new artworkRef rather than replacing the earlier one. It returns the artworkRef every later step carries, a displayUrl, and a preview of the person's own design composited on the disc (cut shape applied) for the renderable formats (SVG, PNG, JPEG, WebP, GIF); for a format this server cannot render here (for example PDF), the answer says so plainly and never promises a preview or an email at this stage. Design approval stays human: a person approves the final proof by email before production. No tool on this server records or implies an approval.

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": {
      "file": "<file>",
      "sha256": "<sha256>"
    },
    "name": "submit_artwork"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesThe artwork file itself: its filename, its media type, and its bytes as base64.
logoNoOptional source logo the artwork was built from; travels with the submission as source material.
noteNoOptional free-text note for the Tap.Giving team, carried with the submission.
shapeNoOptional: the shape the artwork was designed for; the on-disc preview uses its cut. Omit it and the preview shows both shapes.
sha256YesHex SHA-256 of the file bytes.
orderRefNoOptional: attach the submission to an order already created (the orderRef create_order returned).
designUrlNoOptional: the URL the disc should open, entered in the design phase. The design QR code is a labeled mock built from it; production encodes the disc's Redirect Dashboard link to this same destination, and the recap confirms it.
chosenExampleRefNoOptional: the delivered example this design follows (its pick-list number, an example id, or the example's description words); its reproduction data rides the answer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare openWorldHint=false, destructiveHint=false, and idempotentHint=false. The description reinforces these usefully, notably clarifying that "Each call creates a separate submission: resubmitting the same file mints a new artworkRef rather than replacing the earlier one," and details acceptance rules, the 5 MB limit, and that no approval is recorded. It adds real value but repeats much of what annotations already convey about safety and idempotency.

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?

The purpose is front-loaded in the first sentence, but the body is a long, dense wall of text mixing intake rules, return behavior, and approval policy. Sentences earn their place individually, yet the length and lack of structural breaks hurt scannability for an 8-parameter tool.

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 mutation tool with 8 params, nested objects, and no output schema, the description is thorough: it names the return values (artworkRef, displayUrl, on-disc preview), explains fallback behavior for unrenderable formats like PDF, and states the non-idempotent and no-approval guarantees. Nothing essential 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 the schema already documents every parameter thoroughly. The description still adds meaning beyond it, e.g. that designUrl is for the "mid-to-late design phase" and that chosenExampleRef's "reproduction data rides the answer beside the verify-against-example checklist." It is more than a restatement, but not exhaustively additive for every field.

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?

The opening states a specific verb and resource: "the finished-artwork intake: it accepts a completed artwork file and returns the design composited on the disc as a proof." This is clearly distinguished from siblings like create_order and get_artwork_spec by framing it as post-design intake that obliges no order.

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?

It gives strong when/when-not context: submission "obliges no order," "No email is needed on the cold path," and production fitness is "judged later in the normal proof flow, never here." It stops short of naming a specific sibling as the alternative for proof approval, so it lacks the explicit routing of a 5.

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.